Function at 0x427fd0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f51d
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 0x42817f
xor ebx, ebx
mov dword [ebp - 0x38], ebx
cmp dword [ebp - 0x3c], ebx
jle 0x428178
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 0x428060
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 0x42812a
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 0x4280d4
cmp word [eax], 0x2f
je 0x4280d2
cmp edx, 1
je 0x4280d4
add eax, 2
dec edx
cmp word [eax], 0x2f
jne 0x4280c3
mov esi, eax
mov eax, esi
test eax, eax
je 0x428121
movzx edx, word [eax]
mov edi, 0x2f
mov esi, 0x10
mov ecx, str._startup_source
cmp edx, edi
jb 0x42810f
mov ebx, eax
sub ebx, ecx
cmp dx, di
ja 0x42810f
cmp esi, 1
je 0x428117
movzx edx, word [ebx + ecx + 2]
add ecx, 2
dec esi
movzx edi, word [ecx]
cmp dx, di
jae 0x4280f7
mov ecx, dword [ebp - 0x40]
add eax, 2
jmp 0x4280b0
sub eax, dword [ebp - 0x44]
sar eax, 1
cmp eax, 0xffffffff
jne 0x42819d
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
cmp edi, 8
jb 0x428165
lea ecx, [edi*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42815b
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4281ff
push ecx
push edx
call fcn.00499aee
add esp, 8
mov eax, dword [ebp - 0x34]
inc ebx
mov dword [ebp - 0x38], ebx
cmp ebx, dword [ebp - 0x3c]
jl 0x428037
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.00499afc
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x48]
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x4281bf
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 0x4281c2
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
mov bl, 1
cmp ecx, 8
jb 0x4281f7
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4281ed
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4281ff
push ecx
push edx
call fcn.00499aee
add esp, 8
mov eax, dword [ebp - 0x34]
jmp 0x428178
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3