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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56cca0
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x5f7350]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x5f7350]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov edi, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0xac], ebx
call fcn.0040a83c
lea edx, [esp + 0x1c]
push edx
push esi
push dword [esp + 0x20]
mov byte [esp + 0xb4], 1
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
push edi
call dword [eax + 0x1c]
mov byte [esp + 0xa8], bl
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x420cd6
call fcn.00491f3d
mov ecx, dword [esi + 0x20]
add esi, 0x1c
mov eax, dword [esi]
mov dword [esp + 0x30], esi
cmp eax, ecx
je 0x420d19
push ecx
call fcn.004a28aa
mov edi, dword [esi + 4]
pop ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
cmp eax, edi
je 0x420d12
mov ebx, dword [esp + 0x14]
call fcn.00466b42
add dword [esp + 0x14], 0x54
cmp dword [esp + 0x14], edi
jne 0x420cfc
xor ebx, ebx
mov eax, dword [esp + 0x18]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
sub eax, ecx
push 0x54
cdq
pop edi
idiv edi
mov dword [esp + 0x18], ebx
test eax, eax
je 0x420e72
mov dword [esp + 0x14], ebx
jmp 0x420d3f
mov esi, dword [esp + 0x30]
push 7
pop eax
mov dword [esp + 0x50], eax
xor edx, edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x88], eax
xor eax, eax
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], dx
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], dx
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], ax
mov edi, dword [esp + 0x14]
add edi, ecx
push 0xffffffffffffffff
push ebx
mov eax, edi
lea ecx, [esp + 0x44]
mov byte [esp + 0xb0], 2
call fcn.00404082
push 0xffffffffffffffff
push ebx
lea eax, [edi + 0x1c]
lea ecx, [esp + 0x60]
call fcn.00404082
push 0xffffffffffffffff
push ebx
lea eax, [edi + 0x38]
lea ecx, [esp + 0x7c]
call fcn.00404082
mov ecx, dword [esi + 4]
lea eax, [esp + 0x3c]
cmp eax, ecx
jae 0x420df4
mov edx, dword [esi]
cmp edx, eax
ja 0x420df4
sub eax, edx
push 0x54
cdq
pop edi
idiv edi
mov edi, eax
cmp ecx, dword [esi + 8]
jne 0x420dd4
mov ecx, esi
call fcn.0042736b
mov eax, dword [esi + 4]
imul edi, edi, 0x54
add edi, dword [esi]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
mov byte [esp + 0xa8], 3
cmp eax, ebx
je 0x420e21
mov ecx, edi
jmp 0x420e1b
cmp ecx, dword [esi + 8]
jne 0x420e00
mov ecx, esi
call fcn.0042736b
mov eax, dword [esi + 4]
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], eax
mov byte [esp + 0xa8], 4
cmp eax, ebx
je 0x420e21
lea ecx, [esp + 0x3c]
push eax
call fcn.00429ff0
add dword [esi + 4], 0x54
push 1
xor edi, edi
lea esi, [esp + 0x78]
mov byte [esp + 0xac], bl
call fcn.00404145
push 1
lea esi, [esp + 0x5c]
call fcn.00404145
push 1
lea esi, [esp + 0x40]
call fcn.00404145
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
sub eax, ecx
push 0x54
cdq
pop esi
idiv esi
inc dword [esp + 0x18]
add dword [esp + 0x14], 0x54
cmp dword [esp + 0x18], eax
jb 0x420d3b
cmp ecx, ebx
je 0x420e96
mov esi, dword [esp + 0x20]
mov ebx, ecx
cmp ecx, esi
je 0x420e8c
call fcn.00466b42
add ebx, 0x54
cmp ebx, esi
jne 0x420e80
push dword [esp + 0x1c]
call fcn.00515a19
pop ecx
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.0051497f
mov esp, ebp
pop ebp
ret 8