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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
mov eax, dword [0x1036a00c]
xor eax, esp
mov dword [esp + 0xc8], eax
movaps xmm0, xmmword [0x103009a0]
xor ecx, ecx
mov eax, dword [ebp + 0x10]
xor edx, edx
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x84], 0x102fbd30
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x90], 0x102fbc68
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xb0], 0x102fbc2c
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [esp + 8], ebx
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x2c], esi
push edi
movups xmmword [esp + 0x80], xmm0
test eax, eax
je 0x101c862f
movd xmm0, dword [eax]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x60], xmm0
movd xmm0, dword [eax + 4]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x64], xmm0
movd xmm0, dword [eax + 8]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x68], xmm0
movd xmm0, dword [eax + 0xc]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x6c], xmm0
mov eax, dword [ebp + 0xc]
dec eax
mov dword [esp + 0x34], eax
test eax, eax
jle 0x101c8971
nop
lea eax, [esp + 0x50]
mov dword [esp + 0x18], ebx
push eax
lea edx, [esp + 0x84]
mov ecx, esi
call fcn.1021a8c0
add esp, 4
test al, al
je 0x101c894f
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x101c8687
lea eax, [esp + 0x50]
push eax
lea edx, [esp + 0x64]
mov ecx, eax
call fcn.1021a8c0
add esp, 4
test al, al
je 0x101c894f
mov eax, dword [ebp + 0x10]
movss xmm1, dword [0x103003b4]
movss xmm0, dword [esp + 0x50]
mulss xmm0, xmm1
cvttss2si edx, xmm0
movss xmm0, dword [esp + 0x54]
mulss xmm0, xmm1
mov dword [esp + 0x28], edx
cvttss2si ebx, xmm0
movss xmm0, dword [esp + 0x58]
mulss xmm0, xmm1
mov dword [esp + 0x2c], ebx
cvttss2si edi, xmm0
movss xmm0, dword [esp + 0x5c]
mulss xmm0, xmm1
cvttss2si esi, xmm0
test eax, eax
je 0x101c881b
mov ecx, dword [eax]
shl ecx, 6
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x70], ecx
mov ecx, dword [eax + 4]
shl ecx, 6
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x74], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
shl eax, 6
shl ecx, 6
cmp edx, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x7c], eax
mov eax, edx
cmovg eax, edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x40], eax
mov eax, edx
cmovle eax, edi
mov dword [esp + 0x78], ecx
mov ecx, edi
cmovle ecx, edx
cmp ebx, esi
mov edx, ebx
cmovg edx, esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x44], edx
mov edx, esi
cmovle edx, ebx
add eax, 0x40
mov dword [esp + 0x48], eax
cmp ebx, esi
mov eax, ebx
cmovle eax, esi
add eax, 0x40
mov dword [esp + 0x4c], eax
cmp ecx, dword [esp + 0x48]
jge 0x101c894b
cmp edx, eax
jge 0x101c894b
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
cmp ecx, eax
jge 0x101c894b
mov edx, dword [esp + 0x20]
cmp dword [esp + 0x1c], edx
jge 0x101c894b
cmp dword [esp + 0x24], eax
jge 0x101c894b
cmp ecx, dword [esp + 0x48]
jge 0x101c894b
cmp dword [esp + 0x14], edx
jge 0x101c894b
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x1c], eax
jge 0x101c894b
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x101c87cd
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x74]
call fcn.1016a470
test al, al
jne 0x101c881b
mov eax, dword [ebp + 0x10]
jmp 0x101c87d6
cmp ecx, 0xffffffff
je 0x101c8810
test ecx, ecx
jne 0x101c87f5
movups xmm0, xmmword [eax]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x9c]
mov dword [esp + 0xa8], ecx
movups xmmword [esp + 0xac], xmm0
jmp 0x101c8817
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xcc], eax
lea eax, [esp + 0xbc]
mov dword [esp + 0xc8], ecx
jmp 0x101c8817
lea eax, [esp + 0x90]
mov dword [esp + 0x18], eax
mov eax, esi
mov edx, edi
sub edx, dword [esp + 0x28]
sub eax, ebx
mov ecx, eax
mov dword [esp + 0x1c], eax
neg ecx
mov dword [esp + 0x14], edx
test eax, eax
cmovns ecx, eax
mov eax, edx
neg eax
test edx, edx
cmovns eax, edx
cmp eax, ecx
jle 0x101c88c8
mov ecx, dword [esp + 0x28]
mov ebx, edi
cmp ecx, edi
mov eax, ecx
cmovle ebx, ecx
cmovle eax, edi
mov dword [esp + 0x14], ebx
add eax, 0x20
add ebx, 0x20
sar eax, 6
sar ebx, 6
mov dword [esp + 0x24], eax
cmp ebx, eax
je 0x101c894b
push ecx
mov ecx, dword [esp + 0x20]
call fcn.10192c00
add esp, 4
mov dword [esp + 0x20], eax
cmp dword [esp + 0x28], edi
mov ecx, 0xffffffe0
mov edi, dword [esp + 0x24]
cmovle esi, dword [esp + 0x2c]
sub ecx, dword [esp + 0x14]
and ecx, 0x3f
shl esi, 0xa
imul ecx, eax
sar ecx, 6
add esi, ecx
mov ecx, dword [esp + 0x18]
mov eax, esi
push 1
sar eax, 0x10
push eax
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
add esi, dword [esp + 0x20]
inc ebx
cmp ebx, edi
jl 0x101c88a8
jmp 0x101c894b
mov ecx, dword [esp + 0x2c]
cmp ebx, esi
mov eax, esi
cmovle eax, ebx
mov dword [esp + 0x24], eax
lea ebx, [eax + 0x20]
mov eax, ecx
sar ebx, 6
cmp ecx, esi
cmovle eax, esi
add eax, 0x20
sar eax, 6
mov dword [esp + 0x20], eax
cmp ebx, eax
je 0x101c894b
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.10192c00
add esp, 4
mov dword [esp + 0x14], eax
cmp dword [esp + 0x2c], esi
mov ecx, 0xffffffe0
mov esi, dword [esp + 0x20]
cmovle edi, dword [esp + 0x28]
sub ecx, dword [esp + 0x24]
and ecx, 0x3f
shl edi, 0xa
imul ecx, eax
sar ecx, 6
add edi, ecx
nop dword [eax + eax]
mov ecx, dword [esp + 0x18]
mov eax, edi
push 1
push ebx
sar eax, 0x10
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add edi, dword [esp + 0x14]
inc ebx
cmp ebx, esi
jl 0x101c8930
mov ebx, dword [esp + 0x10]
add dword [esp + 0x30], 8
sub dword [esp + 0x34], 1
mov esi, dword [esp + 0x30]
jne 0x101c8640
mov edx, dword [esp + 0xc0]
mov ecx, dword [esp + 0xa0]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [esp + 0xbc], 0x102fa2b4
test edx, edx
je 0x101c8993
push edx
call esi
mov ecx, dword [esp + 0xa4]
add esp, 4
mov dword [esp + 0x9c], 0x102fa2b4
test ecx, ecx
je 0x101c89a8
push ecx
call esi
add esp, 4
mov eax, dword [esp + 0x94]
mov dword [esp + 0x90], 0x102fa2b4
test eax, eax
je 0x101c89c4
push eax
call esi
add esp, 4
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.102af935
mov esp, ebp
pop ebp
ret