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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x10c]
test eax, eax
jne 0x4f8835
mov eax, dword [edi + 0x108]
test eax, eax
jne 0x4f883c
mov ecx, edi
call fcn.004f22c0
fld qword [ebp + 0x10]
mov eax, dword [edi + 0xd4]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
xor ebx, ebx
fstp qword [esp + 0x88]
fld qword [ebp + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
fstp qword [esp + 0x90]
test eax, eax
mov dword [esp + 0x10], 0x93369d1b
mov dword [esp + 0x14], 0x50c0de15
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
jle 0x4f8905
mov dword [esp + 0xc], esi
mov eax, dword [edi + 0xd0]
mov ecx, dword [esp + 0xc]
add eax, ecx
lea edx, [esp + 0x98]
push edx
fld qword [eax]
fstp qword [esp + 0x9c]
fld qword [eax + 8]
fstp qword [esp + 0xa4]
fld qword [eax + 0x10]
lea eax, [esp + 0x84]
fstp qword [esp + 0xac]
push eax
call fcn.00464630
fcom qword [esp + 0x18]
add esp, 8
fnstsw ax
test ah, 1
je 0x4f88eb
fcom qword [0x691f50]
fnstsw ax
test ah, 0x41
jne 0x4f8930
fstp qword [esp + 0x10]
mov ebx, esi
jmp 0x4f88ed
fstp st(0)
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
inc esi
add ecx, 0x18
cmp esi, eax
mov dword [esp + 0xc], ecx
jl 0x4f888a
test ebx, ebx
jne 0x4f897f
mov eax, dword [edi + 0xe4]
mov esi, 1
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x34], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
jmp 0x4f89d0
mov ecx, dword [edi + 0xe4]
mov eax, dword [ebp + 0x20]
mov edx, dword [ecx + esi*8]
mov dword [eax], edx
lea edx, [esi + esi*2]
mov ecx, dword [ecx + esi*8 + 4]
mov dword [eax + 4], ecx
mov eax, dword [edi + 0xd0]
mov ecx, dword [ebp + 0x24]
lea eax, [eax + edx*8]
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov edx, dword [eax + 0x10]
mov dword [ecx + 0x10], edx
mov eax, dword [eax + 0x14]
mov dword [ecx + 0x14], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov ecx, dword [esp + 0x18]
lea eax, [ecx - 1]
cmp ebx, eax
jne 0x4f89a7
mov eax, dword [edi + 0xe4]
mov esi, 1
fld qword [eax + ecx*8 - 0x10]
fstp qword [esp + 0x30]
fld qword [eax + ecx*8 - 8]
fstp qword [esp + 0x20]
jmp 0x4f89d0
mov eax, dword [edi + 0xe4]
mov esi, 2
fld qword [eax + ebx*8 - 8]
fstp qword [esp + 0x30]
fld qword [eax + ebx*8]
fstp qword [esp + 0x20]
fld qword [eax + ebx*8]
fstp qword [esp + 0x38]
fld qword [eax + ebx*8 + 8]
fstp qword [esp + 0x28]
lea ecx, [esp + 0x40]
call fcn.0064dc20
lea ecx, [esp + 0x58]
call fcn.0064dc20
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x40]
lea edx, [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
sub esp, 0x18
lea edx, [ebp + 8]
mov ecx, esp
mov dword [esp + 0x40], 0
push edx
mov dword [esp + 0x48], 0x4197d784
call fcn.0064dc70
mov ecx, edi
call fcn.004f84c0
fstp qword [esp + 0x18]
cmp esi, 2
jne 0x4f8a63
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x58]
lea ecx, [esp + 0x78]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0064dc70
mov ecx, edi
call fcn.004f84c0
jmp 0x4f8a67
fld qword [esp + 0x10]
fld qword [esp + 0x18]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x4f8ab1
mov eax, dword [ebp + 0x24]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
fstp st(0)
fld qword [esp + 0x40]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x50]
fstp qword [eax]
fld qword [esp + 0x70]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x54]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov eax, dword [ebp + 0x20]
fstp qword [eax]
fld qword [esp + 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov eax, dword [ebp + 0x24]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
pop edi
fld qword [esp + 0x54]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x64]
fstp qword [eax]
fld qword [esp + 0x74]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov eax, dword [ebp + 0x20]
pop esi
pop ebx
fstp qword [eax]
mov esp, ebp
pop ebp
ret 0x20