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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [edx + 0x20]
push edi
lea eax, [esp + 0x40]
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x40]
push ecx
call fcn.004356a0
fld qword [ebp + 0x10]
fst qword [esp + 0x50]
sub esp, 8
fld qword [ebp + 0x18]
or ebx, 0xffffffff
fstp qword [esp + 0x60]
mov dword [esp + 0x40], ebx
fadd qword [0x9ad788]
fstp qword [esp]
call fcn.0065d120
call fcn.0065d070
fld qword [ebp + 0x18]
fadd qword [0x9ad788]
mov esi, eax
mov dword [esp + 0x50], esi
fstp qword [esp]
call fcn.0065d120
add esp, 8
call fcn.0065d070
cmp dword [esp + 0x3c], 0
mov dword [esp + 0x4c], eax
mov byte [esp + 0x2f], 0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], 0
jle 0x435935
mov edi, dword [esp + 0x40]
fld qword [ebp + 0x18]
fld qword [ebp + 0x10]
add edi, 8
jmp 0x435841
mov esi, dword [esp + 0x48]
mov ecx, dword [edi - 8]
test ecx, ecx
jne 0x435850
cmp dword [edi], ecx
je 0x435916
cmp byte [esp + 0x2f], 0
je 0x435883
cmp esi, ecx
jl 0x435916
mov edx, dword [edi]
add edx, ecx
cmp esi, edx
jg 0x435916
mov ecx, dword [edi - 4]
cmp eax, ecx
jl 0x435916
mov edx, dword [edi + 4]
add edx, ecx
cmp eax, edx
jg 0x435916
mov eax, dword [edi + 4]
fld st(1)
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x44], eax
call fcn.0065d070
mov esi, eax
fld st(0)
mov eax, dword [edi]
sub esi, dword [esp + 0x44]
cdq
sub esi, dword [edi - 4]
sub eax, edx
mov ebx, eax
sar ebx, 1
call fcn.0065d070
mov edx, dword [edi - 8]
sub eax, ebx
sub eax, edx
mov ecx, esi
imul eax, eax
imul ecx, esi
add ecx, eax
cmp ecx, dword [esp + 0x38]
jae 0x4358d4
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ecx
jmp 0x4358d8
mov ebx, dword [esp + 0x34]
cmp byte [esp + 0x2f], 0
jne 0x435912
mov esi, dword [esp + 0x48]
cmp esi, edx
jl 0x435912
add edx, dword [edi]
cmp esi, edx
jg 0x435912
mov edx, dword [edi - 4]
mov eax, dword [esp + 0x4c]
cmp eax, edx
jl 0x435916
add edx, dword [edi + 4]
cmp eax, edx
jg 0x435916
mov ebx, dword [esp + 0x30]
mov byte [esp + 0x2f], 1
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ecx
jmp 0x435916
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x30]
inc ecx
add edi, 0x10
mov dword [esp + 0x30], ecx
cmp ecx, dword [esp + 0x3c]
jl 0x43583d
fstp st(0)
fstp st(0)
cmp ebx, 0xffffffff
jne 0x435940
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x1c]
mov esi, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, ebx
shl eax, 4
add eax, dword [esp + 0x40]
mov edx, dword [edx + 0x20]
fild dword [eax]
push 0
fild dword [eax + 4]
push 0
fild dword [eax + 8]
push ecx
fild dword [eax + 0xc]
fld1
fstp dword [esp]
push esi
fxch st(3)
sub esp, 0x20
mov eax, esp
fstp qword [eax]
fxch st(1)
fstp qword [eax + 8]
fstp qword [eax + 0x10]
fstp qword [eax + 0x18]
lea eax, [esp + 0x90]
push eax
call edx
fld1
mov ecx, dword [edi + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
push 0
push 0
push ecx
fstp dword [esp]
push esi
fld qword [esp + 0x60]
sub esp, 0x10
mov eax, esp
fstp qword [eax]
fld qword [esp + 0x78]
fstp qword [eax + 8]
lea eax, [esp + 0x70]
push eax
call edx
fld qword [eax]
fld qword [eax + 8]
fstp qword [esp + 0x58]
fld qword [esp + 0x70]
fmul qword [0x9ad788]
fadd qword [esp + 0x60]
fcompp
fnstsw ax
test ah, 5
jp 0x435a17
mov ecx, dword [esp + 0x3c]
inc ebx
cmp ebx, ecx
jge 0x435a17
mov edx, dword [esp + 0x40]
mov eax, ebx
add eax, eax
lea eax, [edx + eax*8 - 8]
lea esp, [esp]
mov edx, dword [eax - 8]
cmp edx, dword [eax + 8]
jne 0x435a17
mov edx, dword [eax - 4]
cmp edx, dword [eax + 0xc]
jne 0x435a17
mov edx, dword [eax]
cmp edx, dword [eax + 0x10]
jne 0x435a17
mov edx, dword [eax + 4]
cmp edx, dword [eax + 0x14]
jne 0x435a17
inc ebx
add eax, 0x10
cmp ebx, ecx
jl 0x4359f0
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x18