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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0xd0
mov eax, dword [ebp + 0x10]
movaps xmm4, xmmword [0x6c3695f0]
mov edi, dword [ebp + 8]
movaps xmmword [edi], xmm4
movaps xmm3, xmmword [0x6c3695e0]
movaps xmmword [edi + 0x10], xmm3
mov dword [edi + 0x3c], eax
mov dword [edi + 0x50], 3
mov edx, dword [ebp + 0x14]
mov dword [edi + 0x60], edx
shl eax, 3
mov dword [esp], eax
movaps xmmword [esp + 0x40], xmm3
movaps xmmword [esp + 0x30], xmm4
call fcn.6c2df708
mov dword [edi + 0x64], eax
mov eax, dword [edi + 0x3c]
shl eax, 3
mov dword [esp], eax
call fcn.6c2df708
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x3c]
shl eax, 2
mov dword [esp], eax
call fcn.6c2df708
mov dword [edi + 0x40], eax
mov eax, dword [edi + 0x3c]
shl eax, 2
mov dword [esp], eax
call fcn.6c2df708
mov dword [edi + 0x44], eax
mov ebx, dword [edi + 0x3c]
mov eax, ebx
shl eax, 8
add eax, 0x10
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov dword [edi + 0x2c], eax
add eax, 0xf
and eax, 0xfffffff0
mov dword [edi + 0x30], eax
shl ebx, 2
mov dword [esp], ebx
call fcn.6c2df708
mov dword [esp + 0x60], eax
mov dword [edi + 0x74], eax
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov eax, dword [edi + 0x3c]
test eax, eax
movaps xmm3, xmmword [esp + 0x40]
movaps xmm4, xmmword [esp + 0x30]
jle 0x6c253a6e
mov edi, dword [ebp + 8]
mov edi, dword [edi + 0x30]
mov dword [esp + 0x64], edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x60]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x78], eax
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x74], 0
lea edx, [ebx + 0x30]
mov dword [esp + 0x6c], edx
lea eax, [ebx + 0x40]
mov dword [esp + 0x5c], eax
lea edx, [ebx + 0x50]
mov dword [esp + 0x58], edx
mov dword [esp + 0x70], 0x6c4874e0
mov eax, ebx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x7c], 3
lea edi, [eax + 0x30]
mov esi, edx
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
lea edi, [eax + 0x60]
lea esi, [edx + 0x30]
mov cl, 4
rep movsd dword es:[edi], dword [esi]
lea edi, [eax + 0x90]
lea esi, [edx + 0x60]
mov cl, 4
rep movsd dword es:[edi], dword [esi]
lea edi, [eax + 0xc0]
lea esi, [edx + 0x90]
mov cl, 4
rep movsd dword es:[edi], dword [esi]
add edx, 0x10
add eax, 0x10
dec dword [esp + 0x7c]
jne 0x6c253476
mov edx, dword [esp + 0x78]
mov eax, dword [edx + 0xc0]
mov dword [ebx + 0xf0], eax
mov eax, dword [edx + 0xc4]
mov dword [ebx + 0xf4], eax
mov ax, word [edx + 0xc8]
mov word [ebx + 0xfa], ax
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x60]
mov dword [edx + eax*4], eax
mov edx, dword [ebx + 0xf0]
mov ecx, dword [ebx + 0xf4]
lea eax, [edx + edx*2]
lea eax, [eax + eax*4]
shl eax, 4
mov esi, dword [esp + 0x68]
mov eax, dword [esi + eax + 4]
mov edi, dword [ebp + 8]
or eax, dword [edi + 0x48]
lea esi, [ecx + ecx*2]
lea esi, [esi + esi*4]
shl esi, 4
mov edi, dword [esp + 0x68]
or eax, dword [edi + esi + 4]
mov edi, dword [ebp + 8]
mov dword [edi + 0x48], eax
mov eax, dword [edi + 0x4c]
cmp edx, eax
jbe 0x6c253530
mov dword [edi + 0x4c], edx
mov eax, edx
cmp ecx, eax
jbe 0x6c25353a
mov edi, dword [ebp + 8]
mov dword [edi + 0x4c], ecx
mov eax, ebx
sub eax, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
movaps xmm2, xmmword [eax + edx]
mov edx, dword [esp + 0x5c]
movaps xmm1, xmmword [eax + edx]
subps xmm1, xmm2
movaps xmmword [esp + 0xa0], xmm1
mov edx, dword [esp + 0x58]
movaps xmm0, xmmword [eax + edx]
subps xmm0, xmm2
movaps xmmword [esp + 0xb0], xmm0
movaps xmm5, xmm1
shufps xmm5, xmm1, 0xc9
mulps xmm5, xmm0
shufps xmm0, xmm0, 0xc9
mulps xmm0, xmm1
subps xmm0, xmm5
shufps xmm0, xmm0, 0xc9
movaps xmmword [esp + 0xc0], xmm0
fld dword [esp + 0xc0]
fld st(0)
fabs
fld dword [esp + 0xc4]
fld st(0)
fabs
fld dword [esp + 0xc8]
fxch st(3)
fcomi st(1)
jbe 0x6c2538f0
fstp st(2)
fstp st(0)
fld st(1)
fabs
fxch st(1)
fcomi st(1)
setbe cl
movzx edx, cl
lea edx, [edx + edx + 2]
movzx eax, cl
lea eax, [eax + eax + 1]
movzx ecx, cl
shl ecx, 1
mov dword [esp + 0x7c], ecx
fcompi st(1)
fstp st(0)
fcmovnbe st(0), st(1)
fstp st(1)
mov eax, dword [eax*4 + 0x6c3695a0]
mov edx, dword [edx*4 + 0x6c3695a0]
mov edi, ebx
mov esi, dword [esp + 0x70]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
fld dword [esp + eax*4 + 0xc0]
fdiv st(1)
fstp dword [ebx + eax*4]
fld dword [esp + edx*4 + 0xc0]
fdiv st(1)
fstp dword [ebx + edx*4]
fld1
mov ecx, dword [esp + 0x7c]
fst dword [ebx + ecx*4]
mulps xmm0, xmm2
movaps xmm1, xmm0
shufps xmm1, xmm0, 0xc9
addps xmm1, xmm0
shufps xmm0, xmm0, 0xd2
addps xmm1, xmm0
movss dword [esp + 0x2c], xmm1
fld dword [esp + 0x2c]
fdivrp st(2)
fxch st(1)
fstp dword [ebx + 0x3c]
fld dword [esp + eax*4 + 0xa0]
fld dword [esp + edx*4 + 0xb0]
fld dword [esp + edx*4 + 0xa0]
fld dword [esp + eax*4 + 0xb0]
fld st(3)
fmul st(3)
fld st(2)
fmul st(2)
fsubp st(1)
fdivp st(5)
fxch st(3)
lea edi, [ebx + 0x10]
mov esi, 0x6c4874e0
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
fmul st(4)
fstp dword [ebx + edx*4 + 0x10]
fchs
fmul st(3)
fstp dword [ebx + eax*4 + 0x10]
lea edi, [ebx + 0x20]
mov dword [esp + 0x70], 0x6c4874e0
mov esi, 0x6c4874e0
mov cl, 4
rep movsd dword es:[edi], dword [esi]
fmul st(2)
fstp dword [ebx + eax*4 + 0x20]
fchs
fmulp st(1)
fstp dword [ebx + edx*4 + 0x20]
inc dword [esp + 0x74]
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x3c]
add ebx, 0x100
add dword [esp + 0x78], 0xd0
cmp eax, dword [esp + 0x74]
jg 0x6c253468
movaps xmmword [esp + 0x80], xmm4
movaps xmmword [esp + 0x90], xmm3
test eax, eax
jle 0x6c253a6e
mov edx, dword [esp + 0x6c]
lea esi, [esp + 0x80]
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x58]
jmp 0x6c253706
movaps xmm4, xmm1
movaps xmm3, xmm0
movaps xmm0, xmmword [edx]
minps xmm4, xmm0
movaps xmmword [esp + 0x80], xmm4
maxps xmm0, xmm3
movaps xmmword [esp + 0x90], xmm0
mov ebx, edx
sub ebx, dword [esp + 0x6c]
movaps xmm0, xmmword [ebx + esi]
movaps xmm1, xmm0
minps xmm1, xmm4
movaps xmmword [esp + 0x80], xmm1
maxps xmm0, xmmword [esp + 0x90]
movaps xmmword [esp + 0x90], xmm0
movaps xmm0, xmmword [ebx + edi]
movaps xmm1, xmmword [esp + 0x80]
minps xmm1, xmm0
movaps xmmword [esp + 0x80], xmm1
maxps xmm0, xmmword [esp + 0x90]
movaps xmmword [esp + 0x90], xmm0
inc ecx
add edx, 0x100
cmp ecx, eax
jne 0x6c253700
movaps xmm4, xmmword [esp + 0x80]
movaps xmm3, xmmword [esp + 0x90]
movaps xmm0, xmmword [0x6c369640]
subps xmm4, xmm0
movaps xmmword [esp + 0x80], xmm4
addps xmm3, xmm0
movaps xmmword [esp + 0x90], xmm3
mov ecx, 8
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
mov ebx, dword [ebp + 8]
shl eax, 4
add eax, 0x13
mov dword [esp], eax
call sub.msvcrt.dll_malloc
lea edx, [eax + 0x13]
and edx, 0xfffffff0
mov dword [edx - 4], eax
mov dword [ebx + esi*4 + 0x20], edx
mov eax, dword [ebx + 0x3c]
test eax, eax
jle 0x6c2538c6
xor ecx, ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
lea edi, [esi + 0xc]
mov dword [esp + 0x74], edi
lea eax, [esi + 0x10]
mov dword [esp + 0x70], eax
lea edi, [esi + 0x14]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x64], esi
nop
mov edi, dword [esp + 0x7c]
add edi, dword [ebx + 0x30]
mov eax, dword [esp + 0x74]
mov esi, dword [edi + eax*4]
mov dword [edx + ecx], esi
mov edx, dword [edi + eax*4]
mov esi, dword [esp + 0x64]
mov eax, dword [ebx + esi*4 + 0x20]
mov dword [eax + ecx + 4], edx
mov eax, dword [esp + 0x70]
fld dword [edi + eax*4]
mov edx, dword [ebx + esi*4 + 0x20]
lea eax, [edx + ecx]
fld dword [eax]
fcompi st(1)
jbe 0x6c253850
fstp dword [eax]
mov edx, dword [esp + 0x70]
fld dword [edi + edx*4]
mov edx, dword [ebx + esi*4 + 0x20]
lea eax, [edx + ecx]
fld dword [eax + 4]
fxch st(1)
fcomi st(1)
fstp st(1)
jbe 0x6c25386c
fstp dword [eax + 4]
mov eax, dword [esp + 0x64]
mov edx, dword [ebx + eax*4 + 0x20]
lea eax, [edx + ecx]
jmp 0x6c25386e
fstp st(0)
mov esi, dword [esp + 0x6c]
fld dword [edi + esi*4]
fld dword [eax]
fcompi st(1)
jbe 0x6c25388b
fstp dword [eax]
fld dword [edi + esi*4]
mov esi, dword [esp + 0x64]
mov edx, dword [ebx + esi*4 + 0x20]
lea eax, [edx + ecx]
fld dword [eax + 4]
fxch st(1)
fcomi st(1)
fstp st(1)
jbe 0x6c2538a4
fstp dword [eax + 4]
mov edi, dword [esp + 0x64]
mov edx, dword [ebx + edi*4 + 0x20]
jmp 0x6c2538a6
fstp st(0)
inc dword [esp + 0x78]
mov eax, dword [ebx + 0x3c]
add dword [esp + 0x7c], 0x100
add ecx, 0x10
cmp eax, dword [esp + 0x78]
jg 0x6c25380c
mov esi, dword [esp + 0x64]
mov dword [esp + 0xc], 0x6c251690
mov dword [esp + 8], 0x10
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.msvcrt.dll_qsort
inc esi
cmp esi, 3
je 0x6c253924
mov eax, dword [ebx + 0x3c]
jmp 0x6c2537b9
fstp st(0)
fstp st(3)
fxch st(1)
fxch st(2)
fld st(2)
fabs
fxch st(1)
fcomi st(1)
setbe cl
movzx edx, cl
add edx, 3
movzx eax, cl
add eax, 2
movzx ecx, cl
inc ecx
mov dword [esp + 0x7c], ecx
fcompi st(1)
fstp st(0)
fcmovbe st(0), st(1)
fstp st(1)
jmp 0x6c2535e3
mov dword [esp], 0x10
call fcn.6c2df72c
mov ebx, eax
mov dword [eax], 0x40
mov dword [eax + 4], 0
mov dword [eax + 8], 0x20
mov dword [esp], 0x813
call sub.msvcrt.dll_malloc
lea edx, [eax + 0x13]
and edx, 0xfffffff0
mov dword [edx - 4], eax
mov dword [ebx + 0xc], edx
mov edi, dword [ebp + 8]
mov dword [edi + 0x70], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x68]
mov dword [esp + 8], esi
mov eax, edi
add eax, 0x50
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.6c252a34
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x6c2539f7
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x74]
test eax, eax
je 0x6c2539b5
mov dword [esp], eax
call fcn.6c2df6ec
mov edi, dword [ebp + 8]
mov dword [edi + 0x74], 0
xor ebx, ebx
mov esi, edi
mov eax, dword [esi + ebx*4 + 0x20]
test eax, eax
je 0x6c2539d6
mov eax, dword [eax - 4]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov dword [esi + ebx*4 + 0x20], 0
inc ebx
cmp ebx, 3
jne 0x6c2539c3
mov edi, dword [ebp + 8]
mov dword [esp], edi
call fcn.6c252e94
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [edi + 0x3c]
shl eax, 8
mov dword [esp], eax
call fcn.6c2df708
mov dword [esp + 0x78], eax
mov ecx, dword [edi + 0x3c]
shl ecx, 8
mov esi, dword [edi + 0x30]
mov edi, eax
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x3c]
test eax, eax
jle 0x6c253a51
xor eax, eax
mov ebx, 0x3f
mov edx, edi
lea esi, [esi]
mov edi, eax
shl edi, 8
mov ecx, dword [edx + 0x30]
add edi, ecx
mov dword [esp + 0x7c], edi
mov ecx, dword [edx + 0x74]
mov esi, dword [ecx + eax*4]
shl esi, 8
add esi, dword [esp + 0x78]
mov ecx, ebx
rep movsd dword es:[edi], dword [esi]
inc eax
cmp dword [edx + 0x3c], eax
jg 0x6c253a2c
mov eax, dword [esp + 0x78]
test eax, eax
je 0x6c2539a3
mov edi, dword [esp + 0x78]
mov dword [esp], edi
call fcn.6c2df6ec
jmp 0x6c2539a3
lea esi, [esp + 0x80]
mov dword [esp + 0x68], esi
jmp 0x6c253789