Function at 0x1000a690
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1004f490
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
mov dword [esp + 8], ecx
push esi
mov esi, dword [esp + 0x58]
mov eax, dword [esi]
push edi
mov edi, dword [esp + 0x64]
mov dword [edi + 8], eax
mov ecx, dword [esi + 4]
mov dword [edi], ecx
mov edx, dword [esi + 0xc]
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov ecx, dword [esi + 0x14]
mov dword [edi + 0x14], ecx
mov edx, dword [esi + 0x18]
mov dword [edi + 0x18], edx
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov ecx, dword [esi + 0x20]
mov dword [edi + 0x20], ecx
mov edx, dword [esi + 0x24]
mov dword [edi + 0x24], edx
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov ecx, dword [esi + 0x2c]
mov dword [edi + 0x2c], ecx
mov edx, dword [esi + 0x30]
mov dword [edi + 0x30], edx
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov ecx, dword [esi + 0x3c]
mov dword [edi + 0x3c], ecx
mov edx, dword [esi + 0x40]
mov dword [edi + 0x40], edx
mov eax, dword [esi + 0x44]
mov dword [edi + 0x44], eax
mov ecx, dword [esi + 0x48]
mov dword [edi + 0x48], ecx
mov edx, dword [esi + 8]
mov ebp, dword [esp + 0x60]
mov dword [edi + 4], edx
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov ecx, dword [esi + 0x58]
mov dword [edi + 0x60], ecx
mov edx, dword [esi + 0x4c]
mov dword [edi + 0x4c], edx
mov eax, dword [esi + 0x5c]
mov dword [edi + 0x64], eax
mov ecx, dword [esi + 0x60]
mov dword [edi + 0x68], ecx
mov edx, dword [esi + 0x64]
mov dword [edi + 0x6c], edx
mov ecx, dword [esi + 0x6c]
mov eax, dword [esi + 0x68]
push ecx
add eax, ebp
xor ebx, ebx
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.10001f80
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x38]
push eax
lea ecx, [edi + 0x70]
mov dword [esp + 0x60], ebx
call fcn.10001e90
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x54], 0xffffffff
jb 0x1000a79f
mov ecx, dword [esp + 0x34]
push ecx
call fcn.10036530
add esp, 4
mov ecx, dword [esi + 0x78]
mov eax, dword [esi + 0x7c]
push ecx
add eax, ebp
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.10001f80
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x38]
push edx
lea ecx, [edi + 0xa8]
mov dword [esp + 0x60], 1
call fcn.10001e90
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x54], 0xffffffff
jb 0x1000a7f9
mov eax, dword [esp + 0x34]
push eax
call fcn.10036530
add esp, 4
mov ecx, dword [esi + 0x80]
mov eax, dword [esi + 0x84]
push ecx
add eax, ebp
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.10001f80
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x38]
push ecx
lea ecx, [edi + 0xc4]
mov dword [esp + 0x60], 2
call fcn.10001e90
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x54], 0xffffffff
jb 0x1000a859
mov edx, dword [esp + 0x34]
push edx
call fcn.10036530
add esp, 4
mov ecx, dword [esi + 0x88]
mov eax, dword [esi + 0x8c]
push ecx
add eax, ebp
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.10001f80
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x38]
push eax
lea ecx, [edi + 0xe0]
mov dword [esp + 0x60], 3
call fcn.10001e90
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x54], 0xffffffff
jb 0x1000a8b9
mov ecx, dword [esp + 0x34]
push ecx
call fcn.10036530
add esp, 4
mov ecx, dword [esi + 0x90]
mov eax, dword [esi + 0x94]
push ecx
add eax, ebp
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.10001f80
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x38]
push edx
lea ecx, [edi + 0xfc]
mov dword [esp + 0x60], 4
call fcn.10001e90
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x54], 0xffffffff
jb 0x1000a919
mov eax, dword [esp + 0x34]
push eax
call fcn.10036530
add esp, 4
mov ecx, dword [esi + 0x98]
mov eax, dword [esi + 0x9c]
push ecx
add eax, ebp
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.10001f80
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x38]
push ecx
lea ecx, [edi + 0x118]
mov dword [esp + 0x60], 5
call fcn.10001e90
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x54], 0xffffffff
jb 0x1000a979
mov edx, dword [esp + 0x34]
push edx
call fcn.10036530
add esp, 4
mov ecx, dword [esi + 0xa0]
mov eax, dword [esi + 0xa4]
push ecx
add eax, ebp
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.10001f80
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x38]
push eax
lea ecx, [edi + 0x134]
mov dword [esp + 0x60], 6
call fcn.10001e90
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x54], 0xffffffff
jb 0x1000a9d9
mov ecx, dword [esp + 0x34]
push ecx
call fcn.10036530
add esp, 4
mov ecx, dword [esi + 0xa8]
mov eax, dword [esi + 0xac]
push ecx
add eax, ebp
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.10001f80
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x38]
push edx
lea ecx, [edi + 0x150]
mov dword [esp + 0x60], 7
call fcn.10001e90
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x54], 0xffffffff
jb 0x1000aa39
mov eax, dword [esp + 0x34]
push eax
call fcn.10036530
add esp, 4
mov ecx, dword [esi + 0x74]
mov eax, dword [esi + 0x70]
push ecx
add eax, ebp
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.10001f80
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x38]
push ecx
lea ecx, [edi + 0x8c]
mov dword [esp + 0x60], 8
call fcn.10001e90
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x54], 0xffffffff
jb 0x1000aa93
mov edx, dword [esp + 0x34]
push edx
call fcn.10036530
add esp, 4
mov ecx, dword [esi + 0xb0]
mov eax, dword [esi + 0xb4]
push ecx
add eax, ebp
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.10001f80
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x38]
push eax
lea ecx, [edi + 0x16c]
mov dword [esp + 0x60], 9
call fcn.10001e90
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x54], 0xffffffff
jb 0x1000aaf3
mov ecx, dword [esp + 0x34]
push ecx
call fcn.10036530
add esp, 4
mov ecx, dword [esi + 0xb8]
mov eax, dword [esi + 0xbc]
push ecx
add eax, ebp
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.10001f80
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x38]
push edx
lea ecx, [edi + 0x188]
mov dword [esp + 0x60], 0xa
call fcn.10001e90
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x54], 0xffffffff
jb 0x1000ab53
mov eax, dword [esp + 0x34]
push eax
call fcn.10036530
add esp, 4
mov ecx, dword [esi + 0xc0]
mov eax, dword [esi + 0xc4]
push ecx
add eax, ebp
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.10001f80
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [edi + 0x1a4]
mov dword [esp + 0x60], 0xb
call fcn.10001e90
cmp dword [esp + 0x2c], 0x10
mov dword [esp + 0x54], 0xffffffff
jb 0x1000abb3
mov edx, dword [esp + 0x18]
push edx
call fcn.10036530
add esp, 4
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
push edi
add eax, ebp
push eax
push ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.1000a3e0
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret 0xc