Function at 0x1016a540
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 0x102872cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xb8
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x88]
call fcn.101b7420
mov byte [ebp - 0x88], 1
mov byte [ebp - 0x87], 1
lea eax, [ebp - 0x88]
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
mov al, byte [ebp - 0x20]
mov byte [edx + 8], al
mov ecx, dword [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x7c]
push edx
mov ecx, dword [ebp - 0x30]
call fcn.1016a430
mov dword [ebp - 4], 0
mov eax, dword [ebx + 0x4c]
push eax
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x34], eax
mov ecx, dword [ebx + 0x48]
push ecx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x38], eax
mov edx, dword [ebx + 0x44]
push edx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx + 0x40]
push eax
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x40], eax
mov ecx, dword [ebx + 0x3c]
push ecx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x44], eax
mov edx, dword [ebx + 0x38]
push edx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0x34]
push eax
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebx + 0x30]
push ecx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x50], eax
mov edx, dword [ebx + 0x2c]
push edx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x54], eax
mov eax, dword [ebx + 0x28]
push eax
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x58], eax
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x5c], eax
mov edx, dword [ebx + 0x20]
push edx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x60], eax
mov eax, dword [ebx + 0x1c]
push eax
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x64], eax
mov ecx, dword [ebx + 0x18]
push ecx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x68], eax
mov edx, dword [ebx + 0x14]
push edx
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x6c], eax
mov eax, dword [ebx + 0x10]
push eax
call fcn.100062b0
add esp, 4
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x70]
push ecx
lea edx, [ebp - 0xc8]
push edx
call fcn.10160aa0
add esp, 0x44
mov dword [ebp - 0x74], eax
movzx eax, byte [ebp - 0x12]
mov byte [ebp - 0x11], al
mov ecx, dword [ebp - 0x74]
push ecx
movzx edx, byte [ebp - 0x11]
push edx
lea ecx, [ebp - 0x7c]
call fcn.101a9b90
nop
lea eax, [ebp - 0x7c]
push eax
mov ecx, dword [ebx + 8]
call fcn.101b67b0
mov ecx, dword [ebp - 0x18]
or ecx, 1
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
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 0x48