Function at 0x10007100
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004f0cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
mov eax, dword [0x1006099c]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edx, dword [esi + 0x48]
mov dword [esp + 0x134], eax
xor eax, eax
xor ebx, ebx
mov byte [esp + 0x30], bl
mov ecx, 0x3f
lea edi, [esp + 0x31]
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x68]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0x6c]
push eax
mov eax, dword [esi + 0x3c]
push ecx
mov ecx, dword [esi + 0x38]
push edx
mov edx, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x30]
push ecx
mov ecx, dword [esi + 0x28]
push edx
mov edx, dword [esi + 0xc]
push eax
mov eax, dword [esi + 0x2c]
push ecx
mov ecx, dword [esi + 4]
push edx
mov edx, dword [esi]
push eax
push ecx
push edx
lea eax, [esp + 0x60]
push 0x100535e0
push eax
mov dword [esp + 0x48], ebx
call fcn.10040b0b
lea eax, [esp + 0x68]
add esp, 0x38
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100071a5
sub eax, edi
push eax
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x1c]
call fcn.10001f80
push 2
push 0x100535dc
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14c], ebx
call fcn.10001d80
push 0xffffffffffffffff
push ebx
lea edx, [esi + 0x70]
push edx
mov ecx, eax
call fcn.10001c90
push 2
push 0x100535d8
mov ecx, eax
call fcn.10001d80
mov ecx, dword [ebp + 0x1c]
push 0xffffffffffffffff
push ebx
push ecx
mov ecx, eax
call fcn.10001c90
push 2
push 0x100535d8
mov ecx, eax
call fcn.10001d80
push 0xffffffffffffffff
push ebx
lea edx, [esi + 0xc4]
push edx
mov ecx, eax
call fcn.10001c90
push 2
push 0x100535d8
mov ecx, eax
call fcn.10001d80
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0xe0]
push ecx
mov ecx, eax
call fcn.10001c90
push 2
push 0x100535d8
mov ecx, eax
call fcn.10001d80
push 0xffffffffffffffff
push ebx
lea edx, [esi + 0xfc]
push edx
mov ecx, eax
call fcn.10001c90
push 2
push 0x100535d8
mov ecx, eax
call fcn.10001d80
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x118]
push ecx
mov ecx, eax
call fcn.10001c90
push 2
push 0x100535d8
mov ecx, eax
call fcn.10001d80
push 0xffffffffffffffff
push ebx
add esi, 0x134
push esi
mov ecx, eax
call fcn.10001c90
push 2
push 0x100535d8
mov ecx, eax
call fcn.10001d80
mov edx, dword [ebp + 0x10]
push 0xffffffffffffffff
push ebx
push edx
mov ecx, eax
call fcn.10001c90
push 2
push 0x100535d8
mov ecx, eax
call fcn.10001d80
mov ecx, dword [ebp + 0x14]
push 0xffffffffffffffff
push ebx
push ecx
mov ecx, eax
call fcn.10001c90
push 2
push 0x100535d8
mov ecx, eax
call fcn.10001d80
mov edx, dword [ebp + 0x18]
push 0xffffffffffffffff
push ebx
push edx
mov ecx, eax
call fcn.10001c90
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x1c]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.10001e90
cmp dword [esp + 0x2c], 0x10
jb 0x10007320
mov ecx, dword [esp + 0x18]
push ecx
call fcn.10036530
add esp, 4
mov ecx, dword [esp + 0x13c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x134]
mov eax, esi
call fcn.1003fd01
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret