Function at 0x423480
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8939
mov eax, dword fs:[0]
push eax
sub esp, 0x6d0
mov eax, dword [0x5381f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2d4], ecx
push 0x208
push 0
lea eax, [ebp - 0x25c]
push eax
call fcn.004a03d0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x25c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x25c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x28c]
call fcn.00419e70
mov dword [ebp - 4], 0
push str.repair.7z
lea ecx, [ebp - 0x25c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x2c4]
call fcn.00424ca0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x25c]
push edx
lea ecx, [ebp - 0x2dc]
call fcn.00403720
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2d4]
add ecx, 0xa0
call fcn.00417670
push eax
lea ecx, [ebp - 0x2d8]
call fcn.00403720
mov byte [ebp - 4], 3
push 0
push 0x927c0
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x2dc]
push ecx
lea edx, [ebp - 0x2d8]
push edx
call fcn.00426db0
add esp, 0x14
test eax, eax
je 0x42358a
mov byte [ebp - 0x2bd], 1
jmp 0x423591
mov byte [ebp - 0x2bd], 0
mov al, byte [ebp - 0x2bd]
mov byte [ebp - 0x2c5], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2d8]
call fcn.00403900
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2dc]
call fcn.00403900
movzx ecx, byte [ebp - 0x2c5]
test ecx, ecx
jne 0x4236f2
lea edx, [ebp - 0x3e4]
push edx
call fcn.004341b0
add esp, 4
mov dword [ebp - 0x30c], eax
mov eax, dword [ebp - 0x30c]
mov dword [ebp - 0x310], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x310]
call fcn.00406890
mov dword [ebp - 0x2e0], eax
mov ecx, dword [ebp - 0x2e0]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2e0]
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 0x2c6], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3e4]
call fcn.00409eb0
movzx ecx, byte [ebp - 0x2c6]
test ecx, ecx
je 0x4236de
lea edx, [ebp - 0x3bc]
push edx
call fcn.004341b0
add esp, 4
mov dword [ebp - 0x314], eax
mov eax, dword [ebp - 0x314]
mov dword [ebp - 0x318], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x318]
call fcn.004068b0
mov dword [ebp - 0x2e4], eax
lea ecx, [ebp - 0x2c4]
push ecx
push str.download_file_fail__info:
lea ecx, [ebp - 0x47c]
call fcn.004091f0
mov dword [ebp - 0x31c], eax
mov edx, dword [ebp - 0x31c]
mov dword [ebp - 0x320], edx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x320]
call fcn.004240a0
mov ecx, eax
call fcn.00424260
push eax
mov eax, dword [ebp - 0x2e4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2e4]
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x47c]
call fcn.00409f20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3bc]
call fcn.00409eb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c4]
call fcn.00425130
jmp 0x423da7
mov dword [ebp - 0x39c], 0x21
push 0x42
push 0
lea ecx, [ebp - 0x54]
push ecx
call fcn.004a03d0
add esp, 0xc
push 0x21
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x25c]
push eax
call fcn.00467740
add esp, 0xc
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x2d0]
call fcn.00403720
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x2d4]
add ecx, 0xd0
call fcn.00417670
push eax
lea ecx, [ebp - 0x2d0]
call fcn.00425d30
test eax, eax
je 0x423882
lea edx, [ebp - 0x3c4]
push edx
call fcn.004341b0
add esp, 4
mov dword [ebp - 0x324], eax
mov eax, dword [ebp - 0x324]
mov dword [ebp - 0x328], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x328]
call fcn.00406890
mov dword [ebp - 0x2e8], eax
mov ecx, dword [ebp - 0x2e8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2e8]
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 0x2c7], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3c4]
call fcn.00409eb0
movzx ecx, byte [ebp - 0x2c7]
test ecx, ecx
je 0x42385f
lea edx, [ebp - 0x3cc]
push edx
call fcn.004341b0
add esp, 4
mov dword [ebp - 0x32c], eax
mov eax, dword [ebp - 0x32c]
mov dword [ebp - 0x330], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x330]
call fcn.004068b0
mov dword [ebp - 0x2ec], eax
push str.md5_check_fail_
lea ecx, [ebp - 0x514]
call fcn.004091f0
mov dword [ebp - 0x334], eax
mov ecx, dword [ebp - 0x334]
mov dword [ebp - 0x390], ecx
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x390]
call fcn.00423f60
push eax
mov edx, dword [ebp - 0x2ec]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2ec]
mov edx, dword [eax + 8]
call edx
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x514]
call fcn.00409f20
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3cc]
call fcn.00409eb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2d0]
call fcn.00403900
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c4]
call fcn.00425130
jmp 0x423da7
push str.7z.dll
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x2bc]
push ecx
call fcn.00424350
add esp, 0xc
mov dword [ebp - 0x380], eax
mov edx, dword [ebp - 0x380]
mov dword [ebp - 0x38c], edx
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x38c]
call fcn.00417670
push eax
call fcn.00499ee0
test eax, eax
jne 0x4238d4
mov dword [ebp - 0x2f0], 1
jmp 0x4238de
mov dword [ebp - 0x2f0], 0
mov al, byte [ebp - 0x2f0]
mov byte [ebp - 0x2c8], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2bc]
call fcn.00409d80
movzx ecx, byte [ebp - 0x2c8]
test ecx, ecx
je 0x423a31
lea edx, [ebp - 0x3dc]
push edx
call fcn.004341b0
add esp, 4
mov dword [ebp - 0x388], eax
mov eax, dword [ebp - 0x388]
mov dword [ebp - 0x37c], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x37c]
call fcn.00406890
mov dword [ebp - 0x2f4], eax
mov ecx, dword [ebp - 0x2f4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2f4]
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 0x2c9], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3dc]
call fcn.00409eb0
movzx ecx, byte [ebp - 0x2c9]
test ecx, ecx
je 0x423a0e
lea edx, [ebp - 0x398]
push edx
call fcn.004341b0
add esp, 4
mov dword [ebp - 0x384], eax
mov eax, dword [ebp - 0x384]
mov dword [ebp - 0x338], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x338]
call fcn.004068b0
mov dword [ebp - 0x2f8], eax
push str.7z_init_fail
lea ecx, [ebp - 0x5ac]
call fcn.004091f0
mov dword [ebp - 0x33c], eax
mov ecx, dword [ebp - 0x33c]
mov dword [ebp - 0x340], ecx
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x340]
call fcn.00424200
push eax
mov edx, dword [ebp - 0x2f8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2f8]
mov edx, dword [eax + 8]
call edx
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x5ac]
call fcn.00409f20
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x398]
call fcn.00409eb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2d0]
call fcn.00403900
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c4]
call fcn.00425130
jmp 0x423da7
push 0
lea ecx, [ebp - 0x28c]
call fcn.00417670
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.0049a6d0
call fcn.0049a450
mov ecx, dword [ebp - 0x2d4]
add ecx, 0xb8
push ecx
push 0x507d7c
lea edx, [ebp - 0x28c]
push edx
lea eax, [ebp - 0x2a4]
push eax
call fcn.00424350
add esp, 0xc
mov dword [ebp - 0x344], eax
mov ecx, dword [ebp - 0x344]
mov dword [ebp - 0x348], ecx
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x348]
push edx
lea eax, [ebp - 0x274]
push eax
call fcn.00424310
add esp, 0xc
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2a4]
call fcn.00409d80
lea ecx, [ebp - 0x274]
call fcn.00417670
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x423c05
lea ecx, [ebp - 0x3d4]
push ecx
call fcn.004341b0
add esp, 4
mov dword [ebp - 0x34c], eax
mov edx, dword [ebp - 0x34c]
mov dword [ebp - 0x350], edx
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x350]
call fcn.00406890
mov dword [ebp - 0x2fc], eax
mov eax, dword [ebp - 0x2fc]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2fc]
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 0x2ca], al
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x3d4]
call fcn.00409eb0
movzx ecx, byte [ebp - 0x2ca]
test ecx, ecx
je 0x423bd3
lea edx, [ebp - 0x3a4]
push edx
call fcn.004341b0
add esp, 4
mov dword [ebp - 0x354], eax
mov eax, dword [ebp - 0x354]
mov dword [ebp - 0x358], eax
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x358]
call fcn.004068b0
mov dword [ebp - 0x300], eax
push str.repair_exe_is_not_exist
lea ecx, [ebp - 0x644]
call fcn.004091f0
mov dword [ebp - 0x35c], eax
mov ecx, dword [ebp - 0x35c]
mov dword [ebp - 0x360], ecx
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x360]
call fcn.00424060
push eax
mov edx, dword [ebp - 0x300]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x300]
mov edx, dword [eax + 8]
call edx
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x644]
call fcn.00409f20
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x3a4]
call fcn.00409eb0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x274]
call fcn.00409d80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2d0]
call fcn.00403900
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c4]
call fcn.00425130
jmp 0x423da7
push 0
push 0
push 0
push 1
push 0
mov ecx, dword [ebp - 0x2d4]
add ecx, 0xe8
call fcn.00417670
push eax
lea ecx, [ebp - 0x274]
call fcn.00417670
push eax
call fcn.00472b10
add esp, 0x1c
test eax, eax
jne 0x423d72
lea eax, [ebp - 0x3ac]
push eax
call fcn.004341b0
add esp, 4
mov dword [ebp - 0x364], eax
mov ecx, dword [ebp - 0x364]
mov dword [ebp - 0x368], ecx
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x368]
call fcn.00406890
mov dword [ebp - 0x304], eax
mov edx, dword [ebp - 0x304]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x304]
mov edx, dword [eax + 4]
call edx
mov byte [ebp - 0x2cb], al
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x3ac]
call fcn.00409eb0
movzx eax, byte [ebp - 0x2cb]
test eax, eax
je 0x423d43
lea ecx, [ebp - 0x3b4]
push ecx
call fcn.004341b0
add esp, 4
mov dword [ebp - 0x36c], eax
mov edx, dword [ebp - 0x36c]
mov dword [ebp - 0x370], edx
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x370]
call fcn.004068b0
mov dword [ebp - 0x308], eax
push str.RunApp_fail_
lea ecx, [ebp - 0x6dc]
call fcn.004091f0
mov dword [ebp - 0x374], eax
mov eax, dword [ebp - 0x374]
mov dword [ebp - 0x378], eax
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x378]
call fcn.00424200
push eax
mov ecx, dword [ebp - 0x308]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x308]
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x6dc]
call fcn.00409f20
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x3b4]
call fcn.00409eb0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x274]
call fcn.00409d80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2d0]
call fcn.00403900
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c4]
call fcn.00425130
jmp 0x423da7
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x274]
call fcn.00409d80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2d0]
call fcn.00403900
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c4]
call fcn.00425130
xor ecx, ecx
jne 0x423513
lea edx, [ebp - 0x25c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x423dc5
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28c]
call fcn.00409d80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046621a
mov esp, ebp
pop ebp
ret