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

Disassembly:
push 0xffffffffffffffff
push 0x4a47a1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
xor ebx, ebx
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x7c]
push ebp
push esi
push edi
mov esi, ecx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x8c]
add ecx, eax
mov dword [esp + 0x80], ebx
mov dword [esp + 0x10], 1
mov dword [esp + 0x90], ecx
xor edi, edi
lea esp, [esp]
mov ecx, dword [esi + 0x1c]
cmp ecx, ebx
je 0x4357cc
mov eax, dword [esi + 0x20]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x4357cc
cmp ecx, ebx
je 0x4357b3
mov eax, dword [esi + 0x20]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4357b8
call fcn.0048c48f
mov edx, dword [esi + 0x1c]
mov eax, dword [esp + 0x8c]
cmp dword [edx + edi*4], eax
ja 0x4357cc
add edi, 1
jmp 0x435790
sub edi, 1
lea ebp, [edi + edi*8]
add ebp, ebp
add ebp, ebp
jmp 0x4357e0
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x4359ad
mov ecx, dword [esi + 0x10]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x4359ad
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x43582a
mov ecx, dword [esi + 0x10]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x43582f
call fcn.0048c48f
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x90]
cmp dword [ecx + ebp], edx
jae 0x4359ad
mov eax, ecx
cmp eax, ebx
je 0x435862
mov ecx, dword [esi + 0x10]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x435867
call fcn.0048c48f
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + ebp]
add eax, ebp
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
push 0xffffffffffffffff
add eax, 8
push ebx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x40], edx
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.00401840
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x8c], 1
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00401840
mov ecx, dword [esp + 0x90]
cmp ecx, dword [esp + 0x34]
lea eax, [esp + 0x90]
jb 0x4358de
lea eax, [esp + 0x34]
mov edx, dword [esp + 0x30]
cmp dword [esp + 0x8c], edx
lea ecx, [esp + 0x30]
jb 0x4358f6
lea ecx, [esp + 0x8c]
mov eax, dword [eax]
mov ecx, dword [ecx]
sub eax, edx
sub ecx, edx
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x1c]
mov dword [esp + 0x5c], ecx
push edx
lea ecx, [esp + 0x68]
mov byte [esp + 0x8c], 2
mov dword [esp + 0x64], eax
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
call fcn.00401840
cmp dword [esp + 0x2c], 0x10
jb 0x435946
mov eax, dword [esp + 0x18]
push eax
call fcn.00409f10
add esp, 4
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x8c]
mov byte [esp + 0x84], 3
call fcn.00434b50
cmp dword [esp + 0x74], 0x10
jb 0x435983
mov edx, dword [esp + 0x60]
push edx
call fcn.00409f10
add esp, 4
add edi, 1
add ebp, 0x24
cmp dword [esp + 0x50], 0x10
mov byte [esp + 0x80], bl
jb 0x4357e0
mov eax, dword [esp + 0x3c]
push eax
call fcn.00409f10
add esp, 4
jmp 0x4357e0
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x88]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 0xc