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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
fld qword [ebp + 0x18]
fsub qword [ebp + 8]
fld qword [ebp + 0x20]
fsub qword [ebp + 0x10]
push ebx
push esi
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
push edi
mov edi, ecx
mov dword [esp + 0x14], edi
faddp st(1)
fabs
fcomp qword [0x691f50]
fnstsw ax
fstp st(0)
test ah, 1
fstp st(0)
je 0x4f9f49
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
mov eax, dword [edi + 0xd4]
mov esi, 1
cmp eax, esi
mov dword [esp + 0xc], 0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x24], esi
jle 0x4fa2af
mov ebx, dword [ebp + 0x2c]
mov dword [esp + 0x1c], 0x18
mov eax, dword [edi + 0xd0]
mov ecx, dword [esp + 0x1c]
add eax, ecx
mov edx, dword [eax - 0x18]
mov ecx, dword [eax - 0x14]
mov dword [esp + 0x38], edx
mov edx, dword [eax - 0x10]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax - 0xc]
mov dword [esp + 0x40], edx
mov edx, dword [eax]
mov dword [esp + 0x44], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], ecx
fld qword [esp + 0x30]
fsub qword [esp + 0x40]
fld qword [esp + 0x28]
fsub qword [esp + 0x38]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fabs
fcomp qword [0x691f50]
fnstsw ax
fstp st(0)
test ah, 1
fstp st(0)
jne 0x4fa293
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x80]
push 1
lea edx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x20]
push ecx
mov ecx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
call fcn.004648a0
add esp, 0x4c
cmp eax, 1
jne 0x4fa293
lea ecx, [esp + 0x60]
call fcn.0064dc20
lea ecx, [esp + 0x88]
call fcn.0064dc20
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x54]
push 0
push 0
push ecx
mov ecx, dword [esp + 0x5c]
push edx
push eax
push ecx
lea ecx, [esp + 0xb8]
call fcn.0064dc40
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov ecx, dword [edi + 0xe4]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
lea edx, [esp + 0x88]
lea eax, [ecx + esi*8]
push edx
lea ecx, [esp + 0x7c]
mov edx, dword [eax + 4]
push ecx
mov ecx, dword [eax]
push edx
mov edx, dword [eax - 4]
mov eax, dword [eax - 8]
push ecx
push edx
push eax
lea edx, [esp + 0x78]
sub esp, 0x18
mov ecx, esp
push edx
call fcn.0064dc70
mov ecx, edi
call fcn.004f84c0
sub esp, 0x18
lea eax, [esp + 0x78]
mov ecx, esp
push eax
fstp st(0)
call fcn.0064dc70
mov ecx, dword [ebp + 0x28]
call fcn.00472bf0
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x58], ecx
mov ecx, dword [ebx + 8]
mov esi, ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x20], esi
inc esi
test esi, esi
jne 0x4fa151
mov eax, dword [ebx + 4]
test eax, eax
je 0x4fa144
push eax
mov dword [esp + 0x1c], ecx
call fcn.0065e732
add esp, 4
mov dword [ebx + 4], esi
xor eax, eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], eax
jmp 0x4fa27d
mov edx, dword [ebx + 4]
test edx, edx
jne 0x4fa18c
lea edi, [esi*8]
push edi
call fcn.0065e5d0
mov edx, eax
mov ecx, edi
mov dword [ebx + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 0xc], esi
mov dword [ebx + 8], esi
jmp 0x4fa279
cmp esi, dword [ebx + 0xc]
jg 0x4fa1cf
cmp ecx, esi
jge 0x4fa1bf
mov eax, esi
lea edi, [edx + ecx*8]
sub eax, ecx
lea ecx, [eax*8]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x14]
mov dword [ebx + 8], esi
jmp 0x4fa27d
jle 0x4fa1c7
sub ecx, esi
mov dword [esp + 0x18], ecx
mov dword [ebx + 8], esi
jmp 0x4fa27d
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x4fa1f9
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x4fa1ed
mov eax, 4
jmp 0x4fa1f9
cmp eax, 0x400
jle 0x4fa1f9
mov eax, 0x400
mov ecx, dword [ebx + 0xc]
add eax, ecx
cmp esi, eax
mov dword [esp + 0x10], eax
jl 0x4fa20a
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x10]
lea ecx, [eax*8]
push ecx
call fcn.0065e5d0
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 4]
shl ecx, 3
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x1c], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
mov edx, dword [ebx + 8]
lea esi, [ecx + 1]
lea edi, [eax + edx*8]
mov ecx, esi
xor eax, eax
sub ecx, edx
shl ecx, 3
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 4]
push eax
call fcn.0065e732
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
add esp, 8
mov dword [ebx + 4], ecx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edx
mov edi, dword [esp + 0x14]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x20]
fld qword [esp + 0x58]
mov esi, dword [esp + 0x24]
fstp qword [eax + ecx*8]
inc dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
inc esi
add ecx, 0x18
cmp esi, eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], ecx
jl 0x4f9f77
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28