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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5efca0
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x615cbc]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x68], ebx
test byte [ebx + 0xd8], 1
jne 0x48f99d
cmp byte [ebp + 8], 0
je 0x48f265
mov eax, dword [ebx + 0xd0]
cmp eax, 3
jl 0x48f99d
mov ecx, dword [ebx + 0xd8]
shr ecx, 2
test cl, 1
jne 0x48f99d
mov ecx, dword [ebx + 0xc8]
lea edx, [eax + 1]
cmp ecx, edx
jl 0x48f99d
mov edi, dword [ebx + 0xf4]
jmp 0x48f29d
mov eax, dword [ebx + 0xd4]
cmp eax, 3
jl 0x48f99d
mov ecx, dword [ebx + 0xd8]
shr ecx, 4
test cl, 1
jne 0x48f99d
mov ecx, dword [ebx + 0xcc]
lea edx, [eax + 1]
cmp ecx, edx
jl 0x48f99d
mov edi, dword [ebx + 0x100]
mov esi, ecx
sub esi, eax
mov dword [esp + 0x1c], ecx
push esi
lea ecx, [esp + 0x88]
mov dword [esp + 0x28], eax
call fcn.00412c80
push esi
lea ecx, [esp + 0x94]
mov dword [esp + 0xac], 0
call fcn.00430010
mov edx, dword [esp + 0x24]
fld qword [edi + edx*8]
mov eax, dword [esp + 0x84]
mov ecx, 1
fstp qword [eax]
inc edx
cmp edx, dword [esp + 0x1c]
mov byte [esp + 0xa8], 1
mov dword [esp + 0x20], ecx
mov eax, ecx
jge 0x48f44e
mov esi, dword [esp + 0x1c]
movsd xmm0, qword [ebp + 0xc]
sub esi, edx
cmp esi, 4
jl 0x48f3ff
mov esi, dword [esp + 0x90]
mov dword [esp + 0x20], esi
lea esi, [edi + edx*8 + 8]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x1c]
sub esi, edx
sub esi, 4
shr esi, 2
inc esi
lea edx, [edx + esi*4]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], esi
nop
movsd xmm1, qword [edx - 8]
subsd xmm1, qword [edx - 0x10]
comisd xmm1, xmm0
mov esi, dword [esp + 0x20]
jbe 0x48f36d
mov dword [esi], eax
fld qword [edx - 8]
mov eax, dword [esp + 0x84]
fstp qword [eax + ecx*8]
add esi, 4
inc ecx
mov dword [esp + 0x20], esi
xor eax, eax
movsd xmm1, qword [edx]
subsd xmm1, qword [edx - 8]
inc eax
comisd xmm1, xmm0
jbe 0x48f395
mov dword [esi], eax
fld qword [edx]
mov eax, dword [esp + 0x84]
fstp qword [eax + ecx*8]
add esi, 4
inc ecx
mov dword [esp + 0x20], esi
xor eax, eax
movsd xmm1, qword [edx + 8]
subsd xmm1, qword [edx]
inc eax
comisd xmm1, xmm0
jbe 0x48f3be
mov dword [esi], eax
fld qword [edx + 8]
mov eax, dword [esp + 0x84]
fstp qword [eax + ecx*8]
add esi, 4
inc ecx
mov dword [esp + 0x20], esi
xor eax, eax
movsd xmm1, qword [edx + 0x10]
subsd xmm1, qword [edx + 8]
inc eax
comisd xmm1, xmm0
jbe 0x48f3e8
mov dword [esi], eax
fld qword [edx + 0x10]
mov eax, dword [esp + 0x84]
fstp qword [eax + ecx*8]
add esi, 4
inc ecx
mov dword [esp + 0x20], esi
xor eax, eax
inc eax
add edx, 0x20
sub dword [esp + 0x18], 1
jne 0x48f340
mov edx, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
cmp edx, dword [esp + 0x1c]
jge 0x48f44e
mov esi, dword [esp + 0x90]
lea esi, [esi + ecx*4 - 4]
mov dword [esp + 0x18], esi
movsd xmm1, qword [edi + edx*8]
subsd xmm1, qword [edi + edx*8 - 8]
comisd xmm1, xmm0
jbe 0x48f442
mov esi, dword [esp + 0x18]
mov dword [esi], eax
fld qword [edi + edx*8]
mov eax, dword [esp + 0x84]
fstp qword [eax + ecx*8]
add esi, 4
inc ecx
mov dword [esp + 0x18], esi
xor eax, eax
inc edx
inc eax
cmp edx, dword [esp + 0x1c]
jl 0x48f414
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x90]
mov dword [edx + ecx*4 - 4], eax
xor eax, eax
mov byte [esp + 0x2b], 1
test ecx, ecx
jle 0x48f489
mov edx, dword [esp + 0x24]
dec edx
mov esi, dword [esp + 0x90]
cmp dword [esi + eax*4], edx
mov esi, 1
jl 0x48f482
add eax, esi
cmp eax, ecx
jl 0x48f469
jmp 0x48f48e
mov byte [esp + 0x2b], 0
jmp 0x48f48e
mov esi, 1
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x64], esi
call fcn.00412880
cmp byte [ebp + 8], 0
xorps xmm0, xmm0
mov ecx, dword [esp + 0x5c]
movapd xmm2, xmm0
mov byte [esp + 0xa8], 2
movsd qword [esp + 0x2c], xmm2
movsd qword [ecx], xmm0
je 0x48f68e
mov eax, dword [ebx + 0xcc]
cmp eax, 2
jne 0x48f5ea
cmp dword [ebx + 0xc8], esi
mov dword [esp + 0x14], esi
jle 0x48f84c
lea esi, [eax + 0x16]
jmp 0x48f503
xorps xmm0, xmm0
mov eax, dword [ebx + 0xdc]
mov ecx, dword [ebx + 0xc8]
add ecx, dword [esp + 0x14]
movsd qword [esp + 0x54], xmm0
movsd qword [esp + 0x4c], xmm0
movsd qword [esp + 0x44], xmm0
movsd xmm1, qword [eax + esi]
subsd xmm1, qword [eax + esi - 0x18]
movsd qword [esp + 0x44], xmm1
movsd xmm1, qword [eax + esi + 8]
subsd xmm1, qword [eax + esi - 0x10]
movsd qword [esp + 0x4c], xmm1
movsd xmm1, qword [eax + esi + 0x10]
subsd xmm1, qword [eax + esi - 8]
movsd qword [esp + 0x7c], xmm0
movsd qword [esp + 0x74], xmm0
movsd qword [esp + 0x6c], xmm0
movsd qword [esp + 0x54], xmm1
lea edx, [ecx + ecx*2]
movsd xmm0, qword [eax + edx*8]
subsd xmm0, qword [eax + edx*8 - 0x18]
lea eax, [eax + edx*8]
movsd qword [esp + 0x6c], xmm0
movsd xmm0, qword [eax + 8]
subsd xmm0, qword [eax - 0x10]
movsd qword [esp + 0x74], xmm0
movsd xmm0, qword [eax + 0x10]
subsd xmm0, qword [eax - 8]
lea ecx, [esp + 0x6c]
movsd qword [esp + 0x7c], xmm0
call fcn.004a88b0
fstp qword [esp + 0x3c]
lea ecx, [esp + 0x44]
call fcn.004a88b0
fadd qword [esp + 0x3c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x5c]
fadd qword [esp + 0x2c]
inc eax
add esi, 0x18
mov dword [esp + 0x14], eax
fst qword [esp + 0x2c]
fstp qword [ecx + eax*8 - 8]
cmp eax, dword [ebx + 0xc8]
jl 0x48f500
jmp 0x48f846
cdq
sub eax, edx
mov edx, dword [ebx + 0xc8]
sar eax, 1
mov ecx, edx
imul ecx, eax
cmp edx, esi
jle 0x48f84c
lea eax, [ecx + ecx*2 + 3]
add eax, eax
add eax, eax
add eax, eax
mov dword [esp + 0x14], eax
jmp 0x48f619
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
mov edx, dword [ebx + 0xdc]
add eax, edx
movsd qword [esp + 0x54], xmm0
movsd qword [esp + 0x4c], xmm0
movsd qword [esp + 0x44], xmm0
movsd xmm0, qword [eax]
subsd xmm0, qword [eax - 0x18]
movsd qword [esp + 0x44], xmm0
movsd xmm0, qword [eax + 8]
subsd xmm0, qword [eax - 0x10]
movsd qword [esp + 0x4c], xmm0
movsd xmm0, qword [eax + 0x10]
subsd xmm0, qword [eax - 8]
lea ecx, [esp + 0x44]
movsd qword [esp + 0x54], xmm0
call fcn.004a88b0
fadd qword [esp + 0x2c]
mov eax, dword [esp + 0x5c]
add dword [esp + 0x14], 0x18
fst qword [esp + 0x2c]
inc esi
fstp qword [eax + esi*8 - 8]
cmp esi, dword [ebx + 0xc8]
jl 0x48f612
jmp 0x48f846
mov eax, dword [ebx + 0xc8]
cmp eax, 2
jne 0x48f795
cmp dword [ebx + 0xcc], esi
jle 0x48f84c
jmp 0x48f6b3
xorps xmm0, xmm0
mov ecx, dword [ebx + 0xc8]
mov edx, dword [ebx + 0xdc]
lea eax, [esi - 1]
imul eax, ecx
imul ecx, esi
movsd qword [esp + 0x7c], xmm0
movsd qword [esp + 0x74], xmm0
movsd qword [esp + 0x6c], xmm0
lea ecx, [ecx + ecx*2]
movsd xmm1, qword [edx + ecx*8]
lea ecx, [edx + ecx*8]
lea eax, [eax + eax*2]
subsd xmm1, qword [edx + eax*8]
movsd qword [esp + 0x6c], xmm1
movsd xmm1, qword [ecx + 8]
subsd xmm1, qword [edx + eax*8 + 8]
lea eax, [edx + eax*8]
movsd qword [esp + 0x74], xmm1
movsd xmm1, qword [ecx + 0x10]
subsd xmm1, qword [eax + 0x10]
movsd qword [esp + 0x54], xmm0
movsd qword [esp + 0x4c], xmm0
movsd qword [esp + 0x44], xmm0
movsd qword [esp + 0x7c], xmm1
movsd xmm0, qword [ecx + 0x18]
subsd xmm0, qword [eax + 0x18]
movsd qword [esp + 0x44], xmm0
movsd xmm0, qword [ecx + 0x20]
subsd xmm0, qword [eax + 0x20]
movsd qword [esp + 0x4c], xmm0
movsd xmm0, qword [ecx + 0x28]
subsd xmm0, qword [eax + 0x28]
lea ecx, [esp + 0x44]
movsd qword [esp + 0x54], xmm0
call fcn.004a88b0
fstp qword [esp + 0x3c]
lea ecx, [esp + 0x6c]
call fcn.004a88b0
fadd qword [esp + 0x3c]
mov edx, dword [esp + 0x5c]
inc esi
fadd qword [esp + 0x2c]
fst qword [esp + 0x2c]
fstp qword [edx + esi*8 - 8]
cmp esi, dword [ebx + 0xcc]
jl 0x48f6b0
jmp 0x48f846
cdq
sub eax, edx
mov edx, eax
sar edx, 1
cmp dword [ebx + 0xcc], esi
mov dword [esp + 0x18], edx
jle 0x48f84c
jmp 0x48f7b7
xorps xmm0, xmm0
mov edx, dword [esp + 0x18]
mov ecx, dword [ebx + 0xc8]
lea eax, [esi - 1]
imul eax, ecx
imul ecx, esi
add ecx, dword [esp + 0x18]
add eax, edx
mov edx, dword [ebx + 0xdc]
movsd qword [esp + 0x54], xmm0
movsd qword [esp + 0x4c], xmm0
movsd qword [esp + 0x44], xmm0
lea ecx, [ecx + ecx*2]
movsd xmm0, qword [edx + ecx*8]
lea ecx, [edx + ecx*8]
lea eax, [eax + eax*2]
subsd xmm0, qword [edx + eax*8]
lea eax, [edx + eax*8]
movsd qword [esp + 0x44], xmm0
movsd xmm0, qword [ecx + 8]
subsd xmm0, qword [eax + 8]
movsd qword [esp + 0x4c], xmm0
movsd xmm0, qword [ecx + 0x10]
subsd xmm0, qword [eax + 0x10]
lea ecx, [esp + 0x44]
movsd qword [esp + 0x54], xmm0
call fcn.004a88b0
fadd qword [esp + 0x2c]
mov edx, dword [esp + 0x5c]
inc esi
fst qword [esp + 0x2c]
fstp qword [edx + esi*8 - 8]
cmp esi, dword [ebx + 0xcc]
jl 0x48f7b0
movsd xmm2, qword [esp + 0x2c]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
movsd xmm0, qword [edi]
add eax, esi
movsd xmm1, qword [edi + eax*8 - 8]
xor ecx, ecx
cmp esi, 4
mov dword [esp + 0x18], eax
subsd xmm1, xmm0
jl 0x48f8ee
mov eax, dword [esp + 0x5c]
lea edx, [esi - 4]
shr edx, 2
add eax, 0x10
inc edx
lea ecx, [edx*4]
jmp 0x48f890
movapd xmm3, xmm1
mulsd xmm3, qword [eax - 0x10]
divsd xmm3, xmm2
addsd xmm3, xmm0
movsd qword [eax - 0x10], xmm3
movsd xmm3, qword [eax - 8]
mulsd xmm3, xmm1
divsd xmm3, xmm2
addsd xmm3, xmm0
movsd qword [eax - 8], xmm3
movapd xmm3, xmm1
mulsd xmm3, qword [eax]
divsd xmm3, xmm2
addsd xmm3, xmm0
movsd qword [eax], xmm3
movsd xmm3, qword [eax + 8]
mulsd xmm3, xmm1
divsd xmm3, xmm2
addsd xmm3, xmm0
movsd qword [eax + 8], xmm3
add eax, 0x20
sub edx, 1
jne 0x48f890
cmp ecx, esi
jge 0x48f911
mov eax, dword [esp + 0x5c]
movsd xmm3, qword [eax + ecx*8]
mulsd xmm3, xmm1
divsd xmm3, xmm2
addsd xmm3, xmm0
movsd qword [eax + ecx*8], xmm3
inc ecx
cmp ecx, esi
jl 0x48f8f2
mov esi, dword [esp + 0x18]
xor eax, eax
push esi
lea ecx, [esp + 0x70]
mov dword [esp + 0x74], 1
mov dword [esp + 0x78], eax
mov dword [esp + 0x70], eax
call fcn.00412880
test esi, esi
mov esi, dword [esp + 0x6c]
mov byte [esp + 0xa8], 3
jle 0x48f95e
mov edx, dword [esp + 0x18]
mov ecx, edi
mov eax, esi
sub ecx, esi
jmp 0x48f950
fld qword [ecx + eax]
add eax, 8
sub edx, 1
fstp qword [eax - 8]
jne 0x48f950
cmp byte [esp + 0x2b], 0
jne 0x48f9b7
mov edi, dword [sym.imp.MSVCR90.dll_free]
test esi, esi
je 0x48f975
push esi
call edi
add esp, 4
mov ecx, dword [esp + 0x5c]
push ecx
call edi
mov eax, dword [esp + 0x94]
add esp, 4
test eax, eax
je 0x48f990
push eax
call edi
add esp, 4
mov edx, dword [esp + 0x84]
push edx
call edi
add esp, 4
xor al, al
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [esp + 0x20], 0
mov edx, dword [esp + 0x24]
lea eax, [edx - 1]
mov dword [esp + 0x38], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], eax
jle 0x48fb7c
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx]
cmp ecx, dword [esp + 0x2c]
jl 0x48fb5e
add ecx, edx
cmp edx, ecx
mov dword [esp + 0x14], edx
jge 0x48fa25
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x18]
fld qword [ecx + ebx*8]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
fstp qword [edi + ecx*8]
mov ebx, dword [ebx]
inc ecx
add ebx, edx
cmp ecx, ebx
mov dword [esp + 0x14], ecx
jl 0x48fa02
lea ecx, [eax + 1]
cmp ecx, edx
jge 0x48fb51
movsd xmm0, qword [edi + edx*8]
movsd xmm1, qword [esi + edx*8]
subsd xmm0, qword [edi + eax*8]
subsd xmm1, qword [esi + eax*8]
mov ebx, edx
sub ebx, ecx
cmp ebx, 4
divsd xmm0, xmm1
mov dword [esp + 0x14], ecx
jl 0x48fb09
lea ebx, [esi + ecx*8 + 0x18]
mov dword [esp + 0x20], ebx
mov ebx, esi
sub ebx, edi
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x14]
sub edx, ebx
sub edx, 4
shr edx, 2
inc edx
lea ebx, [ebx + edx*4]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x20]
lea ecx, [edi + ecx*8 + 8]
jmp 0x48fa90
movsd xmm1, qword [ebx - 0x18]
subsd xmm1, qword [esi + eax*8]
mov ebx, dword [esp + 0x1c]
mulsd xmm1, xmm0
addsd xmm1, qword [edi + eax*8]
movsd qword [ecx - 8], xmm1
movsd xmm1, qword [ebx + ecx]
subsd xmm1, qword [esi + eax*8]
mov ebx, dword [esp + 0x20]
mulsd xmm1, xmm0
addsd xmm1, qword [edi + eax*8]
movsd qword [ecx], xmm1
movsd xmm1, qword [ebx - 8]
subsd xmm1, qword [esi + eax*8]
mulsd xmm1, xmm0
addsd xmm1, qword [edi + eax*8]
movsd qword [ecx + 8], xmm1
movsd xmm1, qword [ebx]
subsd xmm1, qword [esi + eax*8]
mulsd xmm1, xmm0
addsd xmm1, qword [edi + eax*8]
movsd qword [ecx + 0x10], xmm1
add ebx, 0x20
add ecx, 0x20
sub edx, 1
mov dword [esp + 0x20], ebx
jne 0x48fa90
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x14]
cmp ebx, edx
jge 0x48fb51
lea ecx, [edi + ebx*8]
mov dword [esp + 0x14], ecx
mov ecx, esi
sub ecx, edi
mov dword [esp + 0x1c], ecx
mov ecx, edx
sub ecx, ebx
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
movsd xmm1, qword [ebx + ecx]
subsd xmm1, qword [esi + eax*8]
mulsd xmm1, xmm0
addsd xmm1, qword [edi + eax*8]
movsd qword [ecx], xmm1
add ecx, 8
sub dword [esp + 0x38], 1
jne 0x48fb2c
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
add edx, ecx
lea eax, [edx - 1]
jmp 0x48fb60
add edx, ecx
add dword [esp + 0x18], ecx
add dword [esp + 0x24], 4
sub dword [esp + 0x3c], 1
mov dword [esp + 0x38], edx
jne 0x48f9e8
mov ebx, dword [esp + 0x68]
lea ecx, [eax + 1]
cmp ecx, edx
jge 0x48fca3
movsd xmm0, qword [edi + edx*8]
movsd xmm1, qword [esi + edx*8]
subsd xmm0, qword [edi + eax*8]
subsd xmm1, qword [esi + eax*8]
mov dword [esp + 0x14], ecx
mov ebx, edx
lea ecx, [eax + 1]
sub ebx, ecx
cmp ebx, 4
divsd xmm0, xmm1
jl 0x48fc64
mov ebx, dword [esp + 0x14]
lea ecx, [esi + ebx*8 + 0x18]
mov dword [esp + 0x18], ecx
lea ecx, [edi + ebx*8 + 8]
mov dword [esp + 0x2c], ecx
mov ecx, esi
sub ecx, edi
mov dword [esp + 0x1c], ecx
mov ecx, edx
sub ecx, ebx
sub ecx, 4
shr ecx, 2
inc ecx
mov dword [esp + 0x3c], ecx
lea ecx, [ebx + ecx*4]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x18]
movsd xmm1, qword [ebx - 0x18]
subsd xmm1, qword [esi + eax*8]
mov ebx, dword [esp + 0x1c]
mulsd xmm1, xmm0
addsd xmm1, qword [edi + eax*8]
movsd qword [ecx - 8], xmm1
movsd xmm1, qword [ebx + ecx]
subsd xmm1, qword [esi + eax*8]
mov ebx, dword [esp + 0x18]
mulsd xmm1, xmm0
addsd xmm1, qword [edi + eax*8]
movsd qword [ecx], xmm1
movsd xmm1, qword [ebx - 8]
subsd xmm1, qword [esi + eax*8]
mulsd xmm1, xmm0
addsd xmm1, qword [edi + eax*8]
movsd qword [ecx + 8], xmm1
movsd xmm1, qword [ebx]
subsd xmm1, qword [esi + eax*8]
mulsd xmm1, xmm0
addsd xmm1, qword [edi + eax*8]
movsd qword [ecx + 0x10], xmm1
add ebx, 0x20
add ecx, 0x20
sub dword [esp + 0x3c], 1
mov dword [esp + 0x18], ebx
jne 0x48fbe9
mov ecx, dword [esp + 0x14]
cmp ecx, edx
jge 0x48fc9f
mov ebx, esi
sub ebx, edi
sub edx, dword [esp + 0x14]
lea ecx, [edi + ecx*8]
mov dword [esp + 0x1c], ebx
jmp 0x48fc80
movsd xmm1, qword [ebx + ecx]
subsd xmm1, qword [esi + eax*8]
mulsd xmm1, xmm0
addsd xmm1, qword [edi + eax*8]
movsd qword [ecx], xmm1
add ecx, 8
sub edx, 1
jne 0x48fc80
mov ebx, dword [esp + 0x68]
mov ecx, ebx
call fcn.00468d50
mov edi, dword [sym.imp.MSVCR90.dll_free]
mov dword [ebx + 0xb8], 0
test esi, esi
je 0x48fcc4
push esi
call edi
add esp, 4
mov edx, dword [esp + 0x5c]
push edx
call edi
mov eax, dword [esp + 0x94]
add esp, 4
test eax, eax
je 0x48fcdf
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x84]
push eax
call edi
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc