Function at 0x4023a0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40c917
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x41207c]
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 dword [ebp - 0x10], esp
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
jne 0x4023f3
mov eax, 0x80010008
jmp 0x402ead
cmp dword [ebp - 0x154], 1
jne 0x402406
mov eax, 0x80010001
jmp 0x402ead
xor edi, edi
push 0x344
mov dword [ebp - 0x148], edi
mov dword [ebp - 4], edi
call fcn.004069c0
add esp, 4
mov dword [ebp - 0x14c], eax
mov byte [ebp - 4], 1
cmp eax, edi
je 0x402436
push eax
call fcn.004040f0
mov esi, eax
jmp 0x402438
xor esi, esi
lea ecx, [esi + 0x124]
mov byte [ebp - 4], 0
mov al, byte [ecx + 0x11e]
mov dword [ebp - 0x148], esi
cmp al, 3
je 0x40245f
cmp al, 2
je 0x40245f
call fcn.004049d0
test al, al
jne 0x402477
cmp esi, edi
je 0x40246d
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov eax, 0x80010002
jmp 0x402ead
cmp esi, edi
je 0x402485
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
lea ecx, [ebp - 0x150]
push ecx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, 7
xor edx, edx
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], edi
mov word [ebp - 0x84], dx
mov dword [ebp - 4], 3
xor ecx, ecx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], edi
mov word [ebp - 0x4c], cx
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], edi
mov word [ebp - 0x68], dx
mov ebx, 1
mov byte [ebp - 4], 5
mov dword [ebp - 0x144], ebx
cmp dword [ebp - 0x150], ebx
jle 0x402672
lea ecx, [ecx]
mov edi, dword [ebp - 0x14c]
mov eax, dword [edi + ebx*4]
xor ecx, ecx
mov word [ebp - 0x30], cx
mov ecx, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x402512
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x30]
call fcn.00403aa0
push 3
push 0x40f4a0
mov edx, esi
push edx
call fcn.00403820
cmp eax, 0xffffffff
setne byte [ebp - 0x13d]
cmp dword [ebp - 0x1c], 8
jb 0x402555
mov eax, dword [ebp - 0x30]
push eax
call fcn.00406964
add esp, 4
cmp byte [ebp - 0x13d], 0
je 0x4026fc
mov ebx, dword [edi + ebx*4]
mov ecx, ebx
lea eax, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x402570
sub ecx, eax
sar ecx, 1
push ecx
mov eax, ebx
lea esi, [ebp - 0x4c]
call fcn.00403aa0
mov ecx, esi
push ecx
call fcn.004030d0
mov edx, dword [ebp - 0x3c]
sub edx, eax
dec edx
push edx
mov eax, esi
push eax
call fcn.004030d0
lea ecx, [eax + 1]
lea esi, [ebp - 0x30]
lea edx, [ebp - 0x4c]
call fcn.00403180
mov edi, eax
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.00403280
mov byte [ebp - 4], 5
cmp dword [ebp - 0x1c], 8
jb 0x4025d3
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00406964
add esp, 4
lea edx, [ebp - 0xa0]
push 0x40f4ac
push edx
lea ebx, [ebp - 0x4c]
call fcn.00403eb0
push eax
mov eax, 0x40f4a8
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call fcn.00403f90
add esp, 0xc
mov ebx, 8
mov edi, eax
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.00403280
cmp dword [ebp - 0x1c], ebx
jb 0x40261f
mov eax, dword [ebp - 0x30]
push eax
call fcn.00406964
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 5
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], cx
cmp dword [ebp - 0x8c], ebx
jb 0x40264e
mov edx, dword [ebp - 0xa0]
push edx
call fcn.00406964
add esp, 4
mov ebx, dword [ebp - 0x144]
inc ebx
mov dword [ebp - 0x144], ebx
cmp ebx, dword [ebp - 0x150]
jl 0x4024f0
mov eax, dword [ebp - 0x14c]
xor edi, edi
lea esi, [edi + 7]
cmp eax, edi
je 0x40267d
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 2
push 0x40f360
lea eax, [ebp - 0x84]
push eax
call fcn.00403820
cmp eax, 0xffffffff
je 0x402bfd
push 9
push str._x:Strict
lea ecx, [ebp - 0x84]
push ecx
call fcn.00403820
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x148]
setne byte [ebp - 0x13d]
cmp dword [eax + 0x138], 2
jne 0x402ac0
cmp dword [eax + 0x12c], 6
setae dl
mov byte [ebp - 0x148], dl
jmp 0x402ac7
mov eax, dword [edi + ebx*4]
xor ecx, ecx
mov word [ebp - 0x30], cx
mov ecx, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
lea esi, [ecx + 2]
jmp 0x402720
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x402720
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x30]
call fcn.00403aa0
push 5
push str._PAT:
mov edx, esi
push edx
call fcn.00403820
cmp eax, 0xffffffff
setne byte [ebp - 0x13d]
cmp dword [ebp - 0x1c], 8
jb 0x402763
mov eax, dword [ebp - 0x30]
push eax
call fcn.00406964
add esp, 4
cmp byte [ebp - 0x13d], 0
je 0x402835
mov ebx, dword [edi + ebx*4]
mov ecx, ebx
lea eax, [ecx + 2]
jmp 0x402780
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x402780
sub ecx, eax
sar ecx, 1
push ecx
mov eax, ebx
lea esi, [ebp - 0x68]
call fcn.00403aa0
mov ecx, esi
push ecx
call fcn.004030d0
mov edx, dword [ebp - 0x58]
sub edx, eax
dec edx
push edx
mov eax, esi
push eax
call fcn.004030d0
lea ecx, [eax + 1]
lea esi, [ebp - 0xa0]
lea edx, [ebp - 0x68]
call fcn.00403180
mov edi, eax
lea esi, [ebp - 0x68]
mov byte [ebp - 4], 9
call fcn.00403280
mov byte [ebp - 4], 5
cmp dword [ebp - 0x8c], 8
jb 0x4027ec
mov ecx, dword [ebp - 0xa0]
push ecx
call fcn.00406964
add esp, 4
lea edx, [ebp - 0xa0]
push str._PAT
push edx
lea ebx, [ebp - 0x68]
call fcn.00403eb0
add esp, 8
push 0
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x84]
mov byte [ebp - 4], 0xa
call fcn.004032f0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x8c], 8
jb 0x40264e
mov eax, dword [ebp - 0xa0]
push eax
jmp 0x402646
mov eax, dword [edi + ebx*4]
xor ecx, ecx
mov word [ebp - 0x30], cx
mov ecx, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x402851
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x30]
call fcn.00403aa0
push 4
push str._log
mov edx, esi
push edx
call fcn.00403820
cmp eax, 0xffffffff
setne byte [ebp - 0x13d]
cmp dword [ebp - 0x1c], 8
jb 0x402894
mov eax, dword [ebp - 0x30]
push eax
call fcn.00406964
add esp, 4
cmp byte [ebp - 0x13d], 0
mov eax, dword [edi + ebx*4]
je 0x40299f
lea ecx, [ebp - 0x30]
call fcn.00402ed0
push 1
push 0x40f0e0
lea ecx, [ebp - 0x30]
push ecx
mov byte [ebp - 4], 0xb
call fcn.00403820
cmp eax, 0xffffffff
je 0x40296f
lea edx, [ebp - 0x30]
push edx
call fcn.004030d0
mov ecx, dword [ebp - 0x20]
sub ecx, eax
dec ecx
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.004030d0
lea ecx, [eax + 1]
lea esi, [ebp - 0xa0]
lea edx, [ebp - 0x30]
call fcn.00403180
mov edi, eax
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0xc
call fcn.00403280
lea esi, [ebp - 0xa0]
mov byte [ebp - 4], 0xb
call fcn.00402f10
lea eax, [ebp - 0xf4]
push str.__Lv__
push eax
lea ebx, [ebp - 0x30]
call fcn.00403eb0
push eax
mov eax, 0x40f4a8
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xd
call fcn.00403f90
add esp, 0xc
push 0
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x84]
mov byte [ebp - 4], 0xe
call fcn.004032f0
lea esi, [ebp - 0xa0]
call fcn.00402f10
lea esi, [ebp - 0xf4]
call fcn.00402f10
mov ebx, dword [ebp - 0x144]
jmp 0x402980
lea ecx, [ebp - 0x84]
push ecx
mov eax, str.__Lv__pespinstaller.log_
call fcn.004030a0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x1c], 8
jb 0x402654
mov edx, dword [ebp - 0x30]
push edx
call fcn.00406964
add esp, 4
jmp 0x402654
lea ecx, [ebp - 0xa0]
call fcn.00402ed0
push 3
push 0x40f520
push eax
call fcn.00403820
cmp eax, 0xffffffff
setne byte [ebp - 0x13d]
cmp dword [ebp - 0x8c], 8
jb 0x4029d9
mov eax, dword [ebp - 0xa0]
push eax
call fcn.00406964
add esp, 4
cmp byte [ebp - 0x13d], 0
je 0x402a59
mov ecx, dword [ebp - 0x14c]
mov eax, dword [ecx + ebx*4]
lea ecx, [ebp - 0x30]
call fcn.00402ed0
push 0xffffffffffffffff
lea edx, [ebp - 0x30]
push edx
mov byte [ebp - 4], 0xf
call fcn.004030d0
lea ecx, [eax + 1]
lea esi, [ebp - 0xf4]
lea edx, [ebp - 0x30]
call fcn.00403180
mov edi, eax
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x10
call fcn.00403280
lea esi, [ebp - 0xf4]
mov byte [ebp - 4], 0xf
call fcn.00402f10
cmp dword [ebp - 0x20], 0
je 0x402a47
mov esi, str.Strict
lea ecx, [ebp - 0x30]
call fcn.00403fe0
test al, al
jne 0x402a93
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.00402f10
mov edi, dword [ebp - 0x14c]
push 1
mov eax, 0x40f0dc
lea ecx, [ebp - 0x84]
call fcn.00402f70
mov eax, dword [edi + ebx*4]
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x402a73
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [ebp - 0x84]
call fcn.00402f70
jmp 0x402654
lea esi, [ebp - 0x30]
call fcn.00402f10
lea esi, [ebp - 0x68]
call fcn.00402f10
lea esi, [ebp - 0x4c]
call fcn.00402f10
lea esi, [ebp - 0x84]
call fcn.00402f10
mov eax, 0x80010004
jmp 0x402ead
mov byte [ebp - 0x148], 0
mov eax, dword [ebp - 0x148]
push eax
lea ebx, [ebp - 0x13c]
call fcn.00401680
mov ecx, ebx
mov byte [ebp - 4], 0x11
call fcn.004017c0
test al, al
jne 0x402b53
mov esi, ebx
call fcn.00401760
mov esi, 8
cmp dword [ebp - 0x54], esi
jb 0x402b05
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.00406964
add esp, 4
xor edi, edi
xor edx, edx
mov ebx, 7
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], edi
mov word [ebp - 0x68], dx
cmp dword [ebp - 0x38], esi
jb 0x402b29
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00406964
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], edi
mov word [ebp - 0x4c], cx
cmp dword [ebp - 0x70], esi
jb 0x402b49
mov edx, dword [ebp - 0x84]
push edx
call fcn.00406964
add esp, 4
mov eax, 0x80010020
jmp 0x402ead
xor ebx, ebx
cmp byte [ebp - 0xf8], bl
je 0x402b93
cmp byte [ebp - 0x13d], bl
je 0x402b93
lea esi, [ebp - 0x13c]
call fcn.00401760
lea esi, [ebp - 0x68]
call fcn.00402f10
lea esi, [ebp - 0x4c]
call fcn.00402f10
lea esi, [ebp - 0x84]
call fcn.00402f10
lea eax, [ebx + 1]
jmp 0x402ead
lea esi, [ebp - 0x13c]
call fcn.00401760
mov esi, 8
cmp dword [ebp - 0x54], esi
jb 0x402bb4
mov eax, dword [ebp - 0x68]
push eax
call fcn.00406964
add esp, 4
xor ecx, ecx
mov edi, 7
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x68], cx
cmp dword [ebp - 0x38], esi
jb 0x402bd6
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00406964
add esp, 4
xor eax, eax
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], ax
cmp dword [ebp - 0x70], esi
jb 0x402bf6
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.00406964
add esp, 4
xor eax, eax
jmp 0x402ead
cmp dword [ebp - 0x58], edi
jne 0x402c5f
mov ebx, 8
cmp dword [ebp - 0x54], ebx
jb 0x402c18
mov edx, dword [ebp - 0x68]
push edx
call fcn.00406964
add esp, 4
xor eax, eax
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], edi
mov word [ebp - 0x68], ax
cmp dword [ebp - 0x38], ebx
jb 0x402c35
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00406964
add esp, 4
xor edx, edx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], edi
mov word [ebp - 0x4c], dx
cmp dword [ebp - 0x70], ebx
jb 0x402c55
mov eax, dword [ebp - 0x84]
push eax
call fcn.00406964
add esp, 4
mov eax, 0x80010004
jmp 0x402ead
cmp dword [ebp - 0x3c], edi
jne 0x402c78
push 0xe
mov eax, str.__i_Setup.msi
lea ecx, [ebp - 0x84]
call fcn.00402f70
jmp 0x402c90
push edi
lea ecx, [ebp - 0x4c]
push ecx
or eax, 0xffffffff
lea esi, [ebp - 0x84]
call fcn.004032f0
mov esi, 7
push 2
push 0x40f360
lea edx, [ebp - 0x84]
push edx
call fcn.00403820
cmp eax, 0xffffffff
jne 0x402cba
push 0x23
mov eax, str.__REINSTALLALL_REINSTALLMODEvomus
lea ecx, [ebp - 0x84]
call fcn.00402f70
push esi
mov eax, str.__quiet
lea ecx, [ebp - 0x84]
call fcn.00402f70
xor eax, eax
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x30], ax
push 0xb
mov eax, str.msiexec.exe
lea esi, [ebp - 0x30]
mov dword [ebp - 0x20], edi
call fcn.00403aa0
lea ecx, [ebp - 0x84]
mov edx, esi
mov byte [ebp - 4], 0x12
call fcn.00402240
mov byte [ebp - 4], 5
cmp dword [ebp - 0x1c], 8
mov esi, eax
jb 0x402d0f
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00406964
add esp, 4
cmp esi, edi
jne 0x402d1b
mov dword [ebp - 0x144], edi
jmp 0x402d29
movzx eax, si
or eax, 0x80020000
mov dword [ebp - 0x144], eax
xor edx, edx
mov ebx, 7
push 0x16
mov eax, str.SOFTWARECanonOIPPESP
lea esi, [ebp - 0xbc]
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xac], edi
mov word [ebp - 0xbc], dx
call fcn.00403aa0
xor eax, eax
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0xc8], edi
mov word [ebp - 0xd8], ax
mov byte [ebp - 4], 0x14
xor ebx, ebx
xor ecx, ecx
push 6
mov eax, str.HostID
lea esi, [ebp - 0x30]
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], cx
call fcn.00403aa0
mov edx, esi
push edx
lea edi, [ebp - 0xd8]
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x15
call fcn.00401050
add esp, 4
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x1c], 8
mov esi, eax
jb 0x402dc6
mov eax, dword [ebp - 0x30]
push eax
call fcn.00406964
add esp, 4
xor edi, edi
cmp esi, edi
je 0x402df1
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x3c
jl 0x402d70
cmp dword [ebp - 0x144], edi
jne 0x402df7
mov dword [ebp - 0x144], 0x80020643
jmp 0x402df7
mov dword [ebp - 0x144], edi
mov esi, 8
cmp dword [ebp - 0xc4], esi
jb 0x402e13
mov ecx, dword [ebp - 0xd8]
push ecx
call fcn.00406964
add esp, 4
xor edx, edx
mov ebx, 7
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0xc8], edi
mov word [ebp - 0xd8], dx
cmp dword [ebp - 0xa8], esi
jb 0x402e44
mov eax, dword [ebp - 0xbc]
push eax
call fcn.00406964
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xac], edi
mov word [ebp - 0xbc], cx
cmp dword [ebp - 0x54], esi
jb 0x402e6a
mov edx, dword [ebp - 0x68]
push edx
call fcn.00406964
add esp, 4
xor eax, eax
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], edi
mov word [ebp - 0x68], ax
cmp dword [ebp - 0x38], esi
jb 0x402e87
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00406964
add esp, 4
xor edx, edx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], edi
mov word [ebp - 0x4c], dx
cmp dword [ebp - 0x70], esi
jb 0x402ea7
mov eax, dword [ebp - 0x84]
push eax
call fcn.00406964
add esp, 4
mov eax, dword [ebp - 0x144]
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.00406271
mov esp, ebp
pop ebp
ret