Function at 0x583710
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7bb0e5
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x89b044]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x484], ecx
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x484]
add ecx, 0x70
call fcn.00403b90
movzx eax, al
test eax, eax
jne 0x583776
mov ecx, dword [ebp - 0x484]
add ecx, 0x70
call fcn.00405e80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x58377b
jmp 0x583a92
lea ecx, [ebp - 0x18]
call fcn.00405e90
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00405e90
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x484]
cmp dword [ecx + 0x40], 1
jne 0x5837e0
mov edx, dword [ebp - 0x484]
add edx, 0x70
push edx
lea ecx, [ebp - 0x18]
call fcn.00403670
mov eax, dword [ebp - 0x484]
add eax, 0x48
push eax
lea ecx, [ebp - 0x14]
call fcn.00403670
push 1
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.00586820
add esp, 0xc
mov dword [ebp - 0x10], eax
jmp 0x583a6f
mov eax, dword [ebp - 0x484]
cmp dword [eax + 0x40], 2
jne 0x583a6f
mov ecx, dword [ebp - 0x484]
add ecx, 0x70
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00405d50
mov byte [ebp - 4], 2
push 0x2e
lea ecx, [ebp - 0x1c]
call fcn.0057c250
cmp eax, 0xffffffff
je 0x583a63
lea ecx, [ebp - 0x1c]
call fcn.004818d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.00403ba0
lea ecx, [ebp - 0x1c]
call fcn.00405e80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x58387b
lea ecx, [ebp - 0x1c]
call fcn.00406470
push eax
lea ecx, [ebp - 0x464]
call fcn.00403bf0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x464]
push edx
call fcn.00612040
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x464]
call fcn.00403c30
push 0x208
push 0
lea eax, [ebp - 0x22c]
push eax
call fcn.007202b0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x22c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x22c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.Utils7z.dll
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x22c]
push ecx
call fcn.00704c90
add esp, 4
mov ecx, dword [ebp - 0x484]
add ecx, 0x70
call fcn.00405e80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x230], 0
cmp dword [ebp - 0x440], 0
je 0x583953
push str..zip
mov edx, dword [ebp - 0x440]
push edx
call fcn.00723690
add esp, 8
test eax, eax
jne 0x583953
lea ecx, [ebp - 0x1c]
call fcn.00405e80
push eax
mov ecx, dword [ebp - 0x484]
add ecx, 0x70
call fcn.00405e80
push eax
call fcn.00645ba0
add esp, 8
mov dword [ebp - 0x444], eax
xor eax, eax
cmp dword [ebp - 0x444], 0
setge al
mov dword [ebp - 0x230], eax
jmp 0x58398d
push 0
lea ecx, [ebp - 0x1c]
call fcn.00405e80
push eax
mov ecx, dword [ebp - 0x484]
add ecx, 0x70
call fcn.00405e80
push eax
call fcn.00706380
add esp, 0xc
mov dword [ebp - 0x448], eax
xor ecx, ecx
cmp dword [ebp - 0x448], 0
sete cl
mov dword [ebp - 0x230], ecx
push 0x208
push 0
lea edx, [ebp - 0x43c]
push edx
call fcn.007202b0
add esp, 0xc
mov ecx, dword [ebp - 0x484]
add ecx, 0x44
call fcn.00405e80
push eax
lea ecx, [ebp - 0x1c]
call fcn.00405e80
push eax
lea eax, [ebp - 0x43c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x43c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00406890
cmp dword [ebp - 0x230], 0
je 0x583a1a
lea ecx, [ebp - 0x18]
call fcn.00405e80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x583a1a
mov edx, dword [ebp - 0x484]
add edx, 0x48
push edx
lea ecx, [ebp - 0x14]
call fcn.00403670
push 1
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.00586820
add esp, 0xc
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x1c]
call fcn.00405e80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x583a63
lea ecx, [ebp - 0x1c]
call fcn.00406470
push eax
lea ecx, [ebp - 0x480]
call fcn.00403bf0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x480]
push edx
call fcn.00612040
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x480]
call fcn.00403c30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00405ef0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00405ef0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00405ef0
xor eax, eax
jne 0x583748
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0071fe0b
mov esp, ebp
pop ebp
ret