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

Disassembly:
push 0xffffffffffffffff
push 0x5b063b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
mov ebx, dword [esp + 0x98]
fld dword [ebx + 0x3b0]
push ebp
push esi
mov esi, ecx
fsub dword [esi + 0x3b0]
push edi
mov ecx, ebx
mov dword [esp + 0x34], esi
fld st(0)
fld dword [ebx + 0x3a8]
fsub dword [esi + 0x3a8]
fld st(0)
fmul st(1)
fld st(3)
fmul st(4)
faddp st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp dword [esp + 0x14]
fstp st(0)
fstp st(1)
fstp st(0)
call fcn.0047ce00
push eax
call fcn.004814e0
fld dword [esp + 0x18]
add esp, 4
test al, al
je 0x47f6b2
fcomp dword [0x5ca698]
fnstsw ax
test ah, 1
jne 0x47f6bf
xor eax, eax
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x90
ret 4
fcomp dword [0x5ca900]
fnstsw ax
test ah, 1
je 0x47f695
mov ecx, esi
call fcn.00481ba0
test eax, eax
je 0x47f695
mov ecx, dword [esi + 0x364]
call fcn.004a28c0
mov edi, eax
mov ecx, esi
mov dword [esp + 0x18], edi
call fcn.00481360
fstp dword [esp + 0x58]
mov ebp, dword [edi + 0x20]
cmp ebp, dword [edi + 0x24]
mov dword [esp + 0x14], ebp
je 0x47f695
lea eax, [ebp + 0x28]
mov dword [esp + 0x30], eax
jmp 0x47f702
mov ebx, dword [esp + 0xa4]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x48]
push edx
lea ecx, [esi + 0x488]
mov dword [esp + 0x18], ebp
call fcn.0047dec0
mov eax, dword [esi + 0x48c]
mov edi, dword [esp + 0x44]
cmp edi, eax
je 0x47f76b
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x3c]
add edi, 0x10
push ecx
mov ecx, edi
mov dword [esp + 0x18], ebx
call fcn.00492230
mov ebx, dword [eax]
cmp ebx, dword [edi + 4]
je 0x47f76b
mov edx, dword [esp + 0x18]
cmp dword [edx + 0x18], 2
je 0x47f95c
mov ecx, esi
call fcn.0051ee80
fcomp dword [ebx + 0x10]
fnstsw ax
test ah, 5
jnp 0x47f95c
mov ecx, dword [0x6247d4]
call fcn.004fa6b0
fsubr dword [esp + 0x58]
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
fstp dword [esp + 0x14]
call fcn.0047da90
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x34]
mov ebx, eax
call fcn.0047dad0
mov edi, eax
mov ecx, esi
mov dword [esp + 0x48], edi
call fcn.0048a640
fmul dword [0x5bba24]
mov ecx, esi
fcos
fstp dword [esp + 0x28]
call fcn.0048a640
cmp ebx, edi
fmul dword [0x5bba24]
fsin
fstp dword [esp + 0x2c]
je 0x47f95c
fld dword [ebx + 0x14]
lea ebp, [ebx + 0x10]
fsub dword [ebp + 0x10]
mov ecx, 7
mov esi, ebp
lea edi, [esp + 0x5c]
fstp dword [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
fld dword [ebp]
fsub dword [ebp + 0xc]
fstp dword [esp + 0x1c]
mov esi, dword [esp + 0x34]
mov ecx, esi
mov dword [esp + 0x74], 0x41a00000
call fcn.0047a470
mov ecx, esi
fld dword [esp + 0x1c]
fmul st(1)
fld dword [esp + 0x10]
fmul st(2)
fadd dword [ebp + 0x10]
fstp dword [esp + 0x10]
fadd dword [ebp + 0xc]
fstp st(1)
fld dword [esp + 0x28]
fmul st(1)
fld dword [esp + 0x10]
fmul dword [esp + 0x2c]
fsubp st(1)
fstp dword [esp + 0x5c]
fmul dword [esp + 0x2c]
fld dword [esp + 0x10]
fmul dword [esp + 0x28]
faddp st(1)
fstp dword [esp + 0x60]
call fcn.005042b0
fld dword [esp + 0x5c]
mov ecx, esi
fadd dword [eax]
fstp dword [esp + 0x5c]
fld dword [esp + 0x60]
fadd dword [eax + 4]
fstp dword [esp + 0x60]
fld dword [esp + 0x64]
fadd dword [eax + 8]
fstp dword [esp + 0x64]
fld dword [esp + 0x28]
fmul dword [ebp + 0xc]
fld dword [esp + 0x2c]
fmul dword [ebp + 0x10]
fsubp st(1)
fstp dword [esp + 0x68]
fld dword [esp + 0x2c]
fmul dword [ebp + 0xc]
fld dword [esp + 0x28]
fmul dword [ebp + 0x10]
faddp st(1)
fstp dword [esp + 0x6c]
call fcn.005042b0
fld dword [esp + 0x68]
mov ebp, dword [esp + 0xa4]
fadd dword [eax]
fstp dword [esp + 0x68]
fld dword [esp + 0x6c]
fadd dword [eax + 4]
fstp dword [esp + 0x6c]
fld dword [esp + 0x70]
fadd dword [eax + 8]
mov eax, dword [ebp + 0x278]
fstp dword [esp + 0x70]
mov esi, dword [eax]
cmp esi, eax
je 0x47f902
mov edi, edi
mov edi, dword [esi + 0x1c]
cmp edi, dword [esi + 0x20]
je 0x47f8f8
lea edx, [esp + 0x5c]
push edi
push edx
call fcn.0048aa80
add esp, 8
test al, al
jne 0x47f982
mov eax, dword [esi + 0x20]
add edi, 0x1c
cmp edi, eax
jne 0x47f8d8
mov esi, dword [esi]
cmp esi, dword [ebp + 0x278]
jne 0x47f8d0
mov al, byte [ebx + 0x2d]
test al, al
jne 0x47f94a
mov eax, dword [ebx + 8]
mov cl, byte [eax + 0x2d]
test cl, cl
jne 0x47f92d
mov ebx, eax
mov eax, dword [ebx]
mov cl, byte [eax + 0x2d]
test cl, cl
jne 0x47f94a
mov edi, edi
mov ebx, eax
mov eax, dword [ebx]
mov cl, byte [eax + 0x2d]
test cl, cl
je 0x47f920
jmp 0x47f94a
mov eax, dword [ebx + 4]
mov cl, byte [eax + 0x2d]
test cl, cl
jne 0x47f948
cmp ebx, dword [eax + 8]
jne 0x47f948
mov ebx, eax
mov eax, dword [eax + 4]
mov cl, byte [eax + 0x2d]
test cl, cl
je 0x47f937
mov ebx, eax
cmp ebx, dword [esp + 0x48]
jne 0x47f7d0
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x24]
add ebp, 0x34
add edx, 0x34
cmp ebp, ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x30], edx
jne 0x47f6fb
jmp 0x47f695
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x48]
add ecx, 0x488
push eax
mov dword [esp + 0x18], ecx
call fcn.0047dec0
mov esi, dword [esp + 0x34]
mov eax, dword [esi + 0x48c]
mov ebx, dword [esp + 0x44]
cmp ebx, eax
jne 0x47fb0c
lea ecx, [esp + 0x1c]
call fcn.00431bc0
mov dword [esp + 0x20], eax
mov byte [eax + 0x15], 1
mov eax, dword [esp + 0x20]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x20]
mov dword [eax], eax
mov eax, dword [esp + 0x20]
xor ebx, ebx
mov dword [eax + 8], eax
mov dword [esp + 0x24], ebx
mov ecx, esi
mov dword [esp + 0x9c], ebx
call fcn.0051ee80
mov ecx, dword [esp + 0x18]
fadd dword [ecx + 8]
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x4c]
push eax
fstp dword [esp + 0x44]
lea ecx, [esp + 0x24]
mov dword [esp + 0x40], ebp
call fcn.0047eb70
sub esp, 0xc
lea edx, [esp + 0x28]
mov dword [esp + 0x44], esp
mov ecx, esp
push edx
call fcn.0047f050
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x94]
push ecx
call fcn.0047f280
add esp, 0x14
mov edx, dword [eax]
add eax, 4
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0xa0], 1
mov dword [esp + 0x4c], edx
call fcn.0047f050
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x18]
mov byte [esp + 0xa4], 2
call fcn.0047f550
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
push eax
push ecx
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0xa8], 1
call fcn.0047c1f0
mov eax, dword [esp + 0x50]
push eax
call fcn.0057ad56
mov eax, dword [esp + 0x90]
add esp, 4
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x94]
mov byte [esp + 0xa8], bl
call fcn.0047c1f0
mov edx, dword [esp + 0x8c]
push edx
call fcn.0057ad56
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
add esp, 4
push eax
push ecx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0xa8], 0xffffffff
call fcn.0047c1f0
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0057ad56
add esp, 4
jmp 0x47fb5b
mov ecx, esi
call fcn.0051ee80
mov edx, dword [esp + 0x18]
fadd dword [edx + 8]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x4c]
push ecx
fstp dword [esp + 0x44]
lea ecx, [ebx + 0x10]
mov dword [esp + 0x40], ebp
call fcn.0047eb70
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x18]
cmp eax, 2
mov ebx, dword [ebx + 0x18]
je 0x47fb52
cmp eax, 1
je 0x47fb52
cmp ebx, dword [ecx + 0x14]
jle 0x47fb5b
jmp 0x47f695
cmp ebx, 0x10
jg 0x47f695
mov ecx, ebp
call fcn.005042b0
mov ecx, esi
mov ebx, eax
call fcn.005042b0
fld dword [ebx]
fadd dword [eax]
mov ecx, ebp
fld dword [ebx + 4]
fadd dword [eax + 4]
fld dword [ebx + 8]
fadd dword [eax + 8]
fstp dword [esp + 0x24]
fxch st(1)
fmul dword [0x5bba5c]
fstp dword [esp + 0x78]
fmul dword [0x5bba5c]
fstp dword [esp + 0x7c]
fld dword [esp + 0x24]
fmul dword [0x5bba5c]
fstp dword [esp + 0x80]
call fcn.0047ce00
push eax
call fcn.004814e0
add esp, 4
test al, al
je 0x47fc14
mov ecx, esi
call fcn.005042b0
fld dword [edi]
fadd dword [eax]
fld dword [eax + 4]
fadd dword [edi + 4]
fld dword [eax + 8]
fadd dword [edi + 8]
fstp dword [esp + 0x40]
fxch st(1)
fmul dword [0x5bba5c]
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x78], edx
fmul dword [0x5bba5c]
fstp dword [esp + 0x20]
mov eax, dword [esp + 0x20]
fld dword [esp + 0x40]
mov dword [esp + 0x7c], eax
fmul dword [0x5bba5c]
fstp dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x80], ecx
mov edx, dword [esi + 0x260]
mov ecx, dword [esp + 0x18]
push 1
push edx
lea eax, [esp + 0x80]
push eax
push ebp
push ecx
mov ecx, esi
call fcn.00481d50
mov eax, 1
jmp 0x47f697