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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x80]
fld qword [esp + 0x78]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x84]
fstp qword [esp + 0x30]
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 4]
sub eax, dword [edx]
mov dword [esp + 0x44], eax
cmp eax, 0x410
jbe 0xfa3c42
cmp dword [esp + 0x44], 0x41000
ja 0xfa3c18
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], edx
sar eax, 4
imul edi, eax, 0xc0fc0fc1
mov eax, edi
mov dword [esp + 0x24], edi
shl eax, 8
cmp eax, 0xfffffff
ja 0xfa3c7e
mov ebx, edi
shl ebx, 0xb
mov dword [esp], ebx
call fcn.00fc6a33
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [esp + 0x28], eax
call fcn.00fa0ae3
test edi, edi
mov edx, dword [esp + 0x18]
je 0xfa397b
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
xor esi, esi
mov ebp, edx
mov ebx, eax
lea edi, [eax + edi*8]
jmp 0xfa3942
fld dword [eax*4 + 0x69a13e60]
add ebx, 8
add esi, 0x410
fstp qword [ebx - 8]
cmp edi, ebx
je 0xfa3979
mov eax, dword [ebp]
mov eax, dword [eax + esi + 0x400]
cmp eax, 0xff
jbe 0xfa392b
movd xmm1, eax
add ebx, 8
add esi, 0x410
movq qword [esp + 0x48], xmm1
fild qword [esp + 0x48]
fstp qword [esp]
call fcn.00f86d23
fstp qword [ebx - 8]
cmp edi, ebx
jne 0xfa3942
mov edx, ebp
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], 0x100
mov edi, eax
shl edi, 8
sub edi, eax
shl eax, 3
mov dword [esp + 0x3c], eax
add ecx, eax
lea esi, [esi]
nop
mov ebx, dword [esp + 0x24]
sub dword [esp + 0x18], 1
mov eax, dword [esp + 0x18]
test ebx, ebx
je 0xfa3a45
lea ebp, [eax*4]
mov ebx, dword [esp + 0x28]
xor esi, esi
mov eax, ebp
mov ebp, ecx
mov ecx, eax
jmp 0xfa39eb
fld dword [0x69a14264]
fsubp st(1)
add esi, 0x410
fstp qword [ebx + edi*8]
add ebx, 8
cmp ebp, ebx
je 0xfa3a43
mov eax, dword [edx]
fld qword [ebx]
add eax, ecx
mov eax, dword [eax + esi]
test eax, eax
je 0xfa39d3
cmp eax, 0xff
ja 0xfa3a0b
fld dword [eax*4 + 0x69a13e60]
jmp 0xfa39d9
movd xmm0, eax
fstp qword [esp + 0x10]
movq qword [esp + 0x48], xmm0
fild qword [esp + 0x48]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edx
fstp qword [esp]
call fcn.00f86d23
mov edx, dword [esp + 0x1c]
fld qword [esp + 0x10]
fxch st(1)
mov ecx, dword [esp + 0x20]
jmp 0xfa39d9
mov ecx, ebp
mov esi, dword [esp + 0x18]
sub edi, dword [esp + 0x24]
test esi, esi
jne 0xfa39a3
mov edx, dword [esp + 0x44]
test edx, edx
js 0xfa3c7e
mov edi, dword [esp + 0x3c]
mov dword [esp], edi
call fcn.00fc6a33
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov ebx, eax
mov dword [esp], eax
call fcn.00fa0ae3
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
imul eax, esi
mov dword [esp], eax
mov edi, eax
call fcn.00fc6a33
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov ebp, eax
mov dword [esp], eax
call fcn.00fa0ae3
lea ecx, [esi - 1]
mov eax, esi
mov edx, dword [esp + 0x24]
mov esi, ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x2c]
sub edi, edx
add ecx, esi
mov dword [esp + 0x10], ecx
test eax, eax
je 0xfa3c6a
mov dword [esp + 0x44], edi
mov esi, ebp
xor ecx, ecx
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
movzx edi, byte [eax + ecx]
test edx, edx
je 0xfa3b70
fld qword [0x69a14268]
imul edi, dword [esp + 0x3c]
xor eax, eax
add edi, dword [esp + 0x28]
nop
fld qword [ebx + eax*8]
fadd qword [edi + eax*8]
fst qword [ebx + eax*8]
fxch st(1)
fcomi st(1)
jbe 0xfa3b23
fstp st(0)
mov byte [ebp + ecx], al
jmp 0xfa3b25
fstp st(1)
add eax, 1
cmp eax, edx
jne 0xfa3b03
fld qword [esp + 0x30]
cmp ecx, 0x7cf
jbe 0xfa3bf3
xor eax, eax
jmp 0xfa3b4d
fstp qword [ebx + eax*8]
add eax, 1
cmp eax, edx
jae 0xfa3b6c
fld qword [ebx + eax*8]
fsub st(2)
fcomi st(1)
jb 0xfa3b43
fstp st(0)
mov byte [esi + eax], 1
fst qword [ebx + eax*8]
add eax, 1
cmp eax, edx
jb 0xfa3b4d
fstp st(0)
fstp st(0)
jmp 0xfa3b70
fstp st(0)
fstp st(0)
add ecx, 1
add esi, edx
cmp dword [esp + 0x38], ecx
jne 0xfa3ae1
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x44]
movzx ecx, byte [eax]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0xfa3bcf
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x24]
lea eax, [eax + edx - 2]
jmp 0xfa3bae
mov eax, edx
sub edi, esi
movzx edx, cl
lea ebx, [ebp + edi]
cmp byte [ebx + edx], 0
je 0xfa3bc0
movzx ecx, byte [eax]
mov byte [eax], cl
lea edx, [eax - 1]
cmp eax, dword [esp + 0x2c]
jne 0xfa3bac
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00fc6a03
mov dword [esp], ebx
call fcn.00fc6a03
mov dword [esp + 0x70], ebp
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00fc6a03
fstp st(0)
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
fmul qword [0x69a14270]
fdiv dword [0x69a14278]
fadd qword [0x69a14280]
fmul qword [esp + 0x30]
jmp 0xfa3b3c
mov dword [esp + 0x18], edx
mov dword [esp + 8], 0xac
mov dword [esp + 4], 0x69a13dd4
mov dword [esp], 0x69a13de6
call dword [0x69aba3b0]
mov edx, dword [esp + 0x18]
jmp 0xfa38c6
mov eax, dword [esp + 0x38]
test eax, eax
je 0xfa3c76
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], eax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00fa0ae3
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax]
jmp 0xfa3b96
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.00fc7f03