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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c4
push ebx
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebx + 4]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [edi + 0x18]
mov dword [esp + 0x3c], esi
call fcn.004106c0
mov ecx, dword [ebx + 0x1c]
mov esi, eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x34], edx
mov dl, byte [edi + 0x16]
test dl, dl
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov dword [esp + 0x30], esi
mov dword [esp + 0x44], eax
jne 0x437169
mov edi, ecx
cmp edi, eax
mov dword [esp + 0x24], edi
jae 0x437169
jmp 0x436fc0
mov esi, dword [esp + 0x30]
lea ecx, [ecx]
cmp word [edi + 0x10], 0x100
jne 0x437156
mov edx, dword [edi + 0x20]
mov ecx, dword [esp + 0x34]
mov eax, esi
not eax
and eax, edx
mov edx, dword [edi + 0x24]
not ecx
and ecx, edx
and eax, dword [ebp + 0x14]
and ecx, dword [ebp + 0x18]
or eax, ecx
jne 0x437156
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx + 0x160]
mov edx, dword [ecx + 0x164]
and eax, esi
and edx, dword [esp + 0x34]
or eax, edx
je 0x437156
mov esi, dword [ecx + 0x1c]
fld qword [0x4ac6f0]
mov ecx, dword [ecx + 0x14]
fstp qword [esp + 0x10]
fld qword [0x4ac6f0]
lea ecx, [ecx + ecx*4]
lea eax, [esi + ecx*8]
fstp qword [esp + 0x28]
xor ecx, ecx
cmp esi, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
jae 0x4370fb
cmp word [esi + 0x10], 0x200
jne 0x43704e
mov edi, dword [esi + 0xc]
jmp 0x437086
mov edx, dword [esp + 0x3c]
cmp dword [esi + 8], edx
jne 0x4370f0
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov byte [esp + 0x80], 0x45
mov dword [esp + 0x8c], esi
mov dword [esp + 0x84], 1
lea edi, [esp + 0x70]
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
push edx
push eax
mov eax, dword [ebp + 0x10]
push ecx
xor edx, edx
lea ecx, [esp + 0x54]
call fcn.00433460
fld qword [esp + 0x64]
fadd qword [esp + 0x1c]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x74]
fstp qword [esp + 0x1c]
fld qword [esp + 0x6c]
or ecx, eax
fadd qword [esp + 0x34]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 0x20]
or edi, edx
fstp qword [esp + 0x34]
add esp, 0xc
fld qword [esp + 0x10]
mov dword [esp + 0x18], edi
fcomp qword [ecx + 0x10]
mov edi, dword [esp + 0x24]
fnstsw ax
test ah, 1
je 0x4370fe
mov eax, dword [esp + 0x40]
add esi, 0x28
cmp esi, eax
jb 0x437041
mov ecx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x437123
fld qword [esp + 0x28]
sub esp, 8
fstp qword [esp]
call fcn.00410820
fmul qword [esp + 0x30]
add esp, 8
fadd qword [esp + 0x10]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fcomp qword [ecx + 0x10]
fnstsw ax
test ah, 5
jp 0x437156
fld qword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
fstp qword [ecx + 0x10]
fld qword [esp + 0x28]
mov dword [ecx + 0x20], edx
fstp qword [ecx + 0x18]
mov dword [ecx + 0x24], eax
mov dword [ecx], 0x10000000
mov dword [ecx + 8], edi
mov eax, dword [esp + 0x44]
add edi, 0x28
cmp edi, eax
mov dword [esp + 0x24], edi
jb 0x436fb9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret