Function at 0x1003efd
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 0x10042cc
cmp dword [esp + 0x44], 0x41000
ja 0x10042a2
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 0x1004308
mov ebx, edi
shl ebx, 0xb
mov dword [esp], ebx
call fcn.010270bd
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [esp + 0x28], eax
call fcn.0100116d
test edi, edi
mov edx, dword [esp + 0x18]
je 0x1004005
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 0x1003fcc
fld dword [eax*4 + 0x69a13e60]
add ebx, 8
add esi, 0x410
fstp qword [ebx - 8]
cmp edi, ebx
je 0x1004003
mov eax, dword [ebp]
mov eax, dword [eax + esi + 0x400]
cmp eax, 0xff
jbe 0x1003fb5
movd xmm1, eax
add ebx, 8
add esi, 0x410
movq qword [esp + 0x48], xmm1
fild qword [esp + 0x48]
fstp qword [esp]
call fcn.00fe73ad
fstp qword [ebx - 8]
cmp edi, ebx
jne 0x1003fcc
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 0x10040cf
lea ebp, [eax*4]
mov ebx, dword [esp + 0x28]
xor esi, esi
mov eax, ebp
mov ebp, ecx
mov ecx, eax
jmp 0x1004075
fld dword [0x69a14264]
fsubp st(1)
add esi, 0x410
fstp qword [ebx + edi*8]
add ebx, 8
cmp ebp, ebx
je 0x10040cd
mov eax, dword [edx]
fld qword [ebx]
add eax, ecx
mov eax, dword [eax + esi]
test eax, eax
je 0x100405d
cmp eax, 0xff
ja 0x1004095
fld dword [eax*4 + 0x69a13e60]
jmp 0x1004063
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.00fe73ad
mov edx, dword [esp + 0x1c]
fld qword [esp + 0x10]
fxch st(1)
mov ecx, dword [esp + 0x20]
jmp 0x1004063
mov ecx, ebp
mov esi, dword [esp + 0x18]
sub edi, dword [esp + 0x24]
test esi, esi
jne 0x100402d
mov edx, dword [esp + 0x44]
test edx, edx
js 0x1004308
mov edi, dword [esp + 0x3c]
mov dword [esp], edi
call fcn.010270bd
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov ebx, eax
mov dword [esp], eax
call fcn.0100116d
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
imul eax, esi
mov dword [esp], eax
mov edi, eax
call fcn.010270bd
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov ebp, eax
mov dword [esp], eax
call fcn.0100116d
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 0x10042f4
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 0x10041fa
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 0x10041ad
fstp st(0)
mov byte [ebp + ecx], al
jmp 0x10041af
fstp st(1)
add eax, 1
cmp eax, edx
jne 0x100418d
fld qword [esp + 0x30]
cmp ecx, 0x7cf
jbe 0x100427d
xor eax, eax
jmp 0x10041d7
fstp qword [ebx + eax*8]
add eax, 1
cmp eax, edx
jae 0x10041f6
fld qword [ebx + eax*8]
fsub st(2)
fcomi st(1)
jb 0x10041cd
fstp st(0)
mov byte [esi + eax], 1
fst qword [ebx + eax*8]
add eax, 1
cmp eax, edx
jb 0x10041d7
fstp st(0)
fstp st(0)
jmp 0x10041fa
fstp st(0)
fstp st(0)
add ecx, 1
add esi, edx
cmp dword [esp + 0x38], ecx
jne 0x100416b
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 0x1004259
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 0x1004238
mov eax, edx
sub edi, esi
movzx edx, cl
lea ebx, [ebp + edi]
cmp byte [ebx + edx], 0
je 0x100424a
movzx ecx, byte [eax]
mov byte [eax], cl
lea edx, [eax - 1]
cmp eax, dword [esp + 0x2c]
jne 0x1004236
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.0102708d
mov dword [esp], ebx
call fcn.0102708d
mov dword [esp + 0x70], ebp
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.0102708d
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 0x10041c6
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 0x1003f50
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1004300
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.0100116d
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax]
jmp 0x1004220
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.0102858d