Function at 0x42ea00
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x478659
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x49e044]
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 edi, ecx
mov dword [ebp - 0x68], edi
mov eax, dword fs:[0x2c]
mov esi, dword [ebp + 8]
mov edx, dword [eax]
mov eax, dword [0x4a6c54]
cmp eax, dword [edx + 4]
jle 0x42ea95
push 0x4a6c54
call fcn.00453075
add esp, 4
cmp dword [0x4a6c54], 0xffffffff
jne 0x42ea95
push 0x49ff58
mov ecx, 0x4a6c58
mov dword [ebp - 4], 0
call fcn.00414700
push 0x47cd80
call fcn.00452ef3
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x4a6c54
call fcn.0045302b
add esp, 4
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x18], 0
jb 0x42eaa4
mov esi, dword [esi]
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
mov dword [edi + 0x50], 0
mov dword [ebp - 0x70], ebx
test ebx, ebx
je 0x42ee7c
cmp dword [ebp - 0x18], 5
jle 0x42ee7c
mov edx, dword [ebx + 4]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ead5
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00416e00
mov edx, dword [ebx + 8]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42eaf5
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x18]
call fcn.00416e00
mov edx, dword [ebx + 0xc]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42eb16
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x30]
call fcn.00416e00
mov edx, dword [ebx + 0x10]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42eb52
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x48]
call fcn.00416e00
mov dword [ebp - 4], 1
xor eax, eax
mov edx, dword [ebx + 0x14]
mov ecx, edx
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42eb95
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x60]
call fcn.00416e00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x48]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x78], ebx
cmp eax, 8
jb 0x42ebc8
mov ecx, ebx
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x60]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x7c], edi
cmp esi, 2
jne 0x42ebef
push 2
mov edx, 0x48da9c
call fcn.00429540
add esp, 4
test eax, eax
je 0x42ec1e
cmp dword [ebp - 0x64], 8
lea ecx, [ebp - 0x48]
jb 0x42ebfa
mov ecx, ebx
cmp esi, 2
jne 0x42ee41
push esi
mov edx, 0x48daa4
call fcn.00429540
add esp, 4
test eax, eax
jne 0x42ee41
mov eax, 1
mov ecx, dword [ebp - 0x68]
mov dword [ecx + 0x48], eax
lea ecx, [ebp - 0x60]
mov eax, dword [ebp - 0x6c]
cmp eax, 8
jb 0x42ec31
mov ecx, edi
mov esi, dword [ebp - 0x50]
cmp esi, 3
jne 0x42ec4e
push esi
mov edx, 0x48daac
call fcn.00429540
add esp, 4
test eax, eax
je 0x42ec7c
mov eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x60]
cmp eax, 8
jb 0x42ec58
mov ecx, edi
cmp esi, 3
jne 0x42ee3a
push esi
mov edx, 0x48dab4
call fcn.00429540
add esp, 4
test eax, eax
jne 0x42ee3a
mov eax, 1
mov ecx, dword [ebp - 0x68]
mov dword [ecx + 0x4c], eax
cmp dword [ebp - 0x18], 6
jle 0x42edd6
mov edx, dword [ebp - 0x70]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov edx, dword [edx + 0x18]
mov ecx, edx
mov word [ebp - 0x30], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ecb2
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.00416e00
mov byte [ebp - 4], 3
mov ebx, dword [0x4a6c68]
mov ecx, dword [ebp - 0x20]
lea eax, [ebx + 2]
cmp ecx, eax
jbe 0x42ed96
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x30]
mov esi, dword [ebp - 0x30]
cmp edi, 8
jb 0x42ecf3
mov eax, esi
cmp word [eax], 0x2f
jne 0x42ed9c
cmp ecx, 1
jb 0x42ee9f
cmp dword [0x4a6c6c], 8
mov edx, 0x4a6c58
jb 0x42ed1a
mov edx, dword [0x4a6c58]
lea eax, [ecx - 1]
mov dword [ebp - 0x74], eax
cmp eax, ebx
jb 0x42ed29
mov eax, ebx
mov dword [ebp - 0x74], ebx
lea ecx, [ebp - 0x30]
cmp edi, 8
jb 0x42ed33
mov ecx, esi
add ecx, 2
cmp ebx, eax
jae 0x42ed3c
mov eax, ebx
push eax
call fcn.00429540
add esp, 4
test eax, eax
jne 0x42ed9c
cmp dword [ebp - 0x74], ebx
jb 0x42ed9c
ja 0x42ed9c
lea eax, [ebp - 0x30]
cmp edi, 8
jb 0x42ed5a
mov eax, esi
cmp word [eax + ebx*2 + 2], 0x3a
jne 0x42ed9c
lea eax, [ebp - 0x30]
cmp edi, 8
jb 0x42ed6c
mov eax, esi
lea eax, [eax + ebx*2]
push 0xa
add eax, 4
push 0
push eax
call fcn.0045fd1b
mov ebx, dword [ebp - 0x68]
add esp, 0xc
mov dword [ebx + 0x50], eax
call fcn.0045e182
cmp dword [eax], 0
je 0x42ed96
mov dword [ebx + 0x50], 0
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x1c]
cmp edi, 8
jb 0x42edd0
lea edi, [edi*2 + 2]
mov eax, esi
cmp edi, 0x1000
jb 0x42edc6
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42eea4
push edi
push esi
call fcn.00452f08
add esp, 8
mov edi, dword [ebp - 0x7c]
mov ebx, dword [ebp - 0x78]
xor esi, esi
mov eax, dword [ebp - 0x6c]
cmp eax, 8
jb 0x42ee0f
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x42ee05
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42eea9
push ecx
push edi
call fcn.00452f08
add esp, 8
mov eax, dword [ebp - 0x64]
cmp eax, 8
jb 0x42ee52
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x42ee48
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42eea9
jmp 0x42ee48
mov esi, 4
jmp 0x42edd8
mov esi, 3
jmp 0x42edd8
push ecx
push ebx
call fcn.00452f08
add esp, 8
mov ebx, dword [ebp - 0x70]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
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.004528ff
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CommandLineToArgvW_failed___d__n
call fcn.0042e160
xor eax, eax
add esp, 8
test ebx, ebx
setne al
inc eax
mov dword [ebp - 0x64], eax
mov esi, eax
jmp 0x42ee55
call fcn.00419660
call fcn.0045e090
call fcn.0045e090
int3