Function at 0x101cb4d0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x10359520
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov dword [esp + 0x14], edx
mov edi, ecx
mov dword [esp + 0x3c], edi
mov esi, dword [edi + 0xc]
lea eax, [edi + 0x54]
mov dword [esp + 0x2c], eax
mov eax, dword [eax]
mov dword [esp + 0x28], eax
lea eax, [eax*4 - 4]
mov esi, dword [esi + eax]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x80], 0
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp eax, edx
jbe 0x101cb54d
movzx edx, word [eax - 2]
jmp 0x101cb552
mov edx, 0x20
mov ecx, edi
call fcn.101cb410
push dword [ebp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, eax
mov dword [esp + 0x28], eax
call fcn.101cb310
mov byte [esp + 0x23], al
add esp, 4
mov eax, dword [esp + 0x24]
sub eax, edi
sar eax, 1
mov dword [esp + 0x20], eax
test edi, edi
jne 0x101cb58a
xor eax, eax
mov dword [esp + 0x18], eax
jmp 0x101cb5c5
lea eax, [eax*2 + 2]
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x101cb5c5
push dword [esp + 0x10]
push edi
push eax
call sub.MSVCR120.dll_memcpy
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x18]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, ecx
mov dword [esp + 0x6c], eax
mov byte [esp + 0x80], 1
mov edx, eax
push ecx
mov ecx, esi
call fcn.101c8f20
add esp, 4
mov dword [esp + 0x20], eax
push esi
call dword [sym.imp.MSVCR120.dll_free]
mov edx, dword [esp + 0x28]
sub esp, 0xc
sub edx, dword [esp + 0x24]
mov eax, esp
mov ecx, dword [ebp + 0x10]
sub edi, dword [esp + 0x24]
mov esi, dword [esp + 0x30]
sar edx, 1
add edx, edx
mov dword [esp + 0x44], esi
sar edi, 1
shl edi, 4
add edi, ecx
movdqu xmm0, xmmword [ecx + edx*8 - 0x10]
mov ecx, edi
movdqu xmmword [eax], xmm0
lea eax, [esp + 0x6c]
push eax
call fcn.1010afa0
movd xmm1, dword [esp + 0x5c]
movd xmm5, dword [esp + 0x60]
movd xmm0, dword [esp + 0x64]
movd xmm2, dword [esp + 0x68]
mov edi, dword [esp + 0x2c]
mov ecx, edi
cvtdq2pd xmm1, xmm1
mov eax, dword [edi]
mov dword [esp + 0x10], eax
inc eax
push eax
cvtdq2pd xmm5, xmm5
mov dword [esp + 0x3c], eax
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm2, xmm2
cvtpd2ps xmm4, xmm1
cvtpd2ps xmm3, xmm5
addsd xmm1, xmm0
movss dword [esp + 0x48], xmm4
addsd xmm5, xmm2
movss dword [esp + 0x4c], xmm3
cvtpd2ps xmm1, xmm1
cvtpd2ps xmm0, xmm5
movss dword [esp + 0x50], xmm1
movss dword [esp + 0x54], xmm0
call fcn.10106600
test al, al
jne 0x101cb69d
xor eax, eax
mov byte [eax], al
mov edx, dword [esp + 0x10]
mov ecx, dword [edi]
shl edx, 4
add edx, dword [edi + 0xc]
mov dword [esp + 0x40], edx
cmp ecx, dword [esp + 0x10]
jbe 0x101cb6cd
sub ecx, dword [esp + 0x10]
lea eax, [edx + 0x10]
shl ecx, 4
push ecx
push edx
push eax
call dword [sym.imp.MSVCR120.dll_memmove]
mov edx, dword [esp + 0x4c]
add esp, 0xc
movdqu xmm0, xmmword [esp + 0x44]
mov eax, dword [esp + 0x38]
mov dword [edi], eax
mov edi, dword [esp + 0x24]
movdqu xmmword [edx], xmm0
add edi, 2
mov byte [esp + 0x80], 0
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.MSVCR120.dll_free]
mov edx, dword [esp + 0x18]
add esp, 4
cmp byte [esp + 0x1f], 0
jne 0x101cb540
mov ecx, dword [esp + 0x20]
mov edx, dword [sym.imp.MSVCR120.dll__wcsdup]
test ecx, ecx
je 0x101cb725
push ecx
call edx
mov ecx, dword [esp + 0x24]
add esp, 4
mov esi, eax
jmp 0x101cb727
xor esi, esi
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
mov eax, dword [edi + 0xc]
mov dword [edx + eax], esi
mov eax, dword [esp + 0x28]
mov edx, dword [sym.imp.MSVCR120.dll__wcsdup]
mov dword [esp + 0x18], eax
cmp eax, dword [edi + 0x54]
jae 0x101cb7d5
lea esp, [esp]
test ecx, ecx
je 0x101cb760
push ecx
call edx
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x101cb768
mov dword [esp + 0x14], 0
mov eax, dword [edi]
mov ecx, edi
mov dword [esp + 0x10], eax
lea esi, [eax + 1]
push esi
call fcn.101063c0
test al, al
jne 0x101cb781
xor eax, eax
mov byte [eax], al
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0xc]
lea edx, [eax + ecx*4]
mov ecx, dword [edi]
mov dword [esp + 0x28], edx
cmp ecx, dword [esp + 0x10]
jbe 0x101cb7b1
sub ecx, dword [esp + 0x10]
lea eax, [edx + 4]
shl ecx, 2
push ecx
push edx
push eax
call dword [sym.imp.MSVCR120.dll_memmove]
mov edx, dword [esp + 0x34]
add esp, 0xc
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov dword [edi], esi
mov dword [edx], eax
mov eax, dword [esp + 0x18]
mov edx, dword [sym.imp.MSVCR120.dll__wcsdup]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [edi + 0x54]
jb 0x101cb750
mov dword [esp + 0x80], 0xffffffff
push dword [esp + 0x20]
call dword [sym.imp.MSVCR120.dll_free]
mov eax, dword [esp + 0x28]
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.1033d458
mov esp, ebp
pop ebp
ret