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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57353f
mov eax, dword fs:[0]
push eax
sub esp, 0x4e4
mov eax, dword [0x5dccb4]
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 esi, dword [ebp + 8]
push str.SoftInstaller::InstallFile__7z_package.
mov dword [ebp - 0x4ec], esi
call fcn.0044ceb0
push 0x208
lea eax, [ebp - 0x44c]
push 0
push eax
call fcn.00516300
add esp, 0x10
call fcn.00472ff0
push 0x104
lea edx, [ebp - 0x44c]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x54]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x44c]
push str.ComputerZ.set
push eax
call edi
push 0x208
lea eax, [ebp - 0x244]
push 0
push eax
call fcn.00516300
add esp, 0xc
call fcn.00472ff0
push 0x104
lea edx, [ebp - 0x244]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x54]
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp dword [esi + 0x60], 8
lea eax, [esi + 0x4c]
jb 0x45c148
mov eax, dword [esi + 0x4c]
push eax
lea eax, [ebp - 0x244]
push eax
call edi
cmp dword [esi + 0x7c], 8
lea ebx, [esi + 0x68]
mov eax, ebx
jb 0x45c15f
mov eax, dword [ebx]
push 0
lea ecx, [ebp - 0x244]
push ecx
push eax
call fcn.004b9b00
test eax, eax
jns 0x45c306
push str.Extract7z::Unzip7zFile_fail.
call fcn.0044ceb0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x12]
push eax
call fcn.004590e0
xor ecx, ecx
mov dword [ebp - 0x454], 0
mov word [ebp - 0x464], cx
add esp, 8
lea ecx, [ebp - 0x12]
mov dword [ebp - 0x450], 7
cmp eax, ecx
je 0x45c1cb
sub ecx, eax
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x464]
call fcn.00412a70
lea eax, [esi + 0x100]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x4dc]
push str.ex_ary_mate_
push eax
call fcn.00458040
push str.ex_ary_kind_1ex_ary_code_
push eax
lea eax, [ebp - 0x4c4]
mov byte [ebp - 4], 1
push eax
call fcn.00457fd0
lea ecx, [ebp - 0x464]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x4ac]
push eax
call fcn.00457f40
add esp, 0x24
lea ecx, [ebp - 0x4c4]
call fcn.00410b20
lea ecx, [ebp - 0x4dc]
call fcn.00410b20
lea ecx, [ebp - 0x464]
mov byte [ebp - 4], 6
call fcn.00410b20
push str.extracfail
lea ecx, [ebp - 0x4e4]
call fcn.0040e210
push str.eden_bro
lea ecx, [ebp - 0x4e0]
mov byte [ebp - 4], 7
call fcn.0040e210
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x4ec], esp
mov dword [eax + 0x24], 0
cmp dword [ebp - 0x498], 8
lea eax, [ebp - 0x4ac]
push 0
cmovae eax, dword [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x4e4]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x4e0]
push eax
call fcn.00434730
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00430440
mov edx, dword [ebp - 0x4e0]
or edi, 0xffffffff
mov byte [ebp - 4], 7
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45c2d5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x4e4]
mov byte [ebp - 4], 6
lea edx, [eax - 0x10]
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x45c2f4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x4ac]
call fcn.00410b20
xor al, al
jmp 0x45c527
call fcn.0042e350
mov ecx, eax
test ecx, ecx
je 0x45c545
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4e4], eax
cmp dword [esi + 0x114], 8
lea ecx, [esi + 0x100]
mov dword [ebp - 4], 0xa
jb 0x45c33f
mov ecx, dword [esi + 0x100]
push ecx
lea eax, [ebp - 0x4e4]
push str.ex_ary_mate__sex_ary_kind_1
push eax
call fcn.0040b270
add esp, 0xc
lea ecx, [ebp - 0x4e8]
push str.extracsucc
call fcn.0040e210
push str.eden_bro
lea ecx, [ebp - 0x4e0]
mov byte [ebp - 4], 0xb
call fcn.0040e210
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x4f0], esp
mov dword [eax + 0x24], 0
mov esi, dword [ebp - 0x4e4]
lea eax, [ebp - 0x4e8]
push 0
push esi
push eax
lea eax, [ebp - 0x4e0]
mov byte [ebp - 4], 0xd
push eax
call fcn.00434730
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.00430440
mov edx, dword [ebp - 0x4e0]
or edi, 0xffffffff
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45c3db
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4e8]
mov eax, edi
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45c3fc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebx + 0x14], 8
jb 0x45c404
mov ebx, dword [ebx]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45c4fc
xor eax, eax
mov dword [ebp - 0x484], 0
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x480], 7
mov word [ebp - 0x494], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45c446
sub ecx, edx
lea eax, [ebp - 0x244]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x494]
call fcn.00412a70
xor eax, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x44c]
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x468], 7
lea edx, [ecx + 2]
mov word [ebp - 0x47c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45c492
sub ecx, edx
lea eax, [ebp - 0x44c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x47c]
call fcn.00412a70
mov ecx, dword [ebp - 0x4ec]
mov byte [ebp - 4], 0xf
movzx eax, byte [ecx + 0x64]
push eax
lea eax, [ebp - 0x494]
push eax
lea eax, [ecx + 0x4c]
push eax
lea eax, [ecx + 0x100]
push eax
lea eax, [ebp - 0x47c]
push eax
call fcn.004619f0
add esp, 0x14
lea ecx, [ebp - 0x47c]
call fcn.00410b20
lea ecx, [ebp - 0x494]
call fcn.00410b20
jmp 0x45c509
push str.SoftInstaller::InstallFile__7z_package__root_dir_not_found.
call fcn.0044ceb0
add esp, 4
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x45c525
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
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.004b0a78
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.0040af40
int3