Function at 0x10006d00
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, esp
mov dword [esi + 0x58], ebp
mov dword [esi + 8], esp
mov dword [esi + 0x5c], esp
mov dword [esi + 0x68], 0xffffffff
mov dword [esi + 0x64], 0x1000c090
mov eax, dword fs:[0]
mov dword [esi + 0x60], eax
lea eax, [esi + 0x60]
mov dword fs:[0], eax
push eax
sub esp, 0x34
mov eax, esp
mov dword [eax + 0x2c], 0
lea edx, [esi + 0x48]
mov dword [eax], edx
mov dword [esi + 0xc], ecx
mov dword [eax + 4], ecx
mov byte [eax + 0x30], 1
mov byte [eax + 0x34], 0
mov dword [esi + 0x68], 0
call fcn.1002e350
add esp, 0x38
mov esp, dword [esi + 8]
mov eax, 0x99ac846f
mov edx, 0xa271ea9b
mov ecx, 0xa271ea9b
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], eax
mov edi, 0x36288606
mov ebx, 0xc360d6b6
mov eax, 0xfdc2ed2d
mov dword [esi + 8], edx
lea ecx, [esi + 0x20]
xor edx, edx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], edi
mov edx, dword [esi + 8]
mov dword [esi + 0x24], edx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x40], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x44], edi
mov dword [esi + 0x28], edi
movaps xmm0, xmmword [esi + 0x10]
xorps xmm0, xmmword [ecx]
movaps xmmword [esi + 0x10], xmm0
mov dword [esi + 0x68], 1
lea eax, [esi + 0x10]
lea ecx, [esi + 0x48]
push eax
call fcn.1002dbe0
lea ecx, [esi + 0x20]
push ecx
push eax
call fcn.1003af40
add esp, 8
mov eax, 0x98a68260
mov ecx, 0xa271ea9b
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x20]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 8]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x20], eax
mov ecx, dword [esi + 0x40]
mov dword [esi + 0x1c], ecx
mov eax, dword [esi + 0x44]
mov dword [esi + 0x18], eax
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x28], eax
xor eax, eax
lea ecx, [esi + 0x20]
movaps xmm0, xmmword [esi + 0x10]
xorps xmm0, xmmword [ecx]
movaps xmmword [esi + 0x10], xmm0
lea ecx, [esi + 0x48]
lea eax, [esi + 0x10]
push eax
call fcn.1002dbe0
lea ecx, [esi + 0x20]
push ecx
push eax
call fcn.1003af40
add esp, 8
mov edi, dword [esi + 0x20]
mov eax, dword [esi + 0xc]
mov ebx, dword [eax + 0x18]
mov eax, dword [ebx + 0x24]
and eax, 3
cmp eax, 1
je 0x10006e5a
cmp eax, 2
jne 0x10006e65
mov eax, dword [ebx + 0x20]
push ebx
jmp 0x10006e60
mov eax, dword [ebx + 0x20]
push dword [ebx + 0x1c]
call dword [eax]
add esp, 4
mov eax, dword [esi + 0x38]
mov dword [ebx + 4], eax
mov dword [ebx], edi
mov dword [ebx + 0x24], 0x103c52d0
lea ecx, [esi + 0x50]
movzx eax, byte [esi + 0x48]
push eax
call fcn.1002ab20
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx + 0x14]
cmp eax, 0x10
jb 0x10006eb7
mov ecx, dword [ebx]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x10006ead
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x10006ed9
add eax, 0x24
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.102e53ef
add esp, 8
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
mov eax, dword [esi + 0x60]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
push ebp
sub esp, 0x38
lea esi, [ebp - 0x6c]
mov ebp, dword [esi + 0x58]
lea ecx, [esi + 0x50]
movzx eax, byte [esi + 0x48]
push eax
call fcn.1002ab20
add esp, 0x38
pop ebp
ret