Function at 0x426a70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x58
mov eax, dword [0x453a10]
push ebx
push ebp
mov ebp, dword [esp + 0x64]
mov ecx, dword [eax + 0xc]
push esi
shr ecx, 5
and ecx, 1
push edi
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x74]
not ecx
shr ecx, 4
and ecx, 1
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x70]
test ecx, ecx
jne 0x426ab5
mov cl, byte [ebp + 0x2c]
mov dword [esp + 0x3c], 1
test cl, 0x10
je 0x426abd
mov dword [esp + 0x3c], 0
mov ebx, dword [ebp + 0x2c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
mov edi, ebx
mov esi, ebx
mov dword [esp + 0x18], ecx
shr edi, 6
shr esi, 5
and edi, 1
and esi, 1
mov ecx, edi
mov dword [esp + 0x14], edx
mov edx, dword [eax + 4]
or ecx, esi
mov dword [esp + 0x40], ecx
mov ecx, dword [eax]
test bl, 3
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edx
je 0x426b2a
test bl, 1
je 0x426b15
fild dword [esp + 0x18]
fmul dword [ebp + 0x30]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x18], eax
test bl, 2
je 0x426b2a
fild dword [esp + 0x14]
fmul dword [ebp + 0x34]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add ecx, eax
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp + 8]
add edx, ecx
test esi, esi
mov dword [esp + 0x14], edx
je 0x426b55
mov eax, dword [esp + 0x18]
cdq
idiv dword [esp + 0x20]
mov dword [esp + 0x18], edx
test edi, edi
je 0x426b66
mov eax, dword [esp + 0x14]
cdq
idiv dword [esp + 0x1c]
mov dword [esp + 0x14], edx
test ebx, 0x20000
je 0x426bc6
mov eax, dword [esp + 0x70]
test eax, eax
jle 0x426bbe
mov ecx, dword [esp + 0x6c]
xor ebp, ebp
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x18]
test edx, edx
jle 0x426bc6
lea ebx, [eax + 0x14]
mov esi, ebx
mov edi, 4
mov eax, dword [esi]
test eax, eax
je 0x426ba9
mov edx, dword [0x4539e4]
push eax
push edx
call fcn.0044b74a
mov dword [esi], 0
add esi, 4
dec edi
jne 0x426b90
mov eax, dword [esp + 0x6c]
inc ebp
add ebx, 0x2c
cmp ebp, dword [eax + 0x14]
jl 0x426b89
jmp 0x426bc6
mov dword [esp + 0x3c], 1
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx + 0x2c]
test eax, 0x20000
je 0x426be0
mov edx, dword [esp + 0x70]
test edx, edx
jne 0x42711f
mov edx, dword [ecx + 0x14]
mov ebx, dword [ecx + 0x18]
not eax
shr eax, 2
and eax, 1
mov dword [esp + 0x50], eax
xor eax, eax
cmp edx, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], eax
jle 0x42711f
mov eax, dword [esp + 0x10]
mov edi, dword [ebx + 4]
mov edx, dword [esp + 0x18]
mov esi, dword [ebx + 8]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x54], eax
lea ebp, [ebx + eax*4 + 0x14]
mov eax, dword [esp + 0x38]
sub edi, edx
sub esi, ecx
test eax, eax
mov dword [esp + 0x30], ebp
jne 0x426c7f
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x426c7f
mov ecx, dword [esp + 0x78]
add ecx, 0x60
cmp edi, ecx
jge 0x426c50
mov edx, dword [esp + 0x7c]
add edx, 0x10
cmp esi, edx
jl 0x426c7f
mov eax, dword [esp + 0x70]
test eax, eax
jle 0x427104
mov eax, dword [ebp]
test eax, eax
je 0x427104
push eax
mov eax, dword [0x4539e4]
push eax
call fcn.0044b74a
mov dword [ebp], 0
jmp 0x427104
mov ax, word [ebx + 0xc]
mov ecx, dword [0x453a0c]
and eax, 0xffff
mov edx, dword [ecx + 0x1c4]
push eax
push 0
push edx
mov dword [esp + 0x30], eax
call fcn.0044c386
test eax, eax
je 0x426cb5
mov ecx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
add ecx, edi
add ebp, esi
mov dword [esp + 0x60], ecx
jmp 0x426cc1
lea eax, [edi + 1]
lea ebp, [esi + 1]
mov dword [esp + 0x60], eax
mov ecx, eax
mov eax, dword [esp + 0x40]
xor edx, edx
cmp eax, edx
mov dword [esp + 0x64], ebp
je case.default.0x426ce0
mov eax, dword [esp + 0x10]
cmp eax, 3
ja case.default.0x426ce0
jmp dword [eax*4 + 0x427128]
cmp dword [esp + 0x48], edx
je 0x426d22
cmp edi, edx
jl 0x426cf7
cmp ecx, dword [esp + 0x20]
jle 0x426d22
cmp dword [esp + 0x44], edx
je 0x426d1b
cmp esi, edx
jl 0x426d07
cmp ebp, dword [esp + 0x1c]
jle 0x426d1b
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], 3
or al, 7
mov dword [esp + 0x74], eax
jmp 0x426d45
mov eax, 1
jmp 0x426d37
cmp dword [esp + 0x44], edx
je 0x426d45
cmp esi, edx
jl 0x426d32
cmp ebp, dword [esp + 0x1c]
jle 0x426d45
mov eax, 2
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x10], eax
or ecx, eax
mov dword [esp + 0x74], ecx
test byte [esp + 0x74], 1
jne 0x426d67
mov eax, dword [ebx + 0x18]
cmp eax, edx
je 0x426d67
mov ecx, dword [0x4539e4]
push eax
push ecx
call fcn.0044b74a
mov dword [ebx + 0x18], 0
test byte [esp + 0x74], 2
jne 0x426d89
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x426d89
mov edx, dword [0x4539e4]
push eax
push edx
call fcn.0044b74a
mov dword [ebx + 0x1c], 0
test byte [esp + 0x74], 4
jne case.default.0x426ce0
mov eax, dword [ebx + 0x20]
test eax, eax
je case.default.0x426ce0
push eax
mov eax, dword [0x4539e4]
push eax
call fcn.0044b74a
mov dword [ebx + 0x20], 0
jmp case.default.0x426ce0
mov eax, dword [esp + 0x20]
cmp edi, edx
jge 0x426dc5
add edi, eax
add ecx, eax
jmp 0x426dcd
cmp ecx, eax
jle 0x426dd1
sub edi, eax
sub ecx, eax
mov dword [esp + 0x60], ecx
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], edx
and al, 0xfe
test al, 2
mov dword [esp + 0x74], eax
je case.default.0x426ce0
jmp 0x426e59
mov eax, dword [esp + 0x1c]
cmp esi, edx
jge 0x426df3
add esi, eax
add ebp, eax
jmp 0x426dfb
cmp ebp, eax
jle 0x426dff
sub esi, eax
sub ebp, eax
mov dword [esp + 0x64], ebp
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], edx
and al, 0xfd
test al, 1
mov dword [esp + 0x74], eax
je case.default.0x426ce0
mov dword [esp + 0x10], 1
jmp case.default.0x426ce0
mov eax, dword [esp + 0x20]
cmp edi, edx
jge 0x426e29
add edi, eax
add ecx, eax
jmp 0x426e31
cmp ecx, eax
jle 0x426e35
sub edi, eax
sub ecx, eax
mov dword [esp + 0x60], ecx
mov eax, dword [esp + 0x1c]
cmp esi, edx
jge 0x426e43
add esi, eax
add ebp, eax
jmp 0x426e4b
cmp ebp, eax
jle 0x426e4f
sub esi, eax
sub ebp, eax
mov dword [esp + 0x64], ebp
mov eax, dword [esp + 0x74]
and al, 0xfb
mov dword [esp + 0x74], eax
mov dword [esp + 0x10], 2
xor ecx, ecx
xor eax, eax
cmp word [ebx + 0xe], cx
mov ax, word [ebx + 0x12]
mov dword [esp + 0x2c], eax
sete cl
cmp eax, 3
mov dword [esp + 0x34], ecx
jne 0x426e9a
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x70]
push ebp
push edx
push esi
push edi
push eax
call fcn.0043f860
add esp, 0x14
mov dword [esp + 0x34], 1
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x426fd7
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x426fd7
cmp dword [esp + 0x2c], 4
je 0x426fd7
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x426ee1
cmp dword [esp + 0x60], 0xffffffa0
jl 0x426fd7
cmp dword [esp + 0x64], 0xfffffff0
jl 0x426fd7
mov ebp, dword [esp + 0x14]
jmp 0x426f01
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x60]
mov ebp, dword [esp + 0x14]
add edi, eax
add ecx, eax
mov eax, dword [esp + 0x64]
add esi, ebp
add eax, ebp
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x2c]
xor eax, eax
cmp ecx, 1
jne 0x426f1e
mov eax, 3
mov dword [esp + 0x80], 0
jmp 0x426f29
mov ecx, dword [esp + 0x80]
test ecx, ecx
jne 0x426f60
mov ecx, dword [esp + 0x34]
push eax
test ecx, ecx
je 0x426f4d
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov eax, dword [0x4539e4]
dec ecx
dec edx
push ecx
push edx
push esi
push edi
push eax
call fcn.0044baf2
jmp 0x426f60
mov ecx, dword [esp + 0x28]
mov edx, dword [0x4539e4]
push esi
push edi
push ecx
push edx
call fcn.0044bb16
cmp dword [esp + 0x2c], 2
jne 0x426fb3
mov eax, dword [esp + 0x34]
mov dword [esp + 0x80], 0
test eax, eax
je 0x426fa1
mov ecx, dword [esp + 0x64]
lea eax, [esi + 6]
cmp eax, ecx
jl 0x426f87
mov eax, ecx
dec eax
mov ecx, dword [0x4539e4]
push 2
push eax
mov eax, dword [esp + 0x68]
dec eax
push eax
push esi
push edi
push ecx
call fcn.0044baf2
jmp 0x426fb3
mov edx, dword [esp + 0x24]
mov eax, dword [0x4539e4]
push esi
push edi
push edx
push eax
call fcn.0044bb04
mov eax, dword [esp + 0x38]
test eax, eax
je 0x426fd7
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x60]
sub edi, eax
sub ecx, eax
mov eax, dword [esp + 0x64]
sub esi, ebp
sub eax, ebp
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
cmp edi, dword [esp + 0x78]
jg 0x4270c8
cmp esi, dword [esp + 0x7c]
jg 0x4270c8
mov eax, dword [esp + 0x60]
test eax, eax
jl 0x4270c8
mov eax, dword [esp + 0x64]
test eax, eax
jl 0x4270c8
mov eax, dword [esp + 0x70]
test eax, eax
jle 0x4270a1
mov ecx, dword [esp + 0x50]
mov eax, 0x480008
test ecx, ecx
jne 0x427021
mov eax, 0x480208
mov ecx, dword [esp + 0x2c]
cmp ecx, 1
jne 0x427031
or eax, 0x10001
jmp 0x42703b
cmp ecx, 2
jne 0x42703b
or eax, 0x20001
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx]
test ecx, ecx
jne 0x42708c
mov edx, dword [esp + 0x54]
push ebx
push eax
mov eax, dword [esp + 0x30]
push ecx
lea ecx, [edx + eax*4 + 0x10000000]
mov dx, word [ebx + 0x10]
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [0x4539e4]
push edx
push eax
push esi
push edi
push ecx
call fcn.0044b738
mov edx, dword [esp + 0x30]
mov dword [edx], eax
mov ecx, dword [ebx + 0x28]
mov edx, dword [ebx + 0x24]
push ecx
push edx
push eax
mov eax, dword [0x4539e4]
push eax
call fcn.0044b726
jmp 0x4270f0
mov edx, dword [esp + 0x24]
mov eax, dword [0x4539e4]
push edx
push esi
push edi
push ecx
push eax
call fcn.0044c374
jmp 0x4270f0
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x4270f0
mov ecx, dword [ebx + 0x28]
mov edx, dword [ebx + 0x24]
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [0x4539e4]
push edx
push 0
push esi
push edi
push eax
push ecx
call fcn.0044ba3e
jmp 0x4270f0
mov eax, dword [esp + 0x70]
test eax, eax
jle 0x4270f0
mov edx, dword [esp + 0x30]
mov eax, dword [edx]
test eax, eax
je 0x4270f0
push eax
mov eax, dword [0x4539e4]
push eax
call fcn.0044b74a
mov ecx, dword [esp + 0x30]
mov dword [ecx], 0
mov eax, dword [esp + 0x74]
test eax, eax
je 0x427104
mov ecx, dword [esp + 0x28]
dec ecx
sub ebx, 0x2c
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x28]
inc eax
add ebx, 0x2c
mov ecx, dword [edx + 0x14]
mov dword [esp + 0x28], eax
cmp eax, ecx
jl 0x426c08
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret