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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56c958
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.0040a878
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 0x420d7e
call fcn.004920d6
mov ecx, dword [esi + 0x20]
add esi, 0x1c
mov eax, dword [esi]
mov dword [esp + 0x30], esi
cmp eax, ecx
je 0x420dc1
push ecx
call fcn.004a2a30
mov edi, dword [esi + 4]
pop ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
cmp eax, edi
je 0x420dba
mov ebx, dword [esp + 0x14]
call fcn.00420f64
add dword [esp + 0x14], 0x54
cmp dword [esp + 0x14], edi
jne 0x420da4
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 0x420f1a
mov dword [esp + 0x14], ebx
jmp 0x420de7
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.0040406a
push 0xffffffffffffffff
push ebx
lea eax, [edi + 0x1c]
lea ecx, [esp + 0x60]
call fcn.0040406a
push 0xffffffffffffffff
push ebx
lea eax, [edi + 0x38]
lea ecx, [esp + 0x7c]
call fcn.0040406a
mov ecx, dword [esi + 4]
lea eax, [esp + 0x3c]
cmp eax, ecx
jae 0x420e9c
mov edx, dword [esi]
cmp edx, eax
ja 0x420e9c
sub eax, edx
push 0x54
cdq
pop edi
idiv edi
mov edi, eax
cmp ecx, dword [esi + 8]
jne 0x420e7c
mov ecx, esi
call fcn.00427451
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 0x420ec9
mov ecx, edi
jmp 0x420ec3
cmp ecx, dword [esi + 8]
jne 0x420ea8
mov ecx, esi
call fcn.00427451
mov eax, dword [esi + 4]
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], eax
mov byte [esp + 0xa8], 4
cmp eax, ebx
je 0x420ec9
lea ecx, [esp + 0x3c]
push eax
call fcn.0042a27f
add dword [esi + 4], 0x54
push 1
xor edi, edi
lea esi, [esp + 0x78]
mov byte [esp + 0xac], bl
call fcn.0040412d
push 1
lea esi, [esp + 0x5c]
call fcn.0040412d
push 1
lea esi, [esp + 0x40]
call fcn.0040412d
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 0x420de3
cmp ecx, ebx
je 0x420f3e
mov esi, dword [esp + 0x20]
mov ebx, ecx
cmp ecx, esi
je 0x420f34
call fcn.00420f64
add ebx, 0x54
cmp ebx, esi
jne 0x420f28
push dword [esp + 0x1c]
call fcn.00515779
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.005146df
mov esp, ebp
pop ebp
ret 8