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

Disassembly:
sub esp, 0x5c
mov eax, dword [esp + 0x6c]
push ebx
mov dword [esp + 0xc], ecx
push esi
mov esi, dword [esp + 0x78]
push edi
push ebp
cmp esi, eax
jl 0x435ff3
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x5c
ret 0x1c
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x70]
mov eax, dword [eax]
sub eax, ecx
sub eax, esi
mov dword [esp + 0x38], eax
mov eax, dword [edx + 4]
sub eax, ecx
lea edx, [esp + 0x38]
sub eax, esi
push edx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x40], eax
call fcn.00436f00
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x7c]
mov eax, dword [ecx]
add eax, esi
add eax, edx
mov dword [esp + 0x40], eax
mov eax, dword [ecx + 4]
add eax, esi
lea ecx, [esp + 0x40]
add eax, edx
push ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x48], eax
call fcn.00436f00
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x7c]
mov eax, dword [ecx]
sub eax, edx
add eax, esi
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 4]
sub eax, edx
lea ecx, [esp + 0x48]
add eax, esi
push ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
call fcn.00436f00
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x7c]
mov eax, dword [ecx]
sub eax, esi
add eax, edx
mov dword [esp + 0x50], eax
mov eax, dword [ecx + 4]
sub eax, esi
lea ecx, [esp + 0x50]
add eax, edx
push ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
call fcn.00436f00
lea ecx, [esp + 0x40]
lea edx, [esp + 0x38]
push ecx
push edx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x20]
push eax
push 0
call fcn.00436320
mov dword [esp + 0x34], 0xffffffff
mov ecx, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00436f60
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x58], eax
mov dword [esp + 0x14], ecx
cmp edx, ecx
jl 0x4362fe
mov esi, dword [esp + 0x84]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], ecx
cmp eax, ecx
jl 0x4362e9
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x48]
cmp ecx, eax
jl 0x436132
mov eax, dword [esp + 0x50]
cmp ecx, eax
jg 0x436132
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x4c]
cmp ecx, eax
jl 0x436132
mov eax, dword [esp + 0x54]
cmp ecx, eax
jle 0x4362d4
mov eax, dword [esp + 0x58]
cdq
sub eax, edx
sar eax, 1
mov edi, eax
mov eax, dword [esp + 0x14]
sub eax, edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], eax
push ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
sub eax, edi
mov dword [esp + 0x2c], eax
call fcn.00436f00
cmp eax, 1
je 0x4362d4
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
add eax, edi
mov ecx, dword [esp + 0x18]
add edi, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x30], edi
push eax
call fcn.00436f00
cmp eax, 1
je 0x4362d4
xor edi, edi
mov ebx, dword [esp + 0x24]
cmp dword [esp + 0x2c], ebx
jle 0x4361f9
test edi, edi
jne 0x4361f9
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
cmp ecx, ebp
jle 0x4361f0
test edi, edi
jne 0x4361f0
push 1
mov ecx, esi
mov dword [esp + 0x20], ebp
sub esp, 4
sub esp, 4
fild dword [esp + 0x28]
mov dword [esp + 0x28], ebx
fild dword [esp + 0x28]
fxch st(1)
fstp dword [esp + 4]
fstp dword [esp]
mov eax, dword [esi]
call dword [eax + 0xfc]
test eax, eax
jne 0x4361e7
mov edi, 1
inc ebp
mov eax, dword [esp + 0x30]
cmp eax, ebp
jg 0x4361af
inc ebx
mov eax, dword [esp + 0x2c]
cmp eax, ebx
jg 0x43619f
cmp edi, 1
je 0x4362d4
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x64]
push 1
fild dword [esp + 0x80]
mov dword [esp + 0x60], ecx
push edx
lea edx, [esp + 0x64]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x78]
sub esp, 4
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x2c], pe_nt_image_headers32
push eax
mov ebx, dword [esi]
push edx
call dword [ebx + 0x190]
test eax, eax
jne 0x43624e
mov dword [esp + 0x20], 0x40
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
cmp ecx, ebx
jl 0x43629e
test edi, edi
jne 0x43629e
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
cmp ecx, ebp
jl 0x436295
test edi, edi
jne 0x436295
push ebp
mov ecx, 0x561458
push ebx
call fcn.004bf7c0
cmp eax, 0xff
jne 0x436288
mov edi, 1
jmp 0x43628c
add dword [esp + 0x20], eax
inc ebp
mov eax, dword [esp + 0x30]
cmp eax, ebp
jge 0x43626a
inc ebx
mov eax, dword [esp + 0x2c]
cmp eax, ebx
jge 0x43625a
cmp edi, 1
je 0x4362d4
mov eax, dword [esp + 0x34]
cmp eax, 0xffffffff
je 0x4362b8
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
jle 0x4362d4
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [eax + 4], edx
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x44]
inc eax
mov dword [esp + 0x10], eax
cmp ecx, eax
jge 0x436106
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
inc eax
mov dword [esp + 0x14], eax
cmp ecx, eax
jge 0x4360f2
xor eax, eax
mov ecx, dword [esp + 0x34]
pop ebp
cmp ecx, 0xffffffff
setne al
pop edi
pop esi
pop ebx
add esp, 0x5c
ret 0x1c