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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x4faae8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x64222c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 8]
xor esi, esi
cmp ecx, esi
jbe 0x47dd7b
cmp ecx, 1
jne 0x47dd35
fldz
mov ecx, dword [edi]
fcom qword [ecx]
fnstsw ax
test ah, 0x44
jnp 0x47dd79
cmp dword [ecx + 8], esi
je 0x47dd79
mov ecx, dword [ebp + 0x14]
fstp qword [esp + 0x1c]
lea eax, [esp + 0x1c]
push eax
call fcn.0047a290
jmp 0x47e0e3
cmp ecx, 2
jne 0x47ddb4
mov edx, dword [edi]
cmp dword [edx + 0x18], esi
jne 0x47ddb4
fld qword [edx + 0x10]
fdiv qword [edx]
fchs
fldz
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x47dd90
fld qword [ebp + 0xc]
fchs
fcomp st(2)
fnstsw ax
test ah, 5
jp 0x47dd65
fstp st(1)
jmp 0x47dd92
mov ecx, dword [edx + 8]
fstp st(0)
and ecx, 0x80000001
jns 0x47dd77
dec ecx
or ecx, 0xfffffffe
inc ecx
jne 0x47dd92
fstp st(0)
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fstp st(0)
fild dword [edx + 8]
fld1
fdivrp st(1)
call fcn.004bda10
fstp qword [esp + 0x1c]
mov ecx, dword [ebp + 0x14]
lea edx, [esp + 0x1c]
push edx
call fcn.0047a290
jmp 0x47e0e3
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
xor ebx, ebx
mov dword [esp + 0x80], esi
cmp ecx, esi
jbe 0x47de7a
mov eax, dword [edi]
mov ecx, dword [eax + esi + 8]
fld qword [eax + esi]
add eax, esi
mov eax, dword [eax + 0xc]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
test eax, eax
je 0x47ddf0
inc dword [eax + 4]
mov byte [esp + 0x80], 1
test ecx, ecx
je 0x47de4b
fimul dword [esp + 0x24]
dec ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x24], ecx
push eax
lea ecx, [esp + 0x3c]
fstp qword [esp + 0x20]
call fcn.0047d7b0
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x80], 0
test ecx, ecx
je 0x47de40
dec dword [ecx + 4]
cmp dword [ecx + 4], 0
jg 0x47de38
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esp + 0x28], 0
inc ebx
add esi, 0x10
cmp ebx, dword [edi + 8]
jb 0x47ddd3
jmp 0x47de6c
fstp st(0)
mov byte [esp + 0x80], 0
test eax, eax
je 0x47de6c
dec dword [eax + 4]
cmp dword [eax + 4], 0
jg 0x47de6c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push 1
call eax
xor eax, eax
cmp dword [esp + 0x40], eax
ja 0x47debb
mov eax, dword [esp + 0x38]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x80], 0xffffffff
je 0x47dea6
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.0047aa90
push ecx
push 0x10
push eax
call fcn.004ba650
push esi
call fcn.0049b6ce
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
fld qword [ebp + 0xc]
lea edx, [esp + 0x2c]
push edx
sub esp, 8
lea eax, [esp + 0x44]
fstp qword [esp]
push eax
mov byte [esp + 0x90], 2
call fcn.0047dcd0
add esp, 0x10
test eax, eax
jne 0x47dfca
mov ecx, dword [esp + 0x34]
inc ecx
push ecx
lea ecx, [esp + 0x30]
call fcn.00470660
fldz
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
fstp qword [eax + edx*8]
inc dword [esp + 0x34]
fld qword [ebp + 0xc]
lea ecx, [esp + 0x1c]
push ecx
sub esp, 8
fstp qword [esp]
push 1
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x4c]
push eax
xor eax, eax
call fcn.0047a4d0
add esp, 0x18
test eax, eax
je 0x47df91
mov esi, dword [ebp + 0x14]
mov ecx, dword [esi + 8]
inc ecx
push ecx
mov ecx, esi
call fcn.00470660
fld qword [esp + 0x1c]
mov edx, dword [esi + 8]
mov eax, dword [esi]
fstp qword [eax + edx*8]
mov eax, dword [esp + 0x2c]
inc dword [esi + 8]
test eax, eax
je 0x47df69
push eax
call fcn.0049b6ce
add esp, 4
mov eax, dword [esp + 0x38]
mov dword [esp + 0x80], 0xffffffff
test eax, eax
je 0x47e0e3
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.0047aa90
push ecx
jmp 0x47e0d2
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x47dfa2
push eax
call fcn.0049b6ce
add esp, 4
mov eax, dword [esp + 0x38]
mov dword [esp + 0x80], 0xffffffff
test eax, eax
je 0x47dea6
mov edx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.0047aa90
push edx
jmp 0x47de95
fld qword [ebp + 0xc]
lea eax, [esp + 0x1c]
push eax
sub esp, 8
fstp qword [esp]
push 1
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x4c]
push edx
xor eax, eax
call fcn.0047a4d0
mov esi, dword [ebp + 0x14]
add esp, 0x18
test eax, eax
je 0x47e010
mov eax, dword [esi + 8]
inc eax
push eax
mov ecx, esi
call fcn.00470660
fld qword [esp + 0x1c]
mov ecx, dword [esi + 8]
mov edx, dword [esi]
fstp qword [edx + ecx*8]
inc dword [esi + 8]
xor ebx, ebx
cmp dword [esp + 0x34], ebx
jbe 0x47e084
fld qword [ebp + 0xc]
lea eax, [esp + 0x1c]
push eax
sub esp, 8
fstp qword [esp]
push 0
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x4c]
push edx
mov eax, ebx
call fcn.0047a4d0
add esp, 0x18
test eax, eax
je 0x47e07d
mov ecx, dword [esi + 8]
test ecx, ecx
jbe 0x47e065
mov eax, dword [esi]
fld qword [esp + 0x1c]
fsub qword [eax + ecx*8 - 8]
lea eax, [eax + ecx*8 - 8]
fabs
fld qword [ebp + 0xc]
fadd st(0), st(0)
fcompp
fnstsw ax
test ah, 0x41
je 0x47e07d
inc ecx
push ecx
mov ecx, esi
call fcn.00470660
fld qword [esp + 0x1c]
mov ecx, dword [esi + 8]
mov edx, dword [esi]
fstp qword [edx + ecx*8]
inc dword [esi + 8]
inc ebx
cmp ebx, dword [esp + 0x34]
jb 0x47e018
cmp dword [esi + 8], 0
mov eax, dword [esp + 0x2c]
ja 0x47e0a6
test eax, eax
je 0x47e09b
push eax
call fcn.0049b6ce
add esp, 4
mov eax, dword [esp + 0x38]
test eax, eax
jmp 0x47de7c
test eax, eax
je 0x47e0b3
push eax
call fcn.0049b6ce
add esp, 4
mov eax, dword [esp + 0x38]
mov dword [esp + 0x80], 0xffffffff
test eax, eax
je 0x47e0e3
mov edx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.0047aa90
push edx
push 0x10
push eax
call fcn.004ba650
push esi
call fcn.0049b6ce
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret