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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x526f7d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd4
push ebx
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0xc]
call fcn.0051af14
lea ecx, [esp + 0x10]
mov dword [esp + 0xe8], 0
call fcn.0051af14
mov edi, dword [ebp + 8]
mov byte [esp + 0xe8], 1
mov esi, 0x28
call fcn.0047da90
mov eax, dword [eax + esi]
cmp eax, 4
ja case.default.0x47e6c4
jmp dword [eax*4 + 0x47ee08]
push ebx
lea ecx, [esp + 0x10]
call fcn.0051b430
jmp 0x47e736
lea eax, [ebx + 8]
lea ecx, [esp + 0xc]
push eax
call fcn.0051b430
mov ecx, dword [edi]
mov eax, dword [ecx - 8]
test eax, eax
je 0x47e736
push 0x55a1dc
lea ecx, [esp + 0x10]
call fcn.0051b328
push edi
lea ecx, [esp + 0x10]
call fcn.0051b430
jmp 0x47e736
lea edx, [esp + 0x28]
mov ecx, ebx
push edx
call fcn.0047e270
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xec], 2
call fcn.0051b430
lea ecx, [esp + 0x28]
mov byte [esp + 0xe8], 1
call fcn.0051af0e
push 0x5577a4
lea ecx, [esp + 0x10]
call fcn.0051b328
jmp case.default.0x47e6c4
lea ecx, [esp + 0x1c]
call fcn.0051af14
mov ecx, ebx
mov byte [esp + 0xe8], 3
call fcn.0047e240
push eax
mov eax, dword [ebx + 4]
push eax
lea ecx, [esp + 0x24]
push str._s_d
push ecx
call fcn.0051af38
add esp, 0x10
lea edx, [esp + 0x1c]
lea ecx, [esp + 0xc]
push edx
call fcn.0051b430
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe8], 1
call fcn.0051af0e
jmp case.default.0x47e6c4
lea eax, [ebx + 0x38]
lea ecx, [esp + 0xc]
push eax
call fcn.0051b430
add esi, 4
cmp esi, 0x34
jl 0x47e6b3
mov esi, 0x34
call fcn.0047da90
mov eax, dword [eax + esi]
cmp eax, 4
ja case.default.0x47e7c5
jmp dword [eax*4 + 0x47ee1c]
push ebx
lea ecx, [esp + 0x14]
call fcn.0051b430
jmp 0x47e837
lea ecx, [ebx + 8]
push ecx
lea ecx, [esp + 0x14]
call fcn.0051b430
mov edx, dword [edi]
mov eax, dword [edx - 8]
test eax, eax
je 0x47e837
push 0x55a1dc
lea ecx, [esp + 0x14]
call fcn.0051b328
push edi
lea ecx, [esp + 0x14]
call fcn.0051b430
jmp 0x47e837
lea eax, [esp + 0x28]
mov ecx, ebx
push eax
call fcn.0047e270
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xec], 4
call fcn.0051b430
lea ecx, [esp + 0x28]
mov byte [esp + 0xe8], 1
call fcn.0051af0e
push 0x5577a4
lea ecx, [esp + 0x14]
call fcn.0051b328
jmp case.default.0x47e7c5
lea ecx, [esp + 0x1c]
call fcn.0051af14
mov ecx, ebx
mov byte [esp + 0xe8], 5
call fcn.0047e240
mov ecx, dword [ebx + 4]
push eax
push ecx
lea edx, [esp + 0x24]
push str._s_d
push edx
call fcn.0051af38
add esp, 0x10
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
call fcn.0051b430
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe8], 1
call fcn.0051af0e
jmp case.default.0x47e7c5
lea ecx, [ebx + 0x38]
push ecx
lea ecx, [esp + 0x14]
call fcn.0051b430
add esi, 4
cmp esi, 0x40
jl 0x47e7b4
push 0
push 0
push 0x3fe00000
push 0
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.0051b01c
lea ecx, [ebx + 0x110]
call fcn.00480b10
push 0
push 0
push 0x3fe00000
push 0
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.0051b01c
lea ecx, [ebx + 0x150]
mov dword [esp + 0x3c], ecx
call fcn.00480b10
lea ecx, [esp + 0x68]
call fcn.00484410
lea ecx, [esp + 0x50]
call fcn.00484410
lea ecx, [esp + 0x50]
lea edx, [esp + 0x68]
push ecx
push edx
mov ecx, ebx
call fcn.0047de80
fld qword [esp + 0x50]
fsub qword [esp + 0x68]
fld qword [esp + 0x58]
fsub qword [esp + 0x70]
fstp qword [esp + 0x88]
fld qword [esp + 0x60]
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x88]
fsub qword [esp + 0x78]
mov dword [esp + 0xa4], ecx
lea ecx, [esp + 0x98]
mov dword [esp + 0xa0], eax
push ecx
lea ecx, [esp + 0xb4]
fstp qword [esp + 0x94]
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x98]
fstp qword [esp + 0x9c]
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], eax
call fcn.004827d0
fld qword [ebx + 0x130]
fld qword [ebx + 0x170]
fcompp
fnstsw ax
test ah, 1
je 0x47e9bb
fld qword [ebx + 0x130]
jmp 0x47e9c1
fld qword [ebx + 0x170]
fstp qword [esp + 0x1c]
lea ecx, [esp + 0x98]
call fcn.00483fc0
fstp qword [esp + 0x2c]
call fcn.0047da90
fld qword [esp + 0x2c]
fmul qword [eax + 0x20]
mov edx, dword [ebx + 0x28]
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0x3ff00000
fstp qword [esp + 0x3c]
fld qword [esp + 0x34]
fabs
fcomp qword [0x539d30]
fnstsw ax
test ah, 0x41
jne 0x47ea93
mov ecx, dword [esp + 0x38]
lea esi, [esp + 0xb0]
push ecx
push edx
sub esp, 0x18
mov ecx, 6
mov edi, esp
lea eax, [esp + 0xa0]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00482850
fld qword [esp + 0x60]
fmul qword [0x531170]
mov esi, eax
add esp, 0x24
mov ecx, 6
lea edi, [esp + 0xb0]
fcomp qword [0x5345d8]
rep movsd dword es:[edi], dword [esi]
fnstsw ax
test ah, 0x41
jne 0x47ea76
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0x40000000
fld qword [esp + 0x3c]
fmul qword [0x539d40]
fcomp qword [0x531798]
fnstsw ax
test ah, 1
je 0x47eb39
jmp 0x47eac2
fld qword [esp + 0x1c]
fcomp qword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x47eada
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x47eac2
fld qword [esp + 0x2c]
fdiv qword [esp + 0x1c]
fld qword [0x531170]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x47ead4
fstp st(0)
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0x3fe00000
jmp 0x47eb39
fstp qword [esp + 0x14]
jmp 0x47eb39
fld qword [esp + 0x1c]
fcomp qword [esp + 0x3c]
fnstsw ax
test ah, 1
je 0x47eb29
fld qword [esp + 0x3c]
fdiv qword [esp + 0x1c]
fadd st(0), st(0)
call fcn.0051be16
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fmul qword [0x531170]
fst qword [esp + 0x14]
fcomp qword [0x5345d8]
fnstsw ax
test ah, 1
jne 0x47eb39
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0x40080000
jmp 0x47eb39
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0x3ff00000
lea esi, [ebx + 0x34]
push 0x55a1e4
mov ecx, esi
call fcn.0051b484
test eax, eax
jl 0x47ebe8
push esi
lea ecx, [esp + 0x20]
call fcn.0051b01c
push 0x55a1e0
lea ecx, [esp + 0x20]
mov byte [esp + 0xec], 6
call fcn.0051b484
test eax, eax
jl 0x47eb80
push 2
push eax
lea ecx, [esp + 0x24]
call fcn.0051bade
push 0x55a1e4
lea ecx, [esp + 0x20]
call fcn.0051b484
test eax, eax
jl 0x47eb9e
push 2
push eax
lea ecx, [esp + 0x24]
call fcn.0051bade
mov ecx, dword [esp + 0x1c]
push ecx
nop
call fcn.0061e878
fld qword [0x531cd0]
add esp, 4
cmp eax, 0x32
fst qword [esp + 0x14]
jle 0x47ede5
add eax, 0xffffffce
test eax, eax
jle 0x47ee00
fmul qword [0x539d38]
dec eax
jne 0x47ebca
fstp qword [esp + 0x14]
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe8], 1
call fcn.0051af0e
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
push esi
push edi
lea ecx, [ebx + 0x110]
call fcn.00480f30
mov ecx, dword [esp + 0x28]
push esi
push edi
call fcn.00480f30
sub esp, 0x18
mov ecx, 6
lea esi, [esp + 0xc8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x110]
call fcn.00480e70
sub esp, 0x18
mov ecx, 6
lea esi, [esp + 0xc8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x40]
call fcn.00480e70
fld qword [esp + 0x68]
fadd qword [esp + 0x50]
push 0x40568000
push 0
sub esp, 0x18
mov ecx, 6
fmul qword [0x531170]
lea esi, [esp + 0xd0]
mov edi, esp
lea edx, [esp + 0xe8]
rep movsd dword es:[edi], dword [esi]
fstp qword [esp + 0x34]
fld qword [esp + 0x90]
fadd qword [esp + 0x78]
fmul qword [0x531170]
push edx
fstp qword [esp + 0x68]
call fcn.00482850
fld qword [ebx + 0x138]
fld qword [esp + 0xec]
mov ecx, dword [ebx + 0x13c]
mov edx, dword [esp + 0xf4]
mov eax, dword [ebx + 0x138]
add esp, 0x24
fmul st(1)
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
lea ecx, [esp + 0x50]
mov dword [esp + 0x34], eax
fadd qword [esp + 0x14]
mov eax, dword [esp + 0xd4]
lea edx, [esp + 0x68]
lea esi, [ebx + 0x110]
push ecx
push edx
mov ecx, esi
fstp qword [esp + 0x34]
mov dword [esp + 0x48], eax
fstp st(0)
call fcn.00480de0
fld qword [esp + 0x3c]
fmul qword [esp + 0x34]
sub esp, 8
fadd qword [esp + 0x4c]
fld qword [esp + 0x78]
fadd qword [esp + 0x60]
fmul qword [0x531170]
fsubp st(1)
fstp qword [esp]
fld qword [esp + 0x70]
fadd qword [esp + 0x58]
fmul qword [0x531170]
fsubr qword [esp + 0x34]
sub esp, 8
mov ecx, esi
fstp qword [esp]
call fcn.00480e30
fld qword [ebx + 0x138]
fmul qword [esp + 0xc8]
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x50]
lea ecx, [esp + 0x68]
push eax
fsubr qword [esp + 0x18]
push ecx
mov ecx, esi
fstp qword [esp + 0x34]
fld qword [ebx + 0x138]
fld qword [esp + 0xd8]
fmul st(1)
fsubr qword [esp + 0x4c]
fstp qword [esp + 0x4c]
fstp st(0)
call fcn.00480de0
fld qword [esp + 0x70]
fadd qword [esp + 0x58]
sub esp, 8
mov ecx, esi
sub esp, 8
fmul qword [0x531170]
fsubr qword [esp + 0x54]
fstp qword [esp + 8]
fld qword [esp + 0x78]
fadd qword [esp + 0x60]
fmul qword [0x531170]
fsubr qword [esp + 0x3c]
fstp qword [esp]
call fcn.00480e30
lea ecx, [esp + 0x10]
mov byte [esp + 0xe8], 0
call fcn.0051af0e
lea ecx, [esp + 0xc]
mov dword [esp + 0xe8], 0xffffffff
call fcn.0051af0e
mov ecx, dword [esp + 0xe0]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
jge 0x47ee00
mov ecx, 0x32
sub ecx, eax
test ecx, ecx
jle 0x47ee00
fmul qword [0x534108]
dec ecx
jne 0x47edf2
jmp 0x47ebd3
fstp st(0)
jmp 0x47ebd7