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

Disassembly:
mov eax, 0x100430c7
call fcn.10033d28
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov edi, dword [ebp + 0x10]
mov dword [edi + 8], eax
mov eax, dword [esi + 4]
mov dword [edi], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [edi + 0x40], eax
mov eax, dword [esi + 0x44]
mov dword [edi + 0x44], eax
mov eax, dword [esi + 0x48]
mov dword [edi + 0x48], eax
mov eax, dword [esi + 8]
mov dword [edi + 4], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x58]
mov dword [edi + 0x60], eax
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x4c], eax
mov eax, dword [esi + 0x5c]
mov dword [edi + 0x64], eax
mov eax, dword [esi + 0x60]
mov dword [edi + 0x68], eax
mov eax, dword [esi + 0x64]
mov dword [edi + 0x6c], eax
mov eax, dword [esi + 0x68]
push dword [esi + 0x6c]
add eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100065d3
push 0xffffffffffffffff
xor ebx, ebx
push ebx
push eax
lea ecx, [edi + 0x70]
mov dword [ebp - 4], ebx
call fcn.10001a1c
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.1000151f
mov eax, dword [esi + 0x7c]
push dword [esi + 0x78]
add eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
push eax
call fcn.100065d3
mov dword [ebp - 4], 1
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0xa8]
call fcn.10001a1c
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.1000151f
mov eax, dword [esi + 0x84]
push dword [esi + 0x80]
add eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
push eax
call fcn.100065d3
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0xc4]
mov dword [ebp - 4], 2
call fcn.10001a1c
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.1000151f
mov eax, dword [esi + 0x8c]
push dword [esi + 0x88]
add eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
push eax
call fcn.100065d3
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0xe0]
mov dword [ebp - 4], 3
call fcn.10001a1c
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.1000151f
mov eax, dword [esi + 0x94]
push dword [esi + 0x90]
add eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
push eax
call fcn.100065d3
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0xfc]
mov dword [ebp - 4], 4
call fcn.10001a1c
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.1000151f
mov eax, dword [esi + 0x9c]
push dword [esi + 0x98]
add eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
push eax
call fcn.100065d3
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0x118]
mov dword [ebp - 4], 5
call fcn.10001a1c
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.1000151f
mov eax, dword [esi + 0xa4]
push dword [esi + 0xa0]
add eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
push eax
call fcn.100065d3
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0x134]
mov dword [ebp - 4], 6
call fcn.10001a1c
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.1000151f
mov eax, dword [esi + 0xac]
push dword [esi + 0xa8]
add eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
push eax
call fcn.100065d3
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0x150]
mov dword [ebp - 4], 7
call fcn.10001a1c
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.1000151f
mov eax, dword [esi + 0x70]
push dword [esi + 0x74]
add eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
push eax
call fcn.100065d3
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0x8c]
mov dword [ebp - 4], 8
call fcn.10001a1c
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.1000151f
mov eax, dword [esi + 0xb4]
push dword [esi + 0xb0]
add eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
push eax
call fcn.100065d3
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0x16c]
mov dword [ebp - 4], 9
call fcn.10001a1c
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.1000151f
mov eax, dword [esi + 0xbc]
push dword [esi + 0xb8]
add eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
push eax
call fcn.100065d3
mov dword [ebp - 4], 0xa
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0x188]
call fcn.10001a1c
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.1000151f
mov eax, dword [esi + 0xc4]
push dword [esi + 0xc0]
add eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x48]
push eax
call fcn.100065d3
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0x1a4]
mov dword [ebp - 4], 0xb
call fcn.10001a1c
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.1000151f
mov eax, dword [esi + 0x50]
add eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
push edi
push eax
push dword [esi + 0x54]
call fcn.100076dc
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc