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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10287310
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x108
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0xb0]
call fcn.101b7420
mov byte [ebp - 0xb0], 1
mov byte [ebp - 0xaf], 1
lea eax, [ebp - 0xb0]
push eax
call fcn.100062b0
add esp, 4
mov ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x24], edx
mov al, byte [eax + 8]
mov byte [ebp - 0x20], al
mov ecx, dword [ebx + 0xc]
push ecx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0xa4], eax
sub esp, 0xc
mov edx, esp
mov eax, dword [ebp - 0x28]
mov dword [edx], eax
mov ecx, dword [ebp - 0x24]
mov dword [edx + 4], ecx
movzx eax, byte [ebp - 0x20]
mov byte [edx + 8], al
mov ecx, dword [ebp - 0xa4]
push ecx
lea edx, [ebp - 0xa0]
push edx
mov ecx, dword [ebp - 0x2c]
call fcn.1016b6e0
mov dword [ebp - 4], 0
mov eax, dword [ebx + 0x74]
push eax
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, dword [ebx + 0x70]
push ecx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x34], eax
mov edx, dword [ebx + 0x6c]
push edx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x68]
push eax
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebx + 0x64]
push ecx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x40], eax
mov edx, dword [ebx + 0x60]
push edx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 0x5c]
push eax
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x48], eax
mov ecx, dword [ebx + 0x58]
push ecx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x4c], eax
mov edx, dword [ebx + 0x54]
push edx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x50]
push eax
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x54], eax
mov ecx, dword [ebx + 0x4c]
push ecx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x58], eax
mov edx, dword [ebx + 0x48]
push edx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x5c], eax
mov eax, dword [ebx + 0x44]
push eax
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x60], eax
mov ecx, dword [ebx + 0x40]
push ecx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x64], eax
mov edx, dword [ebx + 0x3c]
push edx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 0x38]
push eax
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebx + 0x34]
push ecx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x70], eax
mov edx, dword [ebx + 0x30]
push edx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x74], eax
mov eax, dword [ebx + 0x2c]
push eax
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x78], eax
mov ecx, dword [ebx + 0x28]
push ecx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x7c], eax
mov edx, dword [ebx + 0x24]
push edx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x80], eax
mov eax, dword [ebx + 0x20]
push eax
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x84], eax
mov ecx, dword [ebx + 0x1c]
push ecx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x88], eax
mov edx, dword [ebx + 0x18]
push edx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x8c], eax
mov eax, dword [ebx + 0x14]
push eax
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x90], eax
mov ecx, dword [ebx + 0x10]
push ecx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x94], eax
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x74]
push ecx
mov edx, dword [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x80]
push ecx
mov edx, dword [ebp - 0x84]
push edx
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
mov edx, dword [ebp - 0x90]
push edx
mov eax, dword [ebp - 0x94]
push eax
lea ecx, [ebp - 0x118]
push ecx
call fcn.10160890
add esp, 0x6c
mov dword [ebp - 0x98], eax
mov dl, byte [ebp - 0x12]
mov byte [ebp - 0x11], dl
mov eax, dword [ebp - 0x98]
push eax
movzx ecx, byte [ebp - 0x11]
push ecx
lea ecx, [ebp - 0xa0]
call fcn.101aa300
nop
lea edx, [ebp - 0xa0]
push edx
mov ecx, dword [ebx + 8]
call fcn.101b67b0
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.101b8c20
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x70