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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x410b53
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x419018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x4c], ebx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x50], ebx
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], 0xf
mov byte [ebx], cl
mov dword [ebp - 4], ecx
xor edx, edx
mov dword [ebx + 0x18], edx
mov dword [ebx + 0x1c], edx
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x24], edx
mov dword [ebx + 0x28], edx
mov dword [ebx + 0x2c], 0xf
mov byte [ebx + 0x18], dl
mov dword [ebx + 0x30], edx
mov dword [ebx + 0x34], edx
mov dword [ebx + 0x38], edx
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.00402100
mov byte [ebp - 4], 3
cmp dword [ebp - 0x34], 0
jbe 0x401832
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.00401360
mov edx, eax
mov byte [ebp - 4], 4
mov ecx, dword [ebx + 0x34]
cmp ecx, dword [ebx + 0x38]
je 0x4017e6
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov eax, dword [edx + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [ecx + 0x14], eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
add dword [ebx + 0x34], 0x18
jmp 0x4017f0
push edx
push ecx
lea ecx, [ebx + 0x30]
call fcn.00402730
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x401828
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40181e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4019a7
push ecx
push edx
call fcn.00404cc3
add esp, 8
cmp dword [ebp - 0x34], 0
ja 0x401781
mov ecx, dword [ebx + 0x34]
mov eax, 0x2aaaaaab
mov edi, dword [ebx + 0x30]
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x40198c
push ecx
push 0x416be8
mov ecx, edi
call fcn.00401e80
mov ecx, eax
mov dword [ebp - 0x48], ecx
cmp ebx, edi
je 0x40187e
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0x401872
mov edi, dword [edi]
push eax
push edi
mov ecx, ebx
call fcn.00402200
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xffffffff
je 0x40193c
mov eax, dword [ebx + 0x10]
lea edi, [ecx + 1]
cmp eax, edi
mov dword [ebp - 0x48], ebx
mov edx, edi
cmovb edx, eax
cmp dword [ebx + 0x14], 0x10
jb 0x4018a2
mov ecx, dword [ebx]
mov dword [ebp - 0x48], ecx
sub eax, edx
mov dword [ebp - 0x4c], eax
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x48]
push ecx
add eax, edx
push eax
push dword [ebp - 0x48]
call fcn.00405e20
mov eax, dword [ebp - 0x4c]
add esp, 0xc
mov dword [ebx + 0x10], eax
test eax, eax
jne 0x4018d0
push str.Empty_exe_name._
jmp 0x401991
mov edx, dword [ebx + 0x30]
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
cmp dword [edx + 0x10], edi
mov dword [ebp - 0x20], eax
cmovb edi, dword [edx + 0x10]
cmp dword [edx + 0x14], 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
jb 0x4018f6
mov edx, dword [edx]
push edi
push edx
lea ecx, [ebp - 0x2c]
call fcn.00401280
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebx + 0x18]
call fcn.00402070
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x40193c
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401932
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4019a7
push ecx
push edx
call fcn.00404cc3
add esp, 8
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x40196c
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401962
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4019a7
push ecx
push edx
call fcn.00404cc3
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00404a2f
mov esp, ebp
pop ebp
ret 4
push str.Empty_command_line_string.
lea ecx, [ebp - 0x20]
call fcn.00401200
push 0x417df4
lea eax, [ebp - 0x20]
push eax
call fcn.00405d01
call fcn.00407c1f
int3