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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x154
push ebx
push esi
push edi
mov edi, dword [0x919690]
test edi, edi
jne 0x47fe32
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x8950c4]
mov cl, byte [0x8950c8]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x10]
push eax
add eax, 0x10
push eax
lea edx, [esp + 0x128]
push edx
xor bl, bl
mov byte [esp + 0x74], cl
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 0
mov dword [esp + 0x150], 0
mov dword [esp + 0x154], 0
mov dword [esp + 0x158], 0
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
call fcn.00466a60
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0xf0]
push ecx
call fcn.006bde60
lea edx, [edi + 0x40]
push edx
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
call fcn.006bd940
lea edx, [edi + 0x60]
push edx
lea eax, [esp + 0x104]
push eax
lea ecx, [esp + 0xd8]
push ecx
call fcn.006bd940
fld dword [esp + 0xdc]
fsub dword [esp + 0x5c]
mov dword [esp + 0xd8], 0
fstp dword [esp + 0xcc]
fld dword [esp + 0xe0]
fsub dword [esp + 0x60]
fstp dword [esp + 0xd0]
fld dword [esp + 0xe4]
fsub dword [esp + 0x64]
fstp dword [esp + 0xd4]
lea edx, [esp + 0xcc]
push edx
mov eax, edx
push eax
call fcn.0045f490
lea ecx, [edi + 0x200]
push ecx
lea edx, [esp + 0x118]
push edx
lea eax, [esp + 0xbc]
push eax
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
call fcn.006bd940
lea ecx, [esp + 0xc0]
add esp, 0x40
push ecx
mov edx, ecx
push edx
call fcn.0045f490
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov dword [esp + 0x28], eax
mov al, byte [0x9110a0]
add esp, 8
test al, al
mov dword [esp + 0x2c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
je 0x48016e
fld dword [esp + 0x24]
fchs
fstp dword [esp + 0x24]
cmp byte [esi + 4], 3
jne 0x480183
lea eax, [esp + 0x20]
push eax
mov ecx, 0x8ee320
call fcn.0047b300
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x38]
mov dword [esp + 0x58], eax
mov al, byte [0x9110a0]
test al, al
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
je 0x4801ab
fld dword [esp + 0x54]
fchs
fstp dword [esp + 0x54]
cmp byte [esi + 5], 3
jne 0x4801c0
lea ecx, [esp + 0x50]
push ecx
mov ecx, 0x8ee320
call fcn.0047b300
fld dword [esp + 0x50]
lea edx, [esp + 0x90]
fsub dword [esp + 0x20]
push edx
mov eax, edx
push eax
fstp dword [esp + 0x98]
mov dword [esp + 0xa4], 0
fld dword [esp + 0x5c]
fsub dword [esp + 0x2c]
fstp dword [esp + 0x9c]
fld dword [esp + 0x60]
fsub dword [esp + 0x30]
fstp dword [esp + 0xa0]
call fcn.0045f490
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x50], eax
mov al, byte [0x9110a0]
add esp, 8
test al, al
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
je 0x480253
fld dword [esp + 0x44]
fchs
fstp dword [esp + 0x44]
cmp byte [esi + 4], 3
jne 0x480268
lea ecx, [esp + 0x40]
push ecx
mov ecx, 0x8ee320
call fcn.0047b300
fld dword [esp + 0x40]
lea edx, [esp + 0x70]
fsub dword [esp + 0x20]
push edx
mov eax, edx
push eax
fstp dword [esp + 0x78]
fld dword [esp + 0x4c]
fsub dword [esp + 0x2c]
fstp dword [esp + 0x7c]
fld dword [esp + 0x50]
fsub dword [esp + 0x30]
fstp dword [esp + 0x80]
call fcn.0045f490
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x12c]
push edx
lea eax, [esp + 0xe0]
push eax
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
call fcn.006bd940
fld dword [esp + 0xb8]
fmul dword [esp + 0xa8]
add esp, 0x14
fcom dword [0x890968]
fnstsw ax
test ah, 1
jne 0x480486
fld dword [esp + 0xa0]
mov byte [esp + 0x64], 0x31
fmul dword [esp + 0x90]
fld dword [esp + 0xa8]
fmul dword [esp + 0x98]
faddp st(1)
faddp st(1)
fld dword [esp + 0x78]
fmul dword [esp + 0x88]
fld dword [esp + 0x74]
fmul dword [esp + 0x84]
faddp st(1)
fld dword [esp + 0x70]
fmul dword [esp + 0x80]
faddp st(1)
fstp dword [esp + 0x6c]
fcom dword [0x891068]
fnstsw ax
test ah, 0x41
jne 0x480486
fcom dword [0x8950c0]
fnstsw ax
test ah, 5
jp 0x480386
fcomp dword [0x890968]
fnstsw ax
test ah, 0x41
jne 0x48047b
jmp 0x48046a
mov byte [esp + 0x65], 0x30
fstp st(0)
movzx edi, word [edi + 0xc4]
shr di, 1
push edi
call fcn.004692a0
fstp dword [esp + 0xd0]
fld dword [esp + 0x3c]
mov ecx, dword [esi + 0x54]
fmul dword [esp + 0x3c]
mov edx, ecx
fld dword [esp + 0x38]
push 0x417f5c2a
fmul dword [esp + 0x3c]
push edx
mov dword [esp + 0x24], ecx
faddp st(1)
fld dword [esp + 0x3c]
fmul dword [esp + 0x3c]
faddp st(1)
fstp dword [esp + 0x28]
call fcn.0045ded0
and eax, 0x7fff
push eax
call fcn.004692a0
fld dword [esp + 0x2c]
fsqrt
add esp, 0x10
fmul dword [esp + 0xcc]
fdivr dword [0x89096c]
fstp dword [esp + 0x18]
fld dword [esp + 0x28]
fmul dword [esp + 0x28]
fld dword [esp + 0x24]
fmul dword [esp + 0x24]
faddp st(1)
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
faddp st(1)
fsqrt
fmul st(1)
fdivr dword [0x89096c]
fstp dword [esp + 0x1c]
fstp st(0)
fld dword [esp + 0x18]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jne 0x48043e
fld dword [esp + 0x18]
jmp 0x480442
fld dword [esp + 0x1c]
fld dword [esp + 0x1c]
fsub dword [esp + 0x18]
fcom dword [0x890968]
fnstsw ax
test ah, 5
jp 0x480459
fchs
fdiv st(1)
fcomp dword [0x894594]
fnstsw ax
fstp st(0)
test ah, 0x41
jne 0x480488
fld dword [esp + 0x6c]
fcomp dword [0x890968]
fnstsw ax
test ah, 0x41
jne 0x480488
mov bl, 1
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fstp st(0)
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret