Function at 0x541338
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x541340
push ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5416f5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, 0x541708
call fcn.00404458
push 0
mov ecx, 0x541718
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.005144f8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x114]
mov dword [edx + 4], eax
push 0
mov ecx, 0x54172c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.005144f8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x114]
mov dword [edx + 0xc], eax
push 0
mov ecx, 0x541740
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.005144f8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x114]
mov dword [edx + 8], eax
push 0
mov ecx, 0x541754
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.005144f8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x114]
mov dword [edx + 0x10], eax
push 0
mov ecx, 0x54176c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.005144f8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x114]
mov dword [edx + 0x18], eax
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x54177c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.005143a8
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp - 4]
call fcn.0053faa8
push 0
mov ecx, 0x54178c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.005144f8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x114]
mov dword [edx + 0x1c], eax
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x54179c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.005143a8
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 4]
call fcn.0053faa8
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x5417b0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.005143a8
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 4]
call fcn.0053faa8
push 0xffffffffffffffff
mov ecx, 0x5417c4
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.005144f8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x114]
mov dword [edx + 0x2c], eax
push 0xffffffffffffffff
mov ecx, 0x5417dc
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.005144f8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x114]
mov dword [edx + 0x30], eax
push 0xffffffffffffffff
mov ecx, 0x5417f4
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.005144f8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x114]
mov dword [edx + 0x34], eax
push 0
mov ecx, 0x54180c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.005144f8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x114]
mov dword [edx + 0x4c], eax
push 0
mov ecx, 0x541828
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.005144f8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x114]
mov dword [edx + 0x50], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
cmp dword [eax + 0x1c], 1
jle 0x54157e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
xor edx, edx
mov dword [eax + 0x1c], edx
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x541844
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.005143a8
cmp dword [ebp - 0xc], 0
je 0x5415ac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
mov byte [eax + 0x54], 1
jmp 0x5415b9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
mov byte [eax + 0x54], 0
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x54185c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.005143a8
cmp dword [ebp - 0xc], 0
je 0x5415e7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
mov byte [eax + 0x55], 1
jmp 0x5415f4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
mov byte [eax + 0x55], 0
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x541878
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.005143a8
cmp dword [ebp - 0xc], 0
je 0x541622
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
mov byte [eax + 0x56], 1
jmp 0x54162f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
mov byte [eax + 0x56], 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x541844
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.005143a8
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xb0]
mov eax, dword [ebp - 4]
call fcn.00542a28
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x114]
mov dword [edx + 0x38], eax
push 0
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x54185c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.005143a8
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xb0]
mov eax, dword [ebp - 4]
call fcn.00542a28
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x114]
mov dword [edx + 0x3c], eax
push 0
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x541878
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.005143a8
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xb0]
mov eax, dword [ebp - 4]
call fcn.00542a28
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x114]
mov dword [edx + 0x40], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5416fc
lea eax, [ebp - 0x24]
mov edx, 8
call fcn.004043e4
ret