Function at 0x402020
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4240e0
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x434014]
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
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x3c], 0
mov ecx, edx
mov dword [ebp - 0x38], 7
xor eax, eax
mov word [ebp - 0x4c], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402070
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.00403560
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
push ecx
cmovae eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x4027fe
cmp dword [ebp - 0x34], 2
jl 0x4027fe
mov edx, dword [eax + 4]
mov ecx, edx
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4020d4
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.00403560
mov edx, str.find_software_name_with_keyword:_
mov byte [ebp - 4], 1
mov ecx, 0x434ff8
call fcn.00404880
lea edx, [ebp - 0x30]
mov esi, eax
lea ecx, [ebp - 0x68]
call fcn.00401ee0
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x40211c
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, esi
call fcn.004054e0
add esp, 4
mov edx, 0x43065c
mov ecx, eax
call fcn.00404880
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x40216d
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402163
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402861
push edx
push ecx
call fcn.00408f08
add esp, 8
xor ebx, ebx
mov dword [ebp - 0x88], vtable.SystemInfo.0
mov dword [ebp - 0x70], ebx
xorps xmm0, xmm0
mov byte [ebp - 4], 3
movlpd qword [ebp - 0x18], xmm0
push 0x130
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.00408ed8
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 4
push eax
call fcn.00406a00
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x80], edi
mov esi, dword [edi]
cmp esi, edi
je 0x40273b
mov eax, dword [esi + 0x18]
lea edx, [esi + 8]
test eax, eax
je 0x40272e
cmp dword [ebp - 0x1c], 8
lea ecx, [ebp - 0x30]
mov ebx, edx
mov dword [ebp - 0x7c], edx
cmovae ecx, dword [ebp - 0x30]
cmp dword [edx + 0x14], 8
mov dword [ebp - 0x74], ecx
jb 0x4021ec
mov ebx, dword [edx]
mov dword [ebp - 0x7c], ebx
mov edx, dword [ebp - 0x20]
cmp edx, eax
ja 0x40272e
test edx, edx
je 0x4022b8
movzx ecx, word [ecx]
sub eax, edx
inc eax
mov dword [ebp - 0x78], ecx
lea edx, [ebx + eax*2]
mov eax, ebx
mov dword [ebp - 0x84], edx
sub edx, eax
movzx ebx, cx
sar edx, 1
mov ecx, 0
mov dword [ebp - 0x50], ecx
je 0x402249
movzx ecx, word [eax]
cmp cx, bx
je 0x402242
nop dword [eax]
cmp edx, 1
je 0x402246
movzx ecx, word [eax + 2]
add eax, 2
dec edx
cmp cx, bx
jne 0x402230
mov ecx, eax
jmp 0x402249
mov ecx, dword [ebp - 0x50]
mov eax, ecx
test eax, eax
je 0x40272e
mov ebx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x20]
movzx edx, word [eax]
movzx ebx, bx
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x74]
cmp dx, bx
jb 0x402299
mov edi, ecx
mov dword [ebp - 0x6c], eax
sub dword [ebp - 0x6c], edi
cmp dx, bx
mov edi, dword [ebp - 0x80]
ja 0x402299
mov edx, dword [ebp - 0x50]
cmp edx, 1
je 0x4022aa
movzx ebx, word [ecx + 2]
dec edx
mov dword [ebp - 0x50], edx
add ecx, 2
mov edx, dword [ebp - 0x6c]
movzx edx, word [edx + ecx]
cmp dx, bx
jae 0x402278
mov ecx, dword [ebp - 0x78]
add eax, 2
mov edx, dword [ebp - 0x84]
jmp 0x402213
sub eax, dword [ebp - 0x7c]
sar eax, 1
cmp eax, 0xffffffff
je 0x40272e
mov ebx, dword [ebp - 0x70]
mov edx, 0x430688
inc ebx
mov ecx, 0x434ff8
mov dword [ebp - 0x70], ebx
call fcn.00404880
push ebx
mov ecx, eax
call fcn.004028c0
mov edx, 0x430684
mov ecx, eax
call fcn.00404880
mov edx, 0x4306a0
mov ecx, 0x434ff8
call fcn.00404880
mov edx, str.DisplayName:_
mov ecx, eax
call fcn.00404880
lea edx, [esi + 8]
mov ebx, eax
lea ecx, [ebp - 0x68]
call fcn.00401ee0
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x402319
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, ebx
call fcn.004054e0
add esp, 4
mov edx, 0x43068c
mov ecx, eax
call fcn.00404880
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x40236a
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402360
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402861
push edx
push ecx
call fcn.00408f08
add esp, 8
mov edx, 0x4306a0
mov ecx, 0x434ff8
call fcn.00404880
mov edx, str.Publisher:_
mov ecx, eax
call fcn.00404880
lea edx, [esi + 0x50]
mov ebx, eax
lea ecx, [ebp - 0x68]
call fcn.00401ee0
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x4023a1
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, ebx
call fcn.004054e0
add esp, 4
mov edx, 0x43068c
mov ecx, eax
call fcn.00404880
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x4023f2
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4023e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402861
push edx
push ecx
call fcn.00408f08
add esp, 8
mov edx, 0x4306a0
mov ecx, 0x434ff8
call fcn.00404880
mov edx, str.DisplayVersion:_
mov ecx, eax
call fcn.00404880
lea edx, [esi + 0x38]
mov ebx, eax
lea ecx, [ebp - 0x68]
call fcn.00401ee0
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x402429
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, ebx
call fcn.004054e0
add esp, 4
mov edx, 0x43068c
mov ecx, eax
call fcn.00404880
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x40247a
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402470
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402861
push edx
push ecx
call fcn.00408f08
add esp, 8
mov edx, 0x4306a0
mov ecx, 0x434ff8
call fcn.00404880
mov edx, str.DisplayIcon:_
mov ecx, eax
call fcn.00404880
lea edx, [esi + 0x20]
mov ebx, eax
lea ecx, [ebp - 0x68]
call fcn.00401ee0
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x4024b1
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, ebx
call fcn.004054e0
add esp, 4
mov edx, 0x43068c
mov ecx, eax
call fcn.00404880
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x402502
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4024f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402861
push edx
push ecx
call fcn.00408f08
add esp, 8
mov edx, 0x4306a0
mov ecx, 0x434ff8
call fcn.00404880
mov edx, str.InstallLocation:_
mov ecx, eax
call fcn.00404880
lea edx, [esi + 0x80]
mov ebx, eax
lea ecx, [ebp - 0x68]
call fcn.00401ee0
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x40253c
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, ebx
call fcn.004054e0
add esp, 4
mov edx, 0x43068c
mov ecx, eax
call fcn.00404880
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x40258d
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402583
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402861
push edx
push ecx
call fcn.00408f08
add esp, 8
mov edx, 0x4306a0
mov ecx, 0x434ff8
call fcn.00404880
mov edx, str.UninstallString:_
mov ecx, eax
call fcn.00404880
lea edx, [esi + 0xe0]
mov ebx, eax
lea ecx, [ebp - 0x68]
call fcn.00401ee0
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x4025c7
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, ebx
call fcn.004054e0
add esp, 4
mov edx, 0x43068c
mov ecx, eax
call fcn.00404880
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x402618
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40260e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402861
push edx
push ecx
call fcn.00408f08
add esp, 8
mov edx, 0x4306a0
mov ecx, 0x434ff8
call fcn.00404880
mov edx, str.UninstallString2:_
mov ecx, eax
call fcn.00404880
lea edx, [esi + 0xf8]
mov ebx, eax
lea ecx, [ebp - 0x68]
call fcn.00401ee0
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x402652
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, ebx
call fcn.004054e0
add esp, 4
mov edx, 0x43068c
mov ecx, eax
call fcn.00404880
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x4026a3
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402699
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402861
push edx
push ecx
call fcn.00408f08
add esp, 8
mov edx, 0x4306a0
mov ecx, 0x434ff8
call fcn.00404880
mov edx, str.QuietUninstallString:_
mov ecx, eax
call fcn.00404880
lea edx, [esi + 0x110]
mov ebx, eax
lea ecx, [ebp - 0x68]
call fcn.00401ee0
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x4026dd
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, ebx
call fcn.004054e0
add esp, 4
mov edx, 0x43068c
mov ecx, eax
call fcn.00404880
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x40272e
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402724
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402861
push edx
push ecx
call fcn.00408f08
add esp, 8
mov esi, dword [esi]
cmp esi, edi
jne 0x4021c0
mov ebx, dword [ebp - 0x70]
mov edx, str.find_over_n
mov ecx, 0x434ff8
call fcn.00404880
mov edx, str.find
mov ecx, 0x434ff8
call fcn.00404880
push ebx
mov ecx, eax
call fcn.004028c0
mov edx, str._software_n
mov ecx, eax
call fcn.00404880
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov edi, dword [ecx]
test edi, edi
je 0x40279e
nop
mov esi, dword [edi]
lea ecx, [edi + 8]
call fcn.00405710
push 0x130
push edi
call fcn.00408f08
add esp, 8
mov edi, esi
test esi, esi
jne 0x402780
push 0x130
push dword [ebp - 0x18]
call fcn.00408f08
mov edx, dword [ebp - 0x1c]
add esp, 8
cmp edx, 8
jb 0x4027e8
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4027de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402866
push edx
push ecx
call fcn.00408f08
add esp, 8
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
jmp 0x40280d
mov edx, str.command_line_arguments_error
mov ecx, 0x434ff8
call fcn.00404880
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x402843
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402839
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402866
push edx
push ecx
call fcn.00408f08
add esp, 8
xor eax, eax
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.00408ec2
mov esp, ebp
pop ebp
ret
call fcn.0040e5c1
call fcn.0040e5c1
int3