Function at 0x428050
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ec2d
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4ce4bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor bl, bl
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 0x29], bl
mov dword [ebp - 0x3c], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x4281ff
xor ebx, ebx
mov dword [ebp - 0x38], ebx
cmp dword [ebp - 0x3c], ebx
jle 0x4281f8
mov edx, dword [eax + ebx*4]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4280e0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00404580
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp edi, 8
mov ecx, dword [ebp - 0x18]
cmovae eax, edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x44], eax
cmp ecx, 0x10
jb 0x4281aa
add ecx, 0xfffffff1
lea ecx, [eax + ecx*2]
mov dword [ebp - 0x40], ecx
lea ebx, [ebx]
mov edx, ecx
mov esi, 0
sub edx, eax
sar edx, 1
je 0x428154
cmp word [eax], 0x2f
je 0x428152
cmp edx, 1
je 0x428154
add eax, 2
dec edx
cmp word [eax], 0x2f
jne 0x428143
mov esi, eax
mov eax, esi
test eax, eax
je 0x4281a1
movzx edx, word [eax]
mov edi, 0x2f
mov esi, 0x10
mov ecx, str._startup_source
cmp edx, edi
jb 0x42818f
mov ebx, eax
sub ebx, ecx
cmp dx, di
ja 0x42818f
cmp esi, 1
je 0x428197
movzx edx, word [ebx + ecx + 2]
add ecx, 2
dec esi
movzx edi, word [ecx]
cmp dx, di
jae 0x428177
mov ecx, dword [ebp - 0x40]
add eax, 2
jmp 0x428130
sub eax, dword [ebp - 0x44]
sar eax, 1
cmp eax, 0xffffffff
jne 0x42821d
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
cmp edi, 8
jb 0x4281e5
lea ecx, [edi*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4281db
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42827f
push ecx
push edx
call fcn.004991fe
add esp, 8
mov eax, dword [ebp - 0x34]
inc ebx
mov dword [ebp - 0x38], ebx
cmp ebx, dword [ebp - 0x3c]
jl 0x4280b7
mov bl, byte [ebp - 0x29]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049920c
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x48]
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x42823f
cmp dword [ebp - 0x14], 8
mov ecx, esi
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.00404580
mov edx, dword [ebp - 0x28]
jmp 0x428242
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
mov bl, 1
cmp ecx, 8
jb 0x428277
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42826d
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42827f
push ecx
push edx
call fcn.004991fe
add esp, 8
mov eax, dword [ebp - 0x34]
jmp 0x4281f8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3