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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x84
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x3c]
movzx ecx, word [eax + 4]
movzx edx, word [edi + 0x10]
movzx eax, word [eax + 0xc]
add edx, ecx
sub eax, 2
cmp edx, eax
jg 0x4533a6
test ecx, ecx
jne 0x4531f2
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [edi + 0x44]
push eax
call edx
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push edx
push eax
lea ecx, [edi + 0x14]
call fcn.00462b50
mov esi, dword [ebp + 0x1c]
fld dword [esi]
movzx eax, ax
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
fstp dword [eax]
fld dword [esi + 4]
fstp dword [eax + 4]
fld dword [esi + 8]
fstp dword [eax + 8]
fld dword [esi + 0xc]
fstp dword [eax + 0xc]
fld dword [esi + 0x10]
fstp dword [eax + 0x10]
fld dword [esi + 0x14]
fstp dword [eax + 0x14]
fld dword [esi + 0x18]
fstp dword [eax + 0x18]
fld dword [esi + 0x1c]
fstp dword [eax + 0x1c]
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + 8]
push ecx
push 0x2710
push edx
push eax
mov ecx, edi
call fcn.00453bd0
mov ebx, dword [edi + 0x5c]
xor ebx, dword [edi + 0x58]
lea ecx, [esp + 0x30]
push ecx
push esi
mov ecx, eax
mov dword [esp + 0x1c], eax
xor ebx, eax
call fcn.00452d40
lea edx, [esp + 0x40]
push edx
push esi
mov ecx, ebx
call fcn.00452d40
fld dword [esp + 0x30]
fsub dword [esp + 0x40]
mov eax, dword [esp + 0x10]
mov edx, dword [ebp + 8]
mov dword [esp + 0x5c], edx
fstp dword [esp + 0x20]
mov dword [esp + 0x64], 1
fld dword [esp + 0x34]
fsub dword [esp + 0x44]
fstp dword [esp + 0x24]
fld dword [esp + 0x38]
fsub dword [esp + 0x48]
fstp dword [esp + 0x28]
fld dword [esi + 0x14]
fmul dword [esp + 0x24]
fld dword [esi + 0x10]
fmul dword [esp + 0x20]
faddp st(1)
fld dword [esi + 0x18]
fmul dword [esp + 0x28]
faddp st(1)
fstp dword [esp + 0x1c]
fldz
fstp dword [eax]
mov ecx, dword [esp + 0x10]
xor eax, eax
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x10]
fld dword [esp + 0x1c]
mov edx, dword [ebp + 0x18]
fstp dword [esp + 0x78]
mov dword [esp + 0x74], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x70], edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x7c], eax
mov word [esp + 0x8e], ax
lea eax, [esp + 0x5c]
mov dword [esp + 0x88], ecx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x84], edx
mov dx, word [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x74], esi
mov dword [esp + 0x88], edi
mov word [esp + 0x94], dx
call fcn.0044c7c0
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp word [ecx + 0x1f4], 0
je 0x45336e
lea edx, [esp + 0x5c]
push edx
push ecx
call fcn.0044bd90
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp word [ebx + 0x1f4], 0
je 0x45338a
lea eax, [esp + 0x5c]
push eax
push ebx
call fcn.0044bd90
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp dword [esp + 0x7c], 1
jne 0x4533b3
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
mov edx, dword [edi]
mov eax, dword [esp + 0x18]
mov edx, dword [edx + 0x14]
push ecx
push eax
mov ecx, edi
call edx
or ax, 0xffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ax, word [esp + 0x8e]
mov edx, dword [esp + 0x10]
mov word [edi + 0x12], ax
movzx eax, byte [edx + 0xd]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [0x4b8d28]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fldz
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x45344f
cmp word [ecx + 0x1f4], 0
ja 0x45344f
cmp word [ebx + 0x1f4], 0
ja 0x45344f
fld dword [ebx + 0x19c]
mov ax, word [esp + 0x18]
fadd dword [ecx + 0x19c]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fadd qword [0x4b8d40]
fld1
fdivrp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul qword [0x4b8d38]
fmul dword [esp + 0x1c]
fstp dword [edx]
mov ecx, dword [esp + 0x10]
fstp dword [ecx + 4]
mov edx, dword [esp + 0x10]
fld dword [esi + 0x1c]
fstp dword [edx + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp + 0x14]
fstp st(0)
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov eax, dword [edi + 0x38]
mov edx, dword [edx + 0x14]
push 1
push eax
call edx
mov ax, word [esp + 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18