Function at 0x42f360
Capabilities:
Accept command line arguments
Check if file exists
Delete directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4640f5
mov eax, dword fs:[0]
push eax
sub esp, 0x458
mov eax, dword [0x47e4f0]
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
mov eax, dword [ecx + 0x3c]
sub eax, dword [ecx + 0x38]
mov ebx, dword [ebp + 8]
lea esi, [ecx + 0x2c]
sar eax, 7
mov dword [ebp - 0x444], ecx
mov dword [ebp - 0x460], 0
cmp ebx, eax
jb 0x42f3b6
call fcn.00446257
mov eax, dword [esi + 0xc]
mov edi, ebx
shl edi, 7
add eax, edi
add eax, 4
push eax
lea ecx, [ebp - 0x464]
push ecx
call fcn.00418890
push eax
lea edx, [ebp - 0x434]
push str.softname
push edx
mov dword [ebp - 4], 0
call fcn.0041bb30
add esp, 0x14
mov eax, dword [ebp - 0x464]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f412
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x434]
push ecx
push 0x1a
mov ecx, 0x4811e0
call fcn.00431820
mov edx, dword [0x48134c]
mov eax, dword [edx + 0xc]
mov ecx, 0x48134c
call eax
add eax, 0x10
mov dword [ebp - 0x44c], eax
lea ecx, [ebp - 0x44c]
push ecx
mov byte [ebp - 4], 3
call fcn.00425460
add esp, 4
test eax, eax
jne 0x42f4a3
mov edx, dword [ebp - 0x434]
push edx
push 0x14
mov ecx, 0x4811e0
call fcn.00431820
push ecx
mov ecx, esp
mov dword [ebp - 0x440], esp
push 0x46b3a8
call fcn.0040fbb0
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x444]
push 1
push 0
sar eax, 7
push eax
push ebx
call fcn.0042ee00
mov eax, dword [ebp - 0x44c]
add eax, 0xfffffff0
jmp 0x430247
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
sar ecx, 7
cmp ebx, ecx
jb 0x42f4b5
call fcn.00446257
mov eax, dword [esi + 0xc]
add eax, edi
mov eax, dword [eax + 0x70]
push ecx
sub eax, 0x10
mov dword [ebp - 0x440], esp
mov dword [ebp - 0x42c], esp
push eax
call fcn.0040f250
mov edx, dword [ebp - 0x42c]
add eax, 0x10
mov dword [edx], eax
add esp, 4
lea eax, [ebp - 0x454]
push eax
mov ecx, 0x4811e0
call fcn.00432390
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov byte [ebp - 4], 4
sar ecx, 7
cmp ebx, ecx
jb 0x42f508
call fcn.00446257
mov eax, dword [esi + 0xc]
add eax, edi
mov eax, dword [eax + 0x24]
sub eax, 0x10
push eax
call fcn.0040f250
add eax, 0x10
add esp, 4
mov dword [ebp - 0x43c], eax
mov edx, dword [ebp - 0x454]
push edx
push str._PID_
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 5
call fcn.0042d430
lea ecx, [ebp - 0x43c]
call fcn.00421c50
mov ecx, eax
call fcn.00421ca0
mov eax, dword [ebp - 0x43c]
cmp dword [eax - 0xc], 0
jne 0x42f589
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
sar eax, 7
cmp ebx, eax
jb 0x42f570
call fcn.00446257
mov ecx, dword [esi + 0xc]
lea eax, [edi + ecx + 0x28]
push eax
lea ecx, [ebp - 0x43c]
call fcn.0040f7f0
mov eax, dword [ebp - 0x43c]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x44c]
call fcn.004179c0
mov eax, dword [ebp - 0x44c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x440], esp
mov dword [ebp - 0x42c], esp
push eax
mov dword [ebp - 0x458], eax
call fcn.0040f250
mov edx, dword [ebp - 0x42c]
mov ecx, dword [ebp - 0x444]
add esp, 4
add eax, 0x10
push ebx
mov dword [edx], eax
call fcn.0042ece0
test eax, eax
jne 0x42f69d
mov eax, dword [ebp - 0x434]
push eax
push 0x14
mov ecx, 0x4811e0
call fcn.00431820
mov edx, dword [0x48134c]
mov eax, dword [edx + 0xc]
mov ecx, 0x48134c
call eax
add eax, 0x10
mov dword [ebp - 0x448], eax
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov byte [ebp - 4], 6
sar ecx, 7
cmp ebx, ecx
jb 0x42f61f
call fcn.00446257
mov edx, dword [esi + 0xc]
mov eax, dword [edi + edx + 8]
push eax
lea ecx, [ebp - 0x448]
push 0x46b384
push ecx
call fcn.00417c80
mov edi, dword [ebp - 0x448]
add esp, 8
add edi, 0xfffffff0
mov dword [ebp - 0x440], esp
mov dword [ebp - 0x42c], esp
push edi
call fcn.0040f250
mov edx, dword [ebp - 0x42c]
mov ecx, dword [ebp - 0x444]
add eax, 0x10
mov dword [edx], eax
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
add esp, 4
push 1
push 0
sar eax, 7
push eax
push ebx
call fcn.0042ee00
mov byte [ebp - 4], 5
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4301f5
mov ecx, dword [edi]
push edi
jmp 0x4301ee
mov ecx, dword [ebp - 0x434]
push ecx
push 0x15
mov ecx, 0x4811e0
call fcn.00431820
mov edx, dword [ebp - 0x44c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42f784
mov eax, dword [0x48134c]
mov edx, dword [eax + 0xc]
mov ecx, 0x48134c
call edx
add eax, 0x10
mov dword [ebp - 0x448], eax
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
mov byte [ebp - 4], 7
sar eax, 7
cmp ebx, eax
jb 0x42f6f3
call fcn.00446257
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + edi + 8]
push edx
lea eax, [ebp - 0x448]
push 0x46b36c
push eax
call fcn.00417c80
mov edi, dword [ebp - 0x448]
add esp, 8
add edi, 0xfffffff0
mov dword [ebp - 0x440], esp
mov dword [ebp - 0x42c], esp
push edi
call fcn.0040f250
mov ecx, dword [ebp - 0x42c]
add eax, 0x10
mov dword [ecx], eax
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x444]
add esp, 4
push 1
push 0xa
sar eax, 7
push eax
push ebx
call fcn.0042ee00
mov edx, dword [ebp - 0x434]
push edx
push 0x1d
mov ecx, 0x4811e0
call fcn.00431820
mov byte [ebp - 4], 5
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4301f5
mov ecx, dword [edi]
push edi
jmp 0x4301ee
push ecx
mov ecx, esp
mov dword [ebp - 0x440], esp
push 0x46b364
call fcn.0040fbb0
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x444]
push 2
push 0xa
sar eax, 7
push eax
push ebx
call fcn.0042ee00
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
sar ecx, 7
cmp ebx, ecx
jb 0x42f7c3
call fcn.00446257
mov eax, dword [esi + 0xc]
add eax, edi
mov eax, dword [eax + 0x3c]
sub eax, 0x10
push eax
call fcn.0040f250
add eax, 0x10
mov dword [ebp - 0x448], eax
mov edx, dword [ebp - 0x44c]
push edx
push eax
mov byte [ebp - 4], 8
call fcn.00419060
add esp, 0xc
test eax, eax
jne 0x42f8a5
mov eax, dword [0x48134c]
mov edx, dword [eax + 0xc]
mov ecx, 0x48134c
call edx
add eax, 0x10
mov dword [ebp - 0x430], eax
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
mov byte [ebp - 4], 9
sar eax, 7
cmp ebx, eax
jb 0x42f827
call fcn.00446257
mov ecx, dword [esi + 0xc]
mov edx, dword [edi + ecx + 8]
push edx
lea eax, [ebp - 0x430]
push 0x46b338
push eax
call fcn.00417c80
mov edi, dword [ebp - 0x430]
add esp, 8
add edi, 0xfffffff0
mov dword [ebp - 0x440], esp
mov dword [ebp - 0x42c], esp
push edi
call fcn.0040f250
mov ecx, dword [ebp - 0x42c]
add eax, 0x10
mov dword [ecx], eax
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x444]
add esp, 4
push 1
push 0xa
sar eax, 7
push eax
push ebx
call fcn.0042ee00
mov byte [ebp - 4], 8
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4301cf
mov ecx, dword [edi]
push edi
jmp 0x4301c8
push ecx
mov ecx, esp
mov dword [ebp - 0x440], esp
push 0x46b364
call fcn.0040fbb0
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x444]
push 2
push 0xf
sar eax, 7
push eax
push ebx
call fcn.0042ee00
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
sar ecx, 7
cmp ebx, ecx
jb 0x42f8e4
call fcn.00446257
mov eax, dword [esi + 0xc]
add eax, edi
mov eax, dword [eax + 0x5c]
sub eax, 0x10
push eax
call fcn.0040f250
add eax, 0x10
add esp, 4
mov dword [ebp - 0x450], eax
lea edx, [ebp - 0x428]
push edx
mov ecx, 0x4811e0
mov byte [ebp - 4], 0xa
call fcn.00430880
mov edx, dword [ebp - 0x428]
mov eax, dword [edx - 0xc]
add eax, 2
mov dword [ebp - 0x430], eax
mov eax, dword [edx - 8]
sub eax, dword [ebp - 0x430]
mov ecx, 1
sub ecx, dword [edx - 4]
mov byte [ebp - 4], 0xb
or eax, ecx
jge 0x42f959
mov eax, dword [ebp - 0x430]
push eax
lea ecx, [ebp - 0x428]
call fcn.0040f370
mov edx, dword [ebp - 0x428]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov eax, dword [ebp - 0x428]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00448e74
add esp, 8
test eax, eax
jl 0x4302ad
mov ecx, dword [ebp - 0x428]
cmp eax, dword [ecx - 8]
jg 0x4302ad
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x428]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
sar eax, 7
cmp ebx, eax
jb 0x42f9ab
call fcn.00446257
mov ecx, dword [esi + 0xc]
lea eax, [ecx + edi + 0x68]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.004179c0
mov edx, dword [ebp - 0x428]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x440], eax
mov eax, dword [ebp - 0x428]
push eax
call fcn.00418e00
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
add esp, 4
sar ecx, 7
cmp ebx, ecx
jb 0x42f9f8
call fcn.00446257
mov eax, dword [esi + 0xc]
add eax, edi
mov eax, dword [eax + 8]
push 0x46b328
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x42fa64
mov edx, dword [esi + 0x10]
sub edx, dword [esi + 0xc]
sar edx, 7
cmp ebx, edx
jb 0x42fa22
call fcn.00446257
mov eax, dword [esi + 0xc]
add eax, edi
mov eax, dword [eax + 8]
push 0x46b31c
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x42fa64
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
sar eax, 7
cmp ebx, eax
jb 0x42fa4c
call fcn.00446257
mov eax, dword [esi + 0xc]
add eax, edi
mov eax, dword [eax + 8]
push 0x46b310
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x42fadf
mov ecx, dword [ebp - 0x428]
mov eax, dword [ecx - 0xc]
lea edx, [eax + 3]
mov eax, 1
sub eax, dword [ecx - 4]
mov dword [ebp - 0x42c], eax
mov eax, dword [ecx - 8]
sub eax, edx
or eax, dword [ebp - 0x42c]
jge 0x42fa9f
mov ecx, edx
push ecx
lea ecx, [ebp - 0x428]
call fcn.0040f370
mov ecx, dword [ebp - 0x428]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
mov eax, dword [ebp - 0x428]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00448e74
add esp, 8
test eax, eax
jl 0x4302ad
mov ecx, dword [ebp - 0x428]
cmp eax, dword [ecx - 8]
jg 0x4302ad
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp - 0x428]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [ebp - 0x450]
lea edx, [ebp - 0x45c]
push edx
push eax
mov dword [ebp - 0x45c], 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [ebp - 0x45c], 0
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x430], 0
jle 0x42fe14
lea ebx, [ebx]
mov ecx, dword [ebp - 0x42c]
mov edx, dword [ebp - 0x430]
mov eax, dword [ecx + edx*4]
push eax
lea ecx, [ebp - 0x438]
call fcn.0040fbb0
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 0xc
call fcn.00421c50
mov ecx, eax
call fcn.00421ca0
mov ecx, dword [ebp - 0x438]
push str._Path_
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x42fbab
mov eax, dword [ebp - 0x438]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xb
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42fb8d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x430]
inc eax
cmp eax, dword [ebp - 0x45c]
mov dword [ebp - 0x430], eax
jl 0x42fb20
jmp 0x42fe14
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
sar ecx, 7
cmp ebx, ecx
jb 0x42fbbd
call fcn.00446257
mov eax, dword [esi + 0xc]
add eax, edi
mov eax, dword [eax + 8]
push 0x46b328
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x42fbea
push str._InstPath
push 0x46b2e0
lea ecx, [ebp - 0x438]
call fcn.0042d430
mov edx, dword [esi + 0x10]
sub edx, dword [esi + 0xc]
sar edx, 7
cmp ebx, edx
jb 0x42fbfc
call fcn.00446257
mov eax, dword [esi + 0xc]
add eax, edi
mov eax, dword [eax + 8]
push 0x46b310
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x42fc29
push str._dir
push 0x46b2e0
lea ecx, [ebp - 0x438]
call fcn.0042d430
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
sar eax, 7
cmp ebx, eax
jb 0x42fc3b
call fcn.00446257
mov eax, dword [esi + 0xc]
add eax, edi
mov eax, dword [eax + 8]
push 0x46b2c0
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x42fca7
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
sar ecx, 7
cmp ebx, ecx
jb 0x42fc65
call fcn.00446257
mov eax, dword [esi + 0xc]
add eax, edi
mov eax, dword [eax + 8]
push 0x46b2ac
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x42fca7
mov edx, dword [esi + 0x10]
sub edx, dword [esi + 0xc]
sar edx, 7
cmp ebx, edx
jb 0x42fc8f
call fcn.00446257
mov eax, dword [esi + 0xc]
add eax, edi
mov eax, dword [eax + 8]
push str.360X
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x42fcbc
push str._Path_
push 0x46b284
lea ecx, [ebp - 0x438]
call fcn.0042d430
mov eax, dword [ebp - 0x428]
push eax
push str._Path_
lea ecx, [ebp - 0x438]
call fcn.0042d430
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
sar ecx, 7
cmp ebx, ecx
jb 0x42fce5
call fcn.00446257
mov eax, dword [esi + 0xc]
add eax, edi
mov eax, dword [eax + 8]
push 0x46b278
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x42fdcc
mov edx, dword [esi + 0x10]
sub edx, dword [esi + 0xc]
sar edx, 7
cmp ebx, edx
jb 0x42fd13
call fcn.00446257
mov eax, dword [esi + 0xc]
add eax, edi
mov eax, dword [eax + 8]
push 0x46b26c
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x42fdcc
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
sar eax, 7
cmp ebx, eax
jb 0x42fd41
call fcn.00446257
mov eax, dword [esi + 0xc]
add eax, edi
mov eax, dword [eax + 8]
push 0x46b260
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x42fdcc
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
sar ecx, 7
cmp ebx, ecx
jb 0x42fd6b
call fcn.00446257
mov eax, dword [esi + 0xc]
add eax, edi
mov eax, dword [eax + 8]
push str.1rGYz
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x42fdcc
push ebx
mov ecx, esi
call fcn.00426b70
add eax, 8
mov eax, dword [eax]
push 0x46b310
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x42fdcc
mov edx, dword [ebp - 0x438]
mov eax, dword [edx - 0xc]
add eax, 2
push eax
lea ecx, [ebp - 0x438]
call fcn.0040f570
push eax
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x438]
call fcn.00416d00
mov eax, dword [ebp - 0x438]
mov ecx, dword [ebp - 0x42c]
mov edx, dword [ebp - 0x430]
push eax
mov eax, dword [ecx + edx*4]
push eax
lea ecx, [ebp - 0x450]
call fcn.0042d430
mov eax, dword [ebp - 0x438]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fe14
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00424fd0
cmp dword [eax + 0x20], 0
je 0x42ff00
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
sar ecx, 7
cmp ebx, ecx
jb 0x42fe35
call fcn.00446257
mov eax, dword [esi + 0xc]
add eax, edi
mov eax, dword [eax + 4]
push 0x46b248
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x42fe7d
push 1
lea edx, [ebp - 0x42c]
push edx
mov ecx, 0x4811e0
call fcn.004312d0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x450]
push str.__SETHOMEPAGE1__LM_s
push ecx
mov byte [ebp - 4], 0xd
call fcn.0042f180
add esp, 0xc
jmp 0x42feda
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
sar ecx, 7
cmp ebx, ecx
jb 0x42fe8f
call fcn.00446257
mov eax, dword [esi + 0xc]
add eax, edi
mov eax, dword [eax + 8]
push str.360X
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x42ff00
push 1
lea edx, [ebp - 0x42c]
push edx
mov ecx, 0x4811e0
call fcn.004312d0
mov eax, dword [eax]
push eax
push str.https:__hao.360.cn__srclmls
lea ecx, [ebp - 0x450]
push str.___homepage__s_s_
push ecx
mov byte [ebp - 4], 0xe
call fcn.0042f180
add esp, 0x10
mov eax, dword [ebp - 0x42c]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
mov byte [ebp - 4], 0xb
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42ff00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
sar ecx, 7
cmp ebx, ecx
jb 0x42ff12
call fcn.00446257
mov eax, dword [esi + 0xc]
add eax, edi
mov eax, dword [eax + 8]
push 0x46b2c0
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x42ff83
call fcn.00417220
test eax, eax
jne 0x42ff83
xor edx, edx
push 0x410
push edx
lea eax, [ebp - 0x422]
push eax
mov word [ebp - 0x424], dx
call fcn.00446080
add esp, 0xc
push 0
push 0x1a
lea ecx, [ebp - 0x424]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.360se6Application360se.exe
lea edx, [ebp - 0x424]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x450]
mov edx, dword [ebp - 0x44c]
push ecx
push edx
call fcn.004168f0
add esp, 8
mov dword [ebp - 0x42c], eax
test eax, eax
jne 0x430084
mov eax, dword [ebp - 0x434]
push eax
push 0x1c
mov ecx, 0x4811e0
call fcn.00431820
mov edx, dword [0x48134c]
mov eax, dword [edx + 0xc]
mov ecx, 0x48134c
call eax
add eax, 0x10
mov dword [ebp - 0x42c], eax
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov byte [ebp - 4], 0xf
sar ecx, 7
cmp ebx, ecx
jb 0x42ffe9
call fcn.00446257
mov edx, dword [esi + 0xc]
mov eax, dword [edi + edx + 8]
push eax
lea ecx, [ebp - 0x42c]
push 0x46b15c
push ecx
call fcn.00417c80
mov edi, dword [ebp - 0x42c]
add esp, 8
add edi, 0xfffffff0
mov dword [ebp - 0x440], esp
mov dword [ebp - 0x430], esp
push edi
call fcn.0040f250
mov edx, dword [ebp - 0x430]
mov ecx, dword [ebp - 0x444]
add eax, 0x10
mov dword [edx], eax
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
add esp, 4
push 1
push 0xf
sar eax, 7
push eax
push ebx
call fcn.0042ee00
mov byte [ebp - 4], 0xb
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x430065
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov eax, dword [ebp - 0x428]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x43019d
mov ecx, dword [ebp - 0x434]
push ecx
push 0x1b
mov ecx, 0x4811e0
call fcn.00431820
mov edi, dword [ebp - 0x42c]
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ecx
mov ecx, esp
mov dword [ebp - 0x460], esp
push 0x46b364
call fcn.0040fbb0
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x444]
push 0
push 0x64
sar eax, 7
push eax
push ebx
call fcn.0042ee00
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x44c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x428]
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 0x430113
push esi
lea ecx, [ebp - 0x428]
call fcn.0040f370
mov edx, dword [ebp - 0x428]
push edx
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
mov eax, dword [ebp - 0x428]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00448e74
add esp, 8
test eax, eax
jl 0x4302ad
mov ecx, dword [ebp - 0x428]
cmp eax, dword [ecx - 8]
jg 0x4302ad
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x428]
xor ecx, ecx
mov word [edx + eax*2], cx
cmp dword [ebp - 0x440], ecx
jne 0x430179
mov eax, dword [ebp - 0x428]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyW]
test eax, eax
je 0x430179
mov ecx, dword [ebp - 0x428]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [ebp - 0x428]
add eax, 0xfffffff0
mov dword [ebp - 0x460], 1
mov byte [ebp - 4], 0xa
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4301a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x450]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 8
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4301cf
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x448]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4301f5
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x43c]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43021b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x454]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430241
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x458]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 2
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430264
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x434]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [ebp - 4], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430289
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x460]
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.00445a92
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00403db0
int3