Function at 0x1006d300
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10081c6b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x10098010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
movups xmm0, xmmword [ebp + 8]
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
movups xmmword [ecx + 0xc], xmm0
mov byte [ebp + 8], 0
movq xmm0, qword [ebp + 0x18]
movq qword [ecx + 0x1c], xmm0
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov eax, dword [ebp + 0x20]
lea edi, [ecx + 0x4c]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp + 0x2c]
mov dword [ecx + 0x28], eax
mov eax, dword [ebp + 0x24]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp + 0x28]
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x3c], 0
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x44], 0
mov dword [ecx + 0x48], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov byte [ebp - 4], 3
mov dword [ecx + 0x58], 0
mov dword [ecx + 0x5c], 0
mov dword [ecx + 0x60], 0
mov dword [ecx + 0x64], 0
lea ecx, [eax - 0x20]
mov esi, dword [edi + 4]
mov eax, 0x2aaaaaab
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x14], eax
cmp ecx, eax
jae 0x1006d428
mov edx, dword [edi + 4]
lea esi, [ecx + ecx*2]
shl esi, 2
mov dword [ebp - 0x10], esi
jmp 0x1006d481
mov dword [ebp - 0x10], esi
jbe 0x1006d48f
mov eax, 0x2aaaaaab
imul dword [edi + 8]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jbe 0x1006d453
push ecx
push ecx
mov ecx, edi
call fcn.1006eee0
mov esi, dword [edi + 4]
mov dword [ebp - 0x10], esi
jmp 0x1006d48f
mov eax, esi
mov dword [ebp - 0x10], eax
sub ecx, dword [ebp - 0x14]
je 0x1006d47f
nop dword [eax]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
add esi, 0xc
sub ecx, 1
jne 0x1006d460
mov dword [ebp - 0x10], esi
mov edx, esi
push ecx
mov ecx, esi
call fcn.1006ed50
mov dword [edi + 4], esi
add esp, 4
mov edi, dword [edi]
cmp edi, esi
je 0x1006d4f7
mov eax, dword [edi + 4]
mov ecx, eax
mov edx, dword [edi]
sub ecx, edx
sar ecx, 2
mov dword [ebp - 0x14], eax
cmp ecx, 4
jbe 0x1006d4ae
lea eax, [edx + 0x10]
jmp 0x1006d4ed
jae 0x1006d4f0
mov eax, dword [edi + 8]
sub eax, edx
sar eax, 2
cmp eax, 4
jae 0x1006d4c9
sub esp, 8
mov ecx, edi
call fcn.1006edc0
jmp 0x1006d4f0
mov eax, 4
sub eax, ecx
lea esi, [eax*4]
push esi
push 0
push dword [ebp - 0x14]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x14]
add esp, 0xc
add eax, esi
mov esi, dword [ebp - 0x10]
mov dword [edi + 4], eax
add edi, 0xc
cmp edi, esi
jne 0x1006d495
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x1006d52d
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006d523
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006d523
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1007be73
add esp, 8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x28