Function at 0x1000c310
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ba14b
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100fc068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
mov ebx, dword [ebp + 8]
push ebx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], ebx
call fcn.10017720
mov dword [ebp - 4], 0
lea edi, [esi + 0x18]
mov eax, dword [ebx + 0x18]
mov dword [edi], eax
push 0x20
mov dword [ebp - 0x34], edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.10090dc6
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 4], eax
lea ecx, [edi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 2
mov eax, dword [ebx + 0x30]
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 0x34]
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x28]
sub eax, dword [ebx + 0x24]
push dword [edi + 4]
sar eax, 2
push eax
call fcn.10019870
mov eax, dword [ebx + 0x1c]
mov esi, dword [eax]
cmp esi, eax
je 0x1000c3e2
mov ebx, eax
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1001de40
mov eax, dword [esi]
mov esi, eax
cmp eax, ebx
jne 0x1000c3c8
mov ebx, dword [ebp - 0x30]
mov byte [ebp - 4], 3
lea eax, [ebx + 0x38]
mov edi, dword [ebp - 0x24]
push eax
lea ecx, [edi + 0x38]
call fcn.10016f60
lea eax, [ebx + 0x58]
mov byte [ebp - 4], 4
lea ecx, [edi + 0x58]
push eax
call fcn.10016f60
lea eax, [ebx + 0x78]
mov byte [ebp - 4], 5
lea ecx, [edi + 0x78]
push eax
call fcn.10017720
lea eax, [ebx + 0x90]
mov byte [ebp - 4], 6
lea ecx, [edi + 0x90]
push eax
call fcn.10017720
lea eax, [ebx + 0xa8]
mov byte [ebp - 4], 7
lea ecx, [edi + 0xa8]
push eax
call fcn.10017720
mov byte [ebp - 4], 8
lea esi, [edi + 0xc8]
movzx eax, byte [ebx + 0xc0]
mov byte [edi + 0xc0], al
movzx eax, byte [ebx + 0xc1]
mov byte [edi + 0xc1], al
mov eax, dword [ebx + 0xc4]
mov dword [edi + 0xc4], eax
mov eax, 0x92492493
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov ecx, dword [ebx + 0xcc]
sub ecx, dword [ebx + 0xc8]
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x28], eax
je 0x1000c54c
cmp eax, 0x9249249
ja 0x1000c578
push eax
call fcn.1001c8b0
mov edx, dword [ebp - 0x28]
mov ecx, eax
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [ebp - 0x34], esi
lea eax, [edx*8]
sub eax, edx
lea eax, [ecx + eax*4]
mov dword [esi + 8], eax
mov ecx, dword [ebp - 0x24]
xorps xmm0, xmm0
mov edi, dword [esi]
add ecx, 0xc8
mov eax, dword [ebx + 0xcc]
mov esi, dword [ebx + 0xc8]
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 0xa
cmp esi, eax
je 0x1000c534
mov ebx, eax
push esi
mov ecx, edi
call fcn.10017720
mov eax, dword [esi + 0x18]
add esi, 0x1c
mov dword [edi + 0x18], eax
add edi, 0x1c
mov dword [ebp - 0x1c], edi
cmp esi, ebx
jne 0x1000c516
mov ebx, dword [ebp - 0x30]
push ecx
mov edx, edi
mov ecx, edi
call fcn.1001bb70
mov ecx, dword [ebp - 0x24]
add esp, 4
mov dword [ecx + 0xcc], edi
mov edi, ecx
mov cl, byte [ebx + 0xd4]
mov eax, edi
mov byte [edi + 0xd4], cl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10090ad6
mov esp, ebp
pop ebp
ret 4
call fcn.10016f50
int3