Function at 0x405210
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov eax, dword [0x47f034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x90], ecx
lea ecx, [ebp - 0x94]
push ecx
push eax
mov dword [ebp - 0x94], 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor esi, esi
mov edi, eax
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x98], esi
cmp dword [ebp - 0x94], esi
jle 0x405c2a
push ebx
push 2
push 0x46c6dc
push dword [edi + esi*4]
call fcn.00428136
mov ebx, dword [edi + esi*4]
add esp, 0xc
mov dword [ebp - 0x88], ebx
test eax, eax
jne 0x405652
lea esi, [ebx + 4]
push 0x3d
push esi
mov dword [ebp - 0x8c], esi
call fcn.0041d99a
mov ecx, esi
mov dword [ebp - 0xc], 0
mov edi, eax
mov dword [ebp - 8], 7
add esp, 8
mov dword [ebp - 0x84], edi
xor eax, eax
mov word [ebp - 0x1c], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4052c0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x1c]
call fcn.00405f00
mov ecx, ebx
mov dword [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4052f2
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x34]
call fcn.00405f00
xor eax, eax
mov dword [ebp - 0x3c], 0
push eax
push 0x476d90
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
call fcn.00405f00
test edi, edi
je 0x40543b
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], 0
lea ebx, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov word [eax], cx
mov edi, dword [ebp - 8]
cmp edi, 8
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x1c]
cmovae ebx, esi
lea ecx, [eax + eax]
add ebx, ecx
lea eax, [ebp - 0x1c]
cmp edi, 8
cmovae eax, esi
add eax, ecx
mov ecx, dword [ebp - 0x84]
sub ebx, eax
sar ebx, 1
cmp edi, 8
cmovae edx, esi
mov esi, dword [ebp - 0x8c]
sub ecx, esi
sub eax, edx
sar ecx, 1
push ecx
push esi
push ebx
sar eax, 1
lea ecx, [ebp - 0x1c]
push eax
call fcn.00406170
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
mov dword [ebp - 0x24], 0
lea ebx, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
lea edx, [ebp - 0x34]
xor ecx, ecx
mov word [eax], cx
mov edi, dword [ebp - 0x20]
cmp edi, 8
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x34]
cmovae ebx, esi
lea ecx, [eax + eax]
add ebx, ecx
lea eax, [ebp - 0x34]
cmp edi, 8
cmovae eax, esi
add eax, ecx
sub ebx, eax
sar ebx, 1
cmp edi, 8
mov edi, dword [ebp - 0x84]
mov ecx, edi
cmovae edx, esi
mov esi, dword [ebp - 0x88]
sub ecx, esi
sub eax, edx
sar ecx, 1
push ecx
push esi
push ebx
sar eax, 1
lea ecx, [ebp - 0x34]
push eax
call fcn.00406170
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x3c], 0
cmovae eax, dword [ebp - 0x4c]
xor ecx, ecx
add edi, 2
mov word [eax], cx
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405422
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x4c]
call fcn.00404610
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00404c90
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x64]
call fcn.00404c90
push dword [ebp - 0x80]
mov esi, dword [ebp - 0x90]
lea eax, [ebp - 0x7c]
push eax
push 0
lea eax, [ebp - 0xa0]
mov ecx, esi
push eax
call fcn.004049c0
mov edx, dword [ebp - 0x50]
cmp edx, 8
jb 0x4054aa
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4054a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405c3c
push edx
push ecx
call fcn.0041afbd
add esp, 8
mov edx, dword [ebp - 0x68]
cmp edx, 8
jb 0x4054e4
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4054da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405c3c
push edx
push ecx
call fcn.0041afbd
add esp, 8
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00404c90
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x64]
call fcn.00404c90
push dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
push 0
lea eax, [ebp - 0xa8]
push eax
call fcn.004049c0
mov edx, dword [ebp - 0x50]
cmp edx, 8
jb 0x40554d
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405543
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405c3c
push edx
push ecx
call fcn.0041afbd
add esp, 8
mov edx, dword [ebp - 0x68]
cmp edx, 8
jb 0x405587
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40557d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405c3c
push edx
push ecx
call fcn.0041afbd
add esp, 8
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x4055c1
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4055b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405c3c
push edx
push ecx
call fcn.0041afbd
add esp, 8
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x4055fb
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4055f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405c3c
push edx
push ecx
call fcn.0041afbd
add esp, 8
mov edx, dword [ebp - 8]
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
cmp edx, 8
jb 0x405c0c
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405643
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405c3c
push edx
push ecx
call fcn.0041afbd
add esp, 8
jmp 0x405c0c
push 1
push 0x46c6e4
push ebx
call fcn.00428136
mov ebx, dword [edi + esi*4]
add esp, 0xc
mov dword [ebp - 0x8c], ebx
push 0x3d
test eax, eax
jne 0x405a42
lea esi, [ebx + 2]
push esi
mov dword [ebp - 0x88], esi
call fcn.0041d99a
mov ecx, esi
mov dword [ebp - 0xc], 0
mov edi, eax
mov dword [ebp - 8], 7
add esp, 8
mov dword [ebp - 0x84], edi
xor eax, eax
mov word [ebp - 0x1c], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4056b0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x1c]
call fcn.00405f00
mov ecx, ebx
mov dword [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4056e2
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x34]
call fcn.00405f00
xor eax, eax
mov dword [ebp - 0x3c], 0
push eax
push 0x476d90
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
call fcn.00405f00
test edi, edi
je 0x40582b
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], 0
lea ebx, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov word [eax], cx
mov edi, dword [ebp - 8]
cmp edi, 8
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x1c]
cmovae ebx, esi
lea ecx, [eax + eax]
add ebx, ecx
lea eax, [ebp - 0x1c]
cmp edi, 8
cmovae eax, esi
add eax, ecx
mov ecx, dword [ebp - 0x84]
sub ebx, eax
sar ebx, 1
cmp edi, 8
cmovae edx, esi
mov esi, dword [ebp - 0x88]
sub ecx, esi
sub eax, edx
sar ecx, 1
push ecx
push esi
push ebx
sar eax, 1
lea ecx, [ebp - 0x1c]
push eax
call fcn.00406170
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
mov dword [ebp - 0x24], 0
lea ebx, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
lea edx, [ebp - 0x34]
xor ecx, ecx
mov word [eax], cx
mov edi, dword [ebp - 0x20]
cmp edi, 8
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x34]
cmovae ebx, esi
lea ecx, [eax + eax]
add ebx, ecx
lea eax, [ebp - 0x34]
cmp edi, 8
cmovae eax, esi
add eax, ecx
sub ebx, eax
sar ebx, 1
cmp edi, 8
mov edi, dword [ebp - 0x84]
mov ecx, edi
cmovae edx, esi
mov esi, dword [ebp - 0x8c]
sub ecx, esi
sub eax, edx
sar ecx, 1
push ecx
push esi
push ebx
sar eax, 1
lea ecx, [ebp - 0x34]
push eax
call fcn.00406170
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x3c], 0
cmovae eax, dword [ebp - 0x4c]
xor ecx, ecx
add edi, 2
mov word [eax], cx
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405812
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x4c]
call fcn.00404610
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00404c90
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x64]
call fcn.00404c90
push dword [ebp - 0x80]
mov esi, dword [ebp - 0x90]
lea eax, [ebp - 0x7c]
push eax
push 0
lea eax, [ebp - 0xb0]
mov ecx, esi
push eax
call fcn.004049c0
mov edx, dword [ebp - 0x50]
cmp edx, 8
jb 0x40589a
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405890
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405c3c
push edx
push ecx
call fcn.0041afbd
add esp, 8
mov edx, dword [ebp - 0x68]
cmp edx, 8
jb 0x4058d4
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4058ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405c3c
push edx
push ecx
call fcn.0041afbd
add esp, 8
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00404c90
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x64]
call fcn.00404c90
push dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
push 0
lea eax, [ebp - 0xb8]
push eax
call fcn.004049c0
mov edx, dword [ebp - 0x50]
cmp edx, 8
jb 0x40593d
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405933
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405c3c
push edx
push ecx
call fcn.0041afbd
add esp, 8
mov edx, dword [ebp - 0x68]
cmp edx, 8
jb 0x405977
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40596d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405c3c
push edx
push ecx
call fcn.0041afbd
add esp, 8
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x4059b1
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4059a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405c3c
push edx
push ecx
call fcn.0041afbd
add esp, 8
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x4059eb
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4059e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405c3c
push edx
push ecx
call fcn.0041afbd
add esp, 8
mov edx, dword [ebp - 8]
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
cmp edx, 8
jb 0x405c0c
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405a33
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405c3c
push edx
push ecx
call fcn.0041afbd
add esp, 8
jmp 0x405c0c
push ebx
call fcn.0041d99a
mov ecx, ebx
mov dword [ebp - 0xc], 0
mov esi, eax
mov dword [ebp - 8], 7
add esp, 8
mov dword [ebp - 0x88], esi
xor eax, eax
mov word [ebp - 0x1c], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405a70
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00405f00
xor eax, eax
mov dword [ebp - 0x3c], 0
push eax
push 0x476d90
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
call fcn.00405f00
test esi, esi
je 0x405b59
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], 0
lea ebx, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov word [eax], cx
mov edi, dword [ebp - 8]
cmp edi, 8
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x1c]
cmovae ebx, esi
lea ecx, [eax + eax]
add ebx, ecx
lea eax, [ebp - 0x1c]
cmp edi, 8
cmovae eax, esi
add eax, ecx
sub ebx, eax
sar ebx, 1
cmp edi, 8
mov edi, dword [ebp - 0x88]
mov ecx, edi
cmovae edx, esi
mov esi, dword [ebp - 0x8c]
sub ecx, esi
sub eax, edx
sar ecx, 1
push ecx
push esi
push ebx
sar eax, 1
lea ecx, [ebp - 0x1c]
push eax
call fcn.00406170
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x3c], 0
cmovae eax, dword [ebp - 0x4c]
xor ecx, ecx
add edi, 2
mov word [eax], cx
mov ecx, edi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405b40
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x4c]
call fcn.00404610
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00404c90
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x64]
call fcn.00404c90
push dword [ebp - 0x80]
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x7c]
push eax
push 0
lea eax, [ebp - 0xc0]
push eax
call fcn.004049c0
mov edx, dword [ebp - 0x50]
cmp edx, 8
jb 0x405bc6
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405bbc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405c3c
push edx
push ecx
call fcn.0041afbd
add esp, 8
mov edx, dword [ebp - 0x68]
cmp edx, 8
jb 0x405bfc
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405bf2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405c3c
push edx
push ecx
call fcn.0041afbd
add esp, 8
lea ecx, [ebp - 0x4c]
call fcn.00405e90
lea ecx, [ebp - 0x1c]
call fcn.00405e90
mov esi, dword [ebp - 0x98]
inc esi
mov dword [ebp - 0x98], esi
cmp esi, dword [ebp - 0x94]
jge 0x405c29
mov edi, dword [ebp - 0x80]
jmp 0x405260
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041afcb
mov esp, ebp
pop ebp
ret 4
call fcn.004262f9
int3