Function at 0x431200
Capabilities:
Accept command line arguments
Check if file exists
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x5a35aa
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x48], ebx
xor ebp, ebp
mov dword [esp + 0x38], ebp
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push str._close
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
push eax
call edi
cmp eax, ebp
je 0x431ac5
push str._wait
call esi
push eax
call edi
xor ecx, ecx
cmp eax, ebp
setne cl
push 0x5e8ee8
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x38]
call fcn.0040e080
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x70], ebp
call esi
push eax
call fcn.00478ab0
add esp, 8
mov ebp, eax
call esi
push eax
mov ecx, ebx
call fcn.00418d30
mov ecx, ebx
mov dword [esp + 0x3c], eax
call fcn.004190a0
test eax, eax
je 0x4312f4
test ebp, ebp
je 0x4312f0
lea eax, [esp + 0x4c]
push eax
call fcn.00429a90
add esp, 4
mov eax, dword [eax]
xor ecx, ecx
test eax, eax
setne cl
mov byte [esp + 0x6c], 1
mov dword [esp + 0x38], 1
test ecx, ecx
jne 0x4312de
push 0x80004005
call fcn.0040b390
mov ecx, dword [esp + 0x34]
push eax
push ecx
call fcn.004e8728
add esp, 8
test eax, eax
je 0x4312f4
mov bl, 1
jmp 0x4312f6
xor bl, bl
test byte [esp + 0x38], 1
mov dword [esp + 0x6c], 0
je 0x43132a
mov eax, dword [esp + 0x4c]
and dword [esp + 0x38], 0xfffffffe
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43132a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x431521
call fcn.004a581f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43134c
push 0x80004005
call fcn.0040b390
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
mov byte [esp + 0x6c], 2
call fcn.004a581f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43137b
push 0x80004005
call fcn.0040b390
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x4c]
push str.IDS_UNINSTALL_TITLE
mov bl, 3
push ecx
mov byte [esp + 0x74], bl
call fcn.005214a0
add esp, 8
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x70], 4
call fcn.0040cb00
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov byte [esp + 0x6c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4313d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x4c]
push str.IDS_COVER_BOOTINI
push ecx
call fcn.005214a0
add esp, 8
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x70], 5
call fcn.0040cb00
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov byte [esp + 0x6c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43141b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x30]
push 0x124
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
jne 0x4314df
mov eax, dword [esp + 0x3c]
cmp eax, 0xffffffff
je 0x43145c
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x43145c
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov byte [esp + 0x6c], 2
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43147d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x6c], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43149e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov dword [esp + 0x6c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4314c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
lea eax, [esi - 0x10]
mov byte [esp + 0x6c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431500
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x6c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431521
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x4c], 0
test ebp, ebp
je 0x43166b
mov edx, dword [esp + 0x34]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x431557
push esi
lea ecx, [esp + 0x38]
call fcn.0040c000
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x44]
push ecx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x38]
push ecx
lea eax, [esp + 0x38]
push eax
push edx
call fcn.00418730
add esp, 0x14
test eax, eax
je 0x43166b
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x58]
call fcn.00418dc0
test eax, eax
je 0x43166b
cmp dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x4c], 1
je 0x4315c5
lea edx, [esp + 0x3c]
push edx
call fcn.004872a0
add esp, 4
test eax, eax
jne 0x43166b
mov eax, dword [esp + 0x34]
push eax
call fcn.00488450
add esp, 4
test eax, eax
jne 0x43166b
lea ecx, [esp + 0x38]
call fcn.0040c120
lea ecx, [esp + 0x40]
call fcn.0040c120
push 2
mov byte [esp + 0x70], 7
call fcn.004a5730
test eax, eax
je 0x431608
push 2
push eax
lea ecx, [esp + 0x48]
call fcn.0040c530
push 0xc
call fcn.004a5730
test eax, eax
je 0x43161f
push 0xc
push eax
lea ecx, [esp + 0x40]
call fcn.0040c530
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x38]
push 0x50
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push str.http:__sd.360.cn
call fcn.00474e70
mov eax, dword [esp + 0x40]
add esp, 4
cmp eax, 0xffffffff
je 0x431661
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x431661
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov byte [esp + 0x6c], 6
jmp 0x431461
lea ecx, [esp + 0x44]
push ecx
call fcn.00429a90
add esp, 4
mov eax, dword [eax]
xor ecx, ecx
test eax, eax
setne cl
mov byte [esp + 0x6c], 8
test ecx, ecx
jne 0x431694
push 0x80004005
call fcn.0040b390
mov edx, dword [esp + 0x34]
push eax
push edx
call fcn.004e8728
add esp, 8
test eax, eax
mov eax, dword [esp + 0x44]
setne bl
add eax, 0xfffffff0
mov byte [esp + 0x6c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4316cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x431954
call fcn.004a581f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4316ee
push 0x80004005
call fcn.0040b390
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x40], eax
mov byte [esp + 0x6c], 9
call fcn.004a581f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43171d
push 0x80004005
call fcn.0040b390
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x30]
push str.IDS_UNINSTALL_TITLE
mov bl, 0xa
push ecx
mov byte [esp + 0x74], bl
call fcn.005214a0
add esp, 8
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x70], 0xb
call fcn.0040cb00
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x6c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x431778
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.00418730
lea eax, [esp + 0x70]
push 0
push eax
call fcn.0040e2c0
push 0x5c0a84
push eax
lea ecx, [esp + 0x78]
push ecx
mov byte [esp + 0x94], 0xc
call fcn.0040d150
mov eax, dword [eax]
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x48]
push ecx
push eax
call fcn.00418730
mov eax, dword [esp + 0x90]
add eax, 0xfffffff0
add esp, 0x3c
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4317fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
mov byte [esp + 0x6c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431820
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ax, word [esp + 0x14]
mov cx, word [esp + 0x18]
cmp cx, ax
jne 0x4318f0
mov ax, word [esp + 0x1c]
mov cx, word [esp + 0x20]
cmp cx, ax
jne 0x43185e
mov ax, word [esp + 0x24]
mov cx, word [esp + 0x28]
cmp cx, ax
jne 0x43185e
mov ax, word [esp + 0x2c]
mov cx, word [esp + 0x30]
cmp cx, ax
jbe 0x4318f6
lea ecx, [esp + 0x5c]
push str.IDS_CONFIRM_COVER
push ecx
call fcn.005214a0
add esp, 8
mov byte [esp + 0x6c], 0xe
push eax
lea ecx, [esp + 0x44]
call fcn.0040cb00
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
mov byte [esp + 0x6c], bl
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4318a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
push 0x50024
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
jne 0x431912
mov eax, dword [esp + 0x3c]
cmp eax, 0xffffffff
je 0x4318e6
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x4318e6
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov byte [esp + 0x6c], 9
jmp 0x431461
ja 0x431864
lea ecx, [esp + 0x5c]
push str.IDS_CONFIRE_COVER_OLD
push ecx
call fcn.005214a0
add esp, 8
mov byte [esp + 0x6c], 0xd
jmp 0x43187b
lea eax, [esi - 0x10]
mov byte [esp + 0x6c], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431933
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x6c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431954
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x5c]
push ecx
call fcn.004296a0
mov eax, dword [eax]
add esp, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov eax, dword [esp + 0x5c]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43198f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
test bl, bl
jne 0x4314a5
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x58]
push edx
push ecx
mov dword [esp + 0x68], esp
mov esi, esp
push eax
xor ebp, ebp
xor edi, edi
call fcn.0040c050
add eax, 0x10
mov dword [esi], eax
mov esi, dword [esp + 0x58]
add esp, 4
mov ecx, esi
call fcn.0041dd60
cmp eax, ebp
je 0x431a48
cmp dword [esp + 0x4c], ebp
je 0x431a48
lea eax, [esp + 0x5c]
push eax
lea edi, [ebp + 1]
call fcn.00429a90
add esp, 4
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 0xf
call fcn.0041ad60
test eax, eax
lea ecx, [esp + 0x5c]
setne bl
mov byte [esp + 0x6c], 0
call fcn.0040c150
test bl, bl
je 0x431a53
mov ebx, dword [esp + 0x50]
push ebx
lea ecx, [esp + 0x50]
push ecx
push ecx
lea edx, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x68], esp
push edx
mov dword [esp + 0x5c], ebp
call fcn.0040c4e0
mov ecx, esi
call fcn.0042a520
cmp eax, ebp
je 0x431a48
cmp ebx, ebp
je 0x431a4f
mov ecx, dword [esp + 0x4c]
mov dword [esi + 0xa4], ecx
jmp 0x431a4f
mov ecx, esi
call fcn.0042f480
cmp eax, ebp
je 0x431ab7
cmp dword [esp + 0x50], ebp
jne 0x431a5f
mov dword [esi + 0xa4], ebp
mov ecx, esi
call fcn.0042a950
cmp edi, ebp
je 0x431a95
lea edx, [esp + 0x5c]
push edx
call fcn.00429a90
add esp, 4
mov eax, dword [eax]
or dword [esp + 0x38], 2
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 0x10
call fcn.0041ad60
test eax, eax
je 0x431a95
xor bl, bl
jmp 0x431a97
mov bl, 1
test byte [esp + 0x38], 2
mov dword [esp + 0x6c], ebp
je 0x431aab
lea ecx, [esp + 0x5c]
call fcn.0040c150
test bl, bl
je 0x431ab7
push ebp
mov ecx, esi
call fcn.0042fd80
lea ecx, [esp + 0x34]
call fcn.0040c150
jmp 0x4314c6
xor eax, eax
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret