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

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
mov ebx, ecx
mov ecx, dword [esp + 0x58]
mov esi, 1
shl esi, cl
push edi
push 0x18
mov dword [esp + 0x3c], esi
call fcn.0043f7ed
mov edi, eax
xor eax, eax
add esp, 4
cmp edi, eax
je 0x420bc1
mov ecx, dword [esp + 0x54]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x50]
mov dword [edi + 8], eax
add eax, 7
sar eax, 3
mov dword [edi + 0x10], eax
imul eax, ecx
push eax
mov dword [edi], 0x456534
mov dword [edi + 0xc], ecx
call fcn.0043e620
mov ebp, edi
add esp, 4
mov dword [edi + 0x14], eax
mov dword [esp + 0x50], ebp
jmp 0x420bc7
mov dword [esp + 0x50], eax
mov ebp, eax
mov ecx, dword [ebp + 0x10]
imul ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x70]
mov edi, dword [ebp + 0x14]
mov edx, ecx
shr ecx, 2
test eax, eax
je 0x420be3
or eax, 0xffffffff
jmp 0x420be5
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x48]
test edi, edi
je 0x420c0d
mov eax, dword [esp + 0x8c]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [ebx + 0x7c]
call fcn.00420590
jmp 0x420c1e
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x38]
push edx
lea eax, [esp + 0x14]
push eax
call fcn.0041d400
mov ecx, dword [esp + 0x10]
imul ecx, esi
neg ecx
xor eax, eax
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x58], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
ja 0x420c50
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x34
ret 0x68
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x48]
nop
test edi, edi
je 0x420c6b
mov edx, dword [esp + 0x8c]
mov ecx, dword [ebx + 0x7c]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00420590
jmp 0x420c7c
mov ecx, dword [ebx + 0x54]
push ecx
mov ecx, dword [ebx + 0x38]
lea edx, [esp + 0x18]
push edx
call fcn.0041d400
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
imul eax, esi
add ecx, eax
test edi, edi
mov dword [esp + 0x10], ecx
je 0x420ca8
mov ecx, dword [esp + 0x84]
push ecx
mov ecx, dword [ebx + 0x7c]
lea edx, [esp + 0x1c]
push edx
call fcn.00420590
jmp 0x420cb9
mov eax, dword [ebx + 0x5c]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ebx + 0x38]
call fcn.0041d400
mov ebp, dword [esp + 0x2c]
add ebp, dword [esp + 0x18]
mov dword [esp + 0x2c], ebp
cmp esi, 1
mov dword [esp + 0x70], ebp
jne 0x420cd8
mov dword [esp + 0x14], 0
jmp 0x420d00
test edi, edi
je 0x420cef
mov edx, dword [esp + 0x5c]
mov ecx, dword [ebx + 0x7c]
push edx
call fcn.0041d600
mov dword [esp + 0x14], eax
jmp 0x420d00
mov eax, dword [ebx + 0x58]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [ebx + 0x38]
call fcn.0041d400
mov esi, dword [esp + 0x48]
test esi, esi
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
lea edi, [eax + edx]
je 0x420d42
mov eax, dword [esp + 0x64]
test eax, eax
je 0x420d33
push eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [ebx + 0x7c]
call fcn.00420590
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x54], edx
jmp 0x420d57
mov eax, dword [esp + 0x68]
mov ecx, dword [ebx + 0x7c]
push eax
call fcn.0041d600
jmp 0x420d53
mov ecx, dword [ebx + 0x78]
mov edx, dword [esp + 0x68]
push ecx
mov ecx, dword [ebx + 0x38]
push edx
call fcn.0041d3b0
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x420e4a
test esi, esi
je 0x420e30
mov esi, dword [ebx + 0x7c]
mov eax, dword [esi + 8]
test eax, eax
jne 0x420d86
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov dword [esi + 4], eax
mov dword [esi + 8], 8
mov eax, dword [esi + 8]
dec eax
mov dword [esi + 8], eax
mov ecx, eax
mov eax, dword [esi + 4]
mov esi, dword [esp + 0x48]
shr eax, cl
and eax, 1
mov dword [esp + 0x1c], eax
test eax, eax
je 0x420e52
test esi, esi
je 0x420e8d
mov eax, dword [esp + 0x90]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [ebx + 0x7c]
call fcn.00420590
mov edx, dword [esp + 0x94]
mov ecx, dword [ebx + 0x7c]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00420590
mov ecx, dword [esp + 0x98]
push ecx
mov ecx, dword [ebx + 0x7c]
lea edx, [esp + 0x34]
push edx
call fcn.00420590
mov eax, dword [esp + 0x9c]
push eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [ebx + 0x7c]
call fcn.00420590
mov edx, dword [esp + 0xa0]
mov ecx, dword [ebx + 0x7c]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.00420590
mov eax, dword [ebx + 0x7c]
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x38]
call fcn.0041d1a0
jmp 0x420ed1
mov ecx, dword [ebx + 0x74]
push ecx
mov ecx, dword [ebx + 0x38]
lea edx, [esp + 0x20]
push edx
call fcn.0041d400
mov eax, dword [esp + 0x1c]
jmp 0x420d9f
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x54]
mov esi, dword [edx + eax*4]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x78]
dec eax
dec ecx
test edx, edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x70], eax
mov dword [esp + 0x54], ecx
je 0x420f7a
cmp edx, 3
ja case.default.0x420e86
jmp dword [edx*4 + 0x421034]
mov ecx, dword [ebx + 0x6c]
push ecx
mov ecx, dword [ebx + 0x38]
lea edx, [esp + 0x28]
push edx
call fcn.0041d400
mov eax, dword [ebx + 0x70]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [ebx + 0x38]
call fcn.0041d400
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x38]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.0041d400
mov ecx, dword [ebx + 0x68]
push ecx
mov ecx, dword [ebx + 0x38]
lea edx, [esp + 0x38]
push edx
call fcn.0041d400
mov eax, dword [esp + 0x24]
test eax, eax
jge 0x420eda
dec eax
cdq
sub eax, edx
mov edx, dword [esp + 0x30]
sar eax, 1
add eax, edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x20]
test eax, eax
jge 0x420ef2
dec eax
mov ebp, dword [esp + 0xac]
mov ecx, dword [esp + 0x34]
cdq
push ebp
mov ebp, dword [esp + 0xac]
sub eax, edx
mov edx, dword [esp + 0x58]
push ebp
sar eax, 1
add eax, ecx
mov ecx, dword [esp + 0x74]
mov ecx, dword [ecx + edx*4]
mov edx, dword [ecx + 0xc]
mov esi, dword [ecx + 8]
push eax
mov eax, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0xb8]
push 0
push ecx
mov ecx, dword [esp + 0x40]
add edx, eax
add esi, ecx
push edx
push esi
mov ecx, ebx
call fcn.0041f170
mov ebp, dword [esp + 0x70]
mov esi, eax
jmp 0x420e5d
mov ecx, dword [esp + 0x74]
push ecx
jmp 0x420f66
mov ecx, dword [esp + 0x74]
push ecx
sub edi, eax
jmp 0x420f66
sub edi, eax
mov edx, dword [esp + 0x74]
push edx
mov ecx, dword [esp + 0x54]
push ebp
push edi
push esi
call fcn.0041de10
mov ecx, dword [esp + 0x54]
add ebp, ecx
jmp 0x420f9f
cmp edx, 3
ja case.default.0x420f7f
jmp dword [edx*4 + 0x421044]
sub edi, ecx
mov eax, dword [esp + 0x74]
push eax
mov ecx, dword [esp + 0x54]
push edi
push ebp
push esi
call fcn.0041de10
mov eax, dword [esp + 0x70]
add ebp, eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x420faf
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x48]
inc ecx
test eax, eax
mov dword [esp + 0x28], ecx
je 0x420fe7
mov eax, dword [esp + 0x88]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ebx + 0x7c]
call fcn.00420590
jmp 0x420ff8
mov ecx, dword [esp + 0x74]
push ecx
jmp 0x420f8d
mov edx, dword [esp + 0x74]
push edx
sub edi, ecx
jmp 0x420f8d
mov edx, dword [ebx + 0x60]
mov ecx, dword [ebx + 0x38]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.0041d400
test eax, eax
je 0x421018
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x80]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x48]
add ecx, edx
add ebp, ecx
jmp 0x420cc5
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x58]
jb 0x420c47
mov eax, dword [esp + 0x50]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x68