Function at 0x427e60
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49cded
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4cc498]
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 0x42800f
xor ebx, ebx
mov dword [ebp - 0x38], ebx
cmp dword [ebp - 0x3c], ebx
jle 0x428008
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 0x427ef0
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 0x427fba
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 0x427f64
cmp word [eax], 0x2f
je 0x427f62
cmp edx, 1
je 0x427f64
add eax, 2
dec edx
cmp word [eax], 0x2f
jne 0x427f53
mov esi, eax
mov eax, esi
test eax, eax
je 0x427fb1
movzx edx, word [eax]
mov edi, 0x2f
mov esi, 0x10
mov ecx, str._startup_source
cmp edx, edi
jb 0x427f9f
mov ebx, eax
sub ebx, ecx
cmp dx, di
ja 0x427f9f
cmp esi, 1
je 0x427fa7
movzx edx, word [ebx + ecx + 2]
add ecx, 2
dec esi
movzx edi, word [ecx]
cmp dx, di
jae 0x427f87
mov ecx, dword [ebp - 0x40]
add eax, 2
jmp 0x427f40
sub eax, dword [ebp - 0x44]
sar eax, 1
cmp eax, 0xffffffff
jne 0x42802d
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
cmp edi, 8
jb 0x427ff5
lea ecx, [edi*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x427feb
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42808f
push ecx
push edx
call fcn.0049744e
add esp, 8
mov eax, dword [ebp - 0x34]
inc ebx
mov dword [ebp - 0x38], ebx
cmp ebx, dword [ebp - 0x3c]
jl 0x427ec7
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.0049745c
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x48]
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x42804f
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 0x428052
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
mov bl, 1
cmp ecx, 8
jb 0x428087
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42807d
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42808f
push ecx
push edx
call fcn.0049744e
add esp, 8
mov eax, dword [ebp - 0x34]
jmp 0x428008
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3