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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10014cc0
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x1001c048]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x1001c048]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
lea edi, [esp + 0x28]
mov dword [esp + 0xa0], esi
call fcn.10011ff0
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
sub eax, edi
sar eax, 4
cmp eax, esi
jbe 0x1000c6ca
mov dword [esp + 0x10], eax
lea esp, [esp]
xor eax, eax
mov word [esp + 0x58], ax
mov eax, ebx
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], esi
lea edx, [eax + 2]
jmp 0x1000c660
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x1000c660
sub eax, edx
sar eax, 1
push eax
mov eax, ebx
lea esi, [esp + 0x5c]
call fcn.100020b0
mov ecx, dword [esp + 0x18]
push 0
push ecx
mov ecx, dword [esp + 0x1c]
mov edx, esi
push edi
push edx
mov edx, dword [esp + 0x2c]
mov byte [esp + 0xb0], 1
call fcn.1000be60
add esp, 0x10
mov byte [esp + 0xa0], 0
cmp dword [esp + 0x6c], 8
jb 0x1000c6bb
mov eax, dword [esp + 0x58]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
add edi, 0x10
xor esi, esi
dec dword [esp + 0x10]
jne 0x1000c640
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
lea edi, [esp + 0x38]
mov byte [esp + 0xa0], 2
call fcn.100120e0
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
sub eax, edi
sar eax, 4
cmp eax, esi
jbe 0x1000c856
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x14]
push esi
mov ecx, edi
call fcn.100023b0
mov dword [esp + 0x24], eax
cmp eax, dword [esi + 4]
je 0x1000c7a5
movq xmm0, qword [eax + 0xc]
movq qword [esp + 0x48], xmm0
movq xmm0, qword [eax + 0x14]
movq qword [esp + 0x50], xmm0
movq xmm0, qword [edi]
movq qword [esp + 0x58], xmm0
movq xmm0, qword [edi + 8]
movq qword [esp + 0x60], xmm0
mov eax, 0x10
lea ecx, [esp + 0x48]
lea edx, [esp + 0x58]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x1000c76b
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x1000c751
lea eax, [esp + 0x24]
jmp 0x1000c7b4
movzx esi, byte [ecx]
movzx eax, byte [edx]
sub eax, esi
jne 0x1000c797
movzx eax, byte [edx + 1]
movzx esi, byte [ecx + 1]
sub eax, esi
jne 0x1000c797
movzx eax, byte [edx + 2]
movzx esi, byte [ecx + 2]
sub eax, esi
jne 0x1000c797
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
sar eax, 0x1f
or eax, 1
jl 0x1000c7a5
lea eax, [esp + 0x24]
jmp 0x1000c7b4
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 4]
cmp dword [eax], ecx
jne 0x1000c843
xor edx, edx
mov eax, ebx
mov word [esp + 0x74], dx
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000c7e5
sub eax, edx
sar eax, 1
push eax
mov eax, ebx
lea esi, [esp + 0x78]
call fcn.100020b0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push 1
push eax
mov ecx, esi
push edi
push ecx
mov ecx, dword [esp + 0x24]
mov byte [esp + 0xb0], 3
call fcn.1000be60
add esp, 0x10
mov byte [esp + 0xa0], 2
cmp dword [esp + 0x88], 8
jb 0x1000c843
mov edx, dword [esp + 0x74]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
add edi, 0x10
dec dword [esp + 0x10]
jne 0x1000c700
mov edi, dword [esp + 0x38]
xor esi, esi
cmp edi, esi
je 0x1000c864
push edi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x1000c876
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.100134d2
mov esp, ebp
pop ebp
ret