Function at 0x1016b140
Capabilities:
Access peb ldr_data
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 0x102872ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xa8
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x80]
call fcn.101b7420
mov byte [ebp - 0x80], 1
mov byte [ebp - 0x7f], 1
lea eax, [ebp - 0x80]
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 - 0x2c], 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 - 0x2c]
push ecx
lea edx, [ebp - 0x74]
push edx
mov ecx, dword [ebp - 0x30]
call fcn.1016b030
mov dword [ebp - 4], 0
mov eax, dword [ebx + 0x44]
push eax
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x34], eax
mov ecx, dword [ebx + 0x40]
push ecx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x38], eax
mov edx, dword [ebx + 0x3c]
push edx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx + 0x38]
push eax
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x40], eax
mov ecx, dword [ebx + 0x34]
push ecx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x44], eax
mov edx, dword [ebx + 0x30]
push edx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0x2c]
push eax
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebx + 0x28]
push ecx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x50], eax
mov edx, dword [ebx + 0x24]
push edx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x54], eax
mov eax, dword [ebx + 0x20]
push eax
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x58], eax
mov ecx, dword [ebx + 0x1c]
push ecx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x5c], eax
mov edx, dword [ebx + 0x18]
push edx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x60], eax
mov eax, dword [ebx + 0x14]
push eax
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x64], eax
mov ecx, dword [ebx + 0x10]
push ecx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x68]
push eax
lea ecx, [ebp - 0xb8]
push ecx
call fcn.10160ca0
add esp, 0x3c
mov dword [ebp - 0x6c], eax
mov dl, byte [ebp - 0x12]
mov byte [ebp - 0x11], dl
mov eax, dword [ebp - 0x6c]
push eax
movzx ecx, byte [ebp - 0x11]
push ecx
lea ecx, [ebp - 0x74]
call fcn.101a9970
nop
lea edx, [ebp - 0x74]
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 - 0x74]
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 0x40