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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x248
push esi
xor al, al
push edi
mov byte [esp + 0xb], al
jmp 0x47bf30
mov al, byte [esp + 0xb]
lea ebx, [ebx]
test al, al
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x8c], 0x3f800000
mov dword [esp + 0x78], 0x3f800000
mov dword [esp + 0x64], 0x3f800000
mov dword [esp + 0x50], 0x3f800000
mov dword [esp + 0xc], 0
jne 0x47c03b
mov ecx, dword [ebx + 0xb54]
mov eax, dword [ecx]
call dword [eax + 0xc]
test al, al
je 0x47c090
mov ecx, dword [ebx + 0xb54]
mov eax, dword [ecx + 0x14]
fld dword [eax + 0x24]
mov edx, dword [eax + 0x20]
add eax, 0x20
fstp dword [esp + 0x44]
fld dword [eax + 8]
lea ecx, [eax + 0x10]
fstp dword [esp + 0x48]
fld dword [eax + 0xc]
lea eax, [esp + 0x50]
fstp dword [esp + 0x4c]
mov dword [esp + 0x40], edx
call fcn.00407fe0
mov eax, dword [ebx + 0xb54]
mov dword [esp + 0xc], eax
jmp 0x47c090
cmp al, 1
jne 0x47c090
mov ecx, dword [ebx + 0xb58]
mov edx, dword [ecx]
call dword [edx + 0xc]
test al, al
je 0x47c663
mov eax, dword [ebx + 0xb58]
mov eax, dword [eax + 0x14]
fld dword [eax + 0x24]
mov ecx, dword [eax + 0x20]
add eax, 0x20
fstp dword [esp + 0x44]
fld dword [eax + 8]
mov dword [esp + 0x40], ecx
fstp dword [esp + 0x48]
fld dword [eax + 0xc]
lea ecx, [eax + 0x10]
fstp dword [esp + 0x4c]
lea eax, [esp + 0x50]
call fcn.00407fe0
mov edx, dword [ebx + 0xb58]
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x50]
fld dword [0x10439b0]
mov ecx, dword [esp + 0x54]
fadd dword [0x5bf0d4]
mov edx, dword [esp + 0x58]
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x5c]
fst dword [0x10439b0]
fcomp dword [0x5bf0e8]
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0xe4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xe8], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xf0], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xf4], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xfc], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x100], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x11c], eax
fnstsw ax
mov dword [esp + 0x108], ecx
test ah, 0x41
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x10c], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0x3f99999a
mov dword [esp + 0x18], 0xc0a00000
mov dword [esp + 0x1c], 0
jne 0x47c195
mov dword [0x10439b0], 0
fld dword [0x10439b0]
push ecx
fchs
lea ecx, [esp + 0x1d4]
fstp dword [esp]
push ecx
call fcn.00571d1d
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x28]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea eax, [esp + 0x170]
lea ecx, [esp + 0x1e0]
call fcn.00460320
fld dword [eax + 4]
mov edx, dword [eax]
fstp dword [esp + 0x14]
fld dword [eax + 8]
mov ecx, edx
fstp dword [esp + 0x18]
fld dword [eax + 0xc]
sub esp, 0x10
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x24]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
fstp dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
mov dword [eax + 0xc], edx
lea eax, [esp + 0x190]
lea ecx, [esp + 0xf0]
call fcn.00460320
fld dword [eax + 4]
mov ecx, dword [eax]
fst dword [esp + 0x14]
fld dword [eax + 8]
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x18]
fld dword [eax + 0xc]
mov edx, dword [esp + 0x18]
sub esp, 0x10
fxch st(1)
mov dword [esp + 0xd8], edx
fstp dword [esp + 0xd4]
mov dword [esp + 0x40], 0
mov ecx, dword [esp + 0x40]
fstp dword [esp + 0xdc]
mov eax, esp
mov dword [eax], ecx
mov dword [esp + 0x44], 0
mov edx, dword [esp + 0x44]
mov dword [eax + 4], edx
mov dword [esp + 0x48], 0
mov ecx, dword [esp + 0x48]
mov dword [eax + 8], ecx
mov dword [esp + 0x4c], 0
mov edx, dword [esp + 0x4c]
mov dword [eax + 0xc], edx
lea eax, [esp + 0x180]
lea ecx, [esp + 0xf0]
call fcn.00460320
fld dword [eax]
fld dword [eax + 4]
fstp dword [esp + 0x34]
fld dword [eax + 8]
fstp dword [esp + 0x38]
fld dword [eax + 0xc]
fstp dword [esp + 0x3c]
fsub dword [esp + 0x10]
fstp dword [esp + 0x130]
fld dword [esp + 0x34]
fsub dword [esp + 0x14]
fld dword [esp + 0x38]
fsub dword [esp + 0x18]
fxch st(1)
fstp dword [esp + 0xb4]
fld st(0)
fld dword [esp + 0xb4]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld dword [esp + 0x130]
fmul dword [esp + 0x130]
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fcom dword [0x5bef98]
fnstsw ax
test ah, 0x44
jnp 0x47c329
fdivr dword [0x5bef9c]
fld dword [esp + 0x130]
mov esi, dword [esp + 0xc]
fmul st(1)
add esi, 0x30
mov ecx, 0x10
lea edi, [esp + 0x190]
fstp dword [esp + 0xb0]
rep movsd dword es:[edi], dword [esi]
fld dword [esp + 0xb4]
fmul st(1)
fxch st(2)
fmul st(1)
fstp dword [esp + 0xb8]
fxch st(1)
fstp dword [esp + 0x124]
mov ecx, dword [esp + 0xc]
fstp st(0)
mov eax, dword [esp + 0xb8]
push ecx
fld dword [ecx + 0x174]
lea edx, [esp + 0x214]
fchs
mov dword [esp + 0x12c], eax
fstp dword [esp]
push edx
call fcn.00571dba
mov dword [esp + 0x24], 0x3f800000
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], 0
mov edx, dword [esp + 0x28]
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ecx
lea ecx, [esp + 0x190]
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xd8], edx
push ecx
lea edx, [esp + 0xd4]
mov dword [esp + 0xe0], eax
push edx
lea eax, [esp + 0x98]
push eax
call fcn.00570cc6
fld dword [esp + 0x94]
movzx edx, byte [esp + 0xb]
fld dword [esp + 0x90]
mov ecx, dword [esp + 0x98]
lea eax, [edx + 0xc7]
mov dword [esp + 0x28], ecx
shl eax, 4
lea ecx, [eax + ebx]
fsub dword [ecx]
fstp dword [esp + 0x150]
fsub dword [ecx + 4]
fld dword [ecx + 8]
fsubr dword [esp + 0x28]
fxch st(1)
fstp dword [esp + 0xa4]
fstp dword [esp + 0xa8]
fld dword [0x5bef9c]
fdiv dword [ebp + 0xc]
fstp dword [esp + 0xc]
fld dword [esp + 0x150]
fmul dword [esp + 0xc]
fld dword [esp + 0xa4]
fmul dword [esp + 0xc]
fld dword [esp + 0xa8]
fmul dword [esp + 0xc]
fxch st(1)
fstp dword [esp + 0xa4]
fstp dword [esp + 0xa8]
fadd dword [ecx]
fld dword [ecx + 4]
mov esi, dword [esp + 0x50]
fadd dword [esp + 0xa4]
fld dword [ecx + 8]
xor edi, edi
fadd dword [esp + 0xa8]
fld st(2)
fstp dword [esp + 0x20]
mov dword [esp + 0x2c], 0
fxch st(1)
fstp dword [esp + 0x24]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x144], eax
mov eax, edx
fst dword [esp + 0x148]
shl eax, 6
fld st(1)
mov dword [eax + ebx + 0xb90], esi
mov esi, dword [esp + 0x54]
mov dword [eax + ebx + 0xb94], esi
mov esi, dword [esp + 0x58]
mov dword [eax + ebx + 0xb98], esi
mov esi, dword [esp + 0x5c]
mov dword [eax + ebx + 0xb9c], esi
mov esi, dword [esp + 0x60]
mov dword [eax + ebx + 0xba0], esi
lea eax, [eax + ebx + 0xb90]
mov esi, dword [esp + 0x64]
mov dword [eax + 0x14], esi
mov esi, dword [esp + 0x68]
mov dword [eax + 0x18], esi
mov esi, dword [esp + 0x6c]
mov dword [eax + 0x1c], esi
mov esi, dword [esp + 0x70]
mov dword [eax + 0x20], esi
mov esi, dword [esp + 0x74]
mov dword [eax + 0x24], esi
mov esi, dword [esp + 0x78]
mov dword [eax + 0x28], esi
mov esi, dword [esp + 0x7c]
mov dword [eax + 0x2c], esi
mov esi, dword [esp + 0x80]
mov dword [eax + 0x30], esi
mov esi, dword [esp + 0x84]
mov dword [eax + 0x34], esi
mov esi, dword [esp + 0x88]
mov dword [eax + 0x38], esi
mov esi, dword [esp + 0x8c]
mov dword [eax + 0x3c], esi
mov esi, dword [esp + 0x90]
lea eax, [edx + 0xc5]
shl eax, 4
mov dword [eax + ebx], esi
mov esi, dword [esp + 0x94]
mov dword [eax + ebx + 4], esi
mov esi, dword [esp + 0x98]
add eax, ebx
mov dword [eax + 8], esi
mov esi, dword [esp + 0x9c]
mov dword [eax + 0xc], esi
fstp dword [ecx]
mov eax, dword [esp + 0x24]
mov dword [ecx + 4], eax
fstp dword [ecx + 8]
mov dword [ecx + 0xc], edi
mov ecx, edx
shl ecx, 7
lea eax, [ecx + ebx]
mov ecx, dword [esp + 0xc4]
mov dword [eax + 0x1fc], edx
mov edx, dword [esp + 0x10]
lea esi, [eax + 0x1a4]
mov dword [esi], edx
mov edx, dword [esp + 0xc8]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0xcc]
mov dword [esi + 8], edx
mov edx, dword [esp + 0xb0]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x124]
mov dword [eax + 0x1d4], edx
mov edx, dword [esp + 0x128]
mov dword [eax + 0x1d8], ecx
mov ecx, dword [esp + 0x144]
mov dword [eax + 0x1dc], edx
mov edx, dword [esp + 0x148]
mov dword [eax + 0x1e0], edi
fstp dword [eax + 0x1c4]
mov dword [eax + 0x1c8], ecx
mov dword [eax + 0x1cc], edx
mov dword [eax + 0x1d0], edi
add eax, 0x2a4
mov ecx, esi
call fcn.004425b0
mov ecx, dword [0x1043a04]
cmp ecx, edi
je 0x47c651
mov eax, dword [ecx]
push esi
call dword [eax]
mov al, byte [esp + 0xb]
inc al
cmp al, 2
mov byte [esp + 0xb], al
jb 0x47bf26
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8