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

Disassembly:
push ebx
push esi
push edi
push ebp
fldz
fldz
fld dword [0x68af94]
add esp, 0xffffff80
mov ebp, ecx
fstp dword [esp + 0xc]
fld dword [0x68afc0]
fstp dword [esp + 0x10]
fld dword [0x68afc4]
mov ebx, dword [esp + 0x94]
mov dword [esp], 0
fstp dword [esp + 8]
mov esi, dword [ebp + 0x1b0]
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
fld dword [esi + 0x84]
fadd dword [esi + 0x9c]
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x54]
fstp st(1)
fld dword [esi + 0x80]
fadd dword [esi + 0x98]
fstp st(2)
fld dword [esi + 0x7c]
fadd dword [esi + 0x94]
fstp dword [esp + 0x48]
fld st(1)
lea edx, [esp + 0x48]
fstp dword [esp + 0x4c]
fst dword [esp + 0x50]
fcompp
push edx
push eax
call fcn.004e00b0
fldz
fldz
fldz
fld dword [esp + 0x64]
fadd dword [esi + 0x78]
mov edi, dword [ebp + 0x1b0]
add esp, 0xc
lea ecx, [edi + 0x14]
fstp st(1)
fld dword [esp + 0x54]
fadd dword [esi + 0x74]
fstp st(2)
fld dword [esp + 0x50]
fadd dword [esi + 0x70]
fstp st(3)
fadd dword [esi + 0x90]
fld st(1)
fadd dword [esi + 0x8c]
fstp st(2)
fld st(2)
fadd dword [esi + 0x88]
fstp st(3)
fld dword [ecx + 4]
fmul st(2)
fld dword [ecx]
fmul st(4)
faddp st(1)
fld dword [ecx + 8]
fmul st(2)
faddp st(1)
fcomp dword [0x68ae88]
fnstsw ax
test ah, 0x45
jne 0x4759d3
mov dword [esp], 1
mov al, byte [edi + 0x50]
and al, 7
cmp al, 2
jne 0x475e40
movsx edx, word [edi + 0x5c]
mov eax, edx
cmp eax, 0xc7
je 0x4759f9
cmp edx, 0x9b
jne 0x475e40
fld dword [0x68afc4]
fstp dword [esp + 8]
fld dword [0x68aeb8]
fstp dword [esp + 0xc]
fld dword [0x68afc8]
mov dword [esp + 0x64], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea eax, [esp + 0x5c]
fstp dword [esp + 0x10]
fld dword [edi + 0x84]
fadd dword [edi + 0x9c]
push eax
lea eax, [esp + 0x78]
fstp st(2)
fld dword [edi + 0x80]
fadd dword [edi + 0x98]
fstp st(3)
fld dword [edi + 0x7c]
fadd dword [edi + 0x94]
fstp dword [esp + 0x6c]
fld st(2)
fstp dword [esp + 0x70]
fld st(1)
lea edx, [esp + 0x6c]
fstp dword [esp + 0x74]
fcompp
push edx
push eax
fstp st(0)
call fcn.004e00b0
fldz
fldz
fld dword [esp + 0x80]
fadd dword [edi + 0x70]
add esp, 0xc
fadd dword [edi + 0x88]
fstp dword [esp + 0x2c]
fld dword [esp + 0x78]
fadd dword [edi + 0x74]
lea esi, [esp + 0x2c]
fadd dword [edi + 0x8c]
fstp dword [esp + 0x30]
fld dword [esp + 0x7c]
fadd dword [edi + 0x78]
fadd dword [edi + 0x90]
lea edi, [esp + 0x20]
fstp dword [esp + 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fld dword [esp + 0x24]
fst st(1)
fmul st(0)
fld dword [esp + 0x20]
fmul st(0)
faddp st(1)
mov dword [esp + 0x28], 0
fld dword [esp + 0x28]
fstp st(3)
fld st(2)
fmul st(0)
faddp st(1)
fstp st(2)
fld st(1)
fsqrt
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp st(2)
fld dword [0x68ae44]
fmul st(2)
fcomp dword [0x68afcc]
fnstsw ax
test ah, 0x45
jne 0x475b29
push eax
fst dword [esp]
fcompp
push dword [esp + 0x24]
call fcn.004a55e0
fstp dword [esp + 0xa0]
fldz
fldz
pop ecx
pop ecx
fld dword [ebp + 0x178]
fsub dword [ebx + 4]
fstp st(1)
fld dword [ebp + 0x174]
fsub dword [ebx]
fstp st(2)
fld st(0)
fmul st(0)
fld st(2)
fmul st(0)
faddp st(1)
fsqrt
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
fld dword [esp + 0x98]
mov dword [esp + 0x14], eax
fsub dword [ebp + 0xbc]
fstp st(2)
jmp 0x475b6f
fld dword [0x68ae74]
fsubp st(2)
fld st(1)
fcomp dword [0x68ae70]
fnstsw ax
test ah, 0x45
je 0x475b67
jmp 0x475b88
fld dword [0x68ae74]
faddp st(2)
fld st(1)
fcomp dword [0x68ae78]
fnstsw ax
and ah, 5
cmp ah, 1
je 0x475b80
fld st(1)
fabs
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp st(2)
fld dword [0x68ae70]
fsub dword [esp + 8]
fcomp st(2)
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x475bd1
cmp dword [esp], 0
je 0x475bd1
cmp byte [0x7e4711], 0
jne 0x475bd1
mov byte [ebp + 4], 1
fcompp
push 0
call fcn.004ab060
pop ecx
mov ecx, eax
call fcn.004aac30
test al, al
jne 0x475c2c
push 0
call fcn.004ab060
pop ecx
mov ecx, eax
call fcn.004aac00
test al, al
jne 0x475c2c
push 0
call fcn.004ab060
pop ecx
mov ecx, eax
call fcn.004aac90
test al, al
jne 0x475c2c
push 0
call fcn.004ab060
pop ecx
mov ecx, eax
call fcn.004aac60
test al, al
jne 0x475c2c
cmp dword [ebp + 0x28], 3
je 0x475c2c
mov byte [0x7e46d2], 1
mov dl, byte [ebp + 4]
test dl, dl
jne 0x475c55
cmp byte [0x7e46ef], 0
jne 0x475c55
cmp byte [0x7e46d2], 0
jne 0x475c55
cmp byte [0x7e46d3], 0
jne 0x475c55
xor al, al
jmp 0x475e4b
xor cl, cl
cmp byte [0x7e46d2], 1
je 0x475c72
cmp byte [0x7e46d3], 1
je 0x475c72
cmp byte [0x7e46ef], 1
jne 0x475c8f
movzx eax, byte [0x7e46fe]
imul eax, eax, 0x1cc
add eax, 0x7e4688
add eax, 0x188
cmp eax, ebp
jne 0x475c8f
mov cl, 1
test dl, dl
jne 0x475c9b
test cl, cl
je 0x475e2e
lea eax, [ebp + 0xbc]
lea edx, [ebp + 0xc0]
push 1
push dword [esp + 0x14]
push dword [esp + 0x14]
push edx
push eax
push dword [esp + 0xac]
call fcn.004864e3
add esp, 0x18
cmp byte [0x7e46d2], 1
fldz
fldz
jne 0x475cf7
movzx eax, byte [0x7e46fe]
imul eax, eax, 0x1cc
add eax, 0x7e4688
add eax, 0x188
cmp eax, ebp
jne 0x475cf7
fld dword [esp + 0x98]
fstp dword [ebp + 0xbc]
cmp byte [0x7e46d3], 1
jne 0x475d2e
movzx eax, byte [0x7e46fe]
imul eax, eax, 0x1cc
add eax, 0x7e4688
add eax, 0x188
cmp eax, ebp
jne 0x475d2e
fld dword [0x68ae70]
fadd dword [esp + 0x98]
fstp dword [ebp + 0xbc]
cmp byte [0x7e46ef], 0
je 0x475d5e
movzx eax, byte [0x7e46fe]
imul eax, eax, 0x1cc
add eax, 0x7e4688
add eax, 0x188
cmp eax, ebp
jne 0x475d5e
fld dword [ebp + 0x9c]
fstp dword [ebp + 0xbc]
fld dword [ebp + 0xbc]
fcos
fnstsw ax
test eax, 0x400
je 0x475d76
call fcn.00642920
fcos
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp st(2)
fld dword [ebp + 0xbc]
fsin
fnstsw ax
test eax, 0x400
je 0x475d98
call fcn.00642920
fsin
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp st(1)
fld st(1)
fchs
fmul dword [esp + 0x14]
fadd dword [ebx]
fstp dword [ebp + 0x174]
fld st(0)
fchs
fmul dword [esp + 0x14]
fadd dword [ebx + 4]
fstp dword [ebp + 0x178]
fld dword [esp + 0x98]
fsub dword [ebp + 0xbc]
fstp st(2)
jmp 0x475ddc
fld dword [0x68ae74]
fsubp st(2)
fld st(1)
fcomp dword [0x68ae70]
fnstsw ax
test ah, 0x45
je 0x475dd4
jmp 0x475df5
fld dword [0x68ae74]
faddp st(2)
fld st(1)
fcomp dword [0x68ae78]
fnstsw ax
and ah, 5
cmp ah, 1
je 0x475ded
fld st(1)
fabs
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp st(2)
fld st(1)
fcomp dword [0x68afd0]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x475e47
xor al, al
fcompp
mov byte [ebp + 4], al
xor al, al
mov byte [0x7e46d2], al
xor al, al
mov byte [0x7e46d3], al
mov al, 1
jmp 0x475e4b
fstp st(0)
jmp 0x475b29
fcompp
jmp 0x475e2e
sub esp, 0xffffff80
pop ebp
pop edi
pop esi
pop ebx
ret 8