Function at 0x5a7c90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d52fd
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x70c0f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x24]
call fcn.00553d50
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.00553d50
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
call fcn.005a7bf0
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x10]
call fcn.005ab7d0
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x5b4]
call fcn.004481f0
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.00455c90
mov byte [ebp - 4], 2
mov byte [ebp - 0x11], 0
mov byte [ebp - 0x17], 0
mov byte [ebp - 0x14], 0
mov byte [ebp - 0x16], 0
mov byte [ebp - 0x15], 0
mov byte [ebp - 0x13], 0
cmp dword [ebp - 0x30], 0xffffffff
jg 0x5a7d8f
push 0x6c6094
lea ecx, [ebp - 0x40]
call fcn.0044b890
movzx edx, al
test edx, edx
je 0x5a7d55
mov byte [ebp - 0x11], 1
mov byte [ebp - 0x14], 1
jmp 0x5a7d8f
push 0x6c6098
lea ecx, [ebp - 0x40]
call fcn.0044b890
movzx eax, al
test eax, eax
je 0x5a7d73
mov byte [ebp - 0x11], 1
mov byte [ebp - 0x16], 1
jmp 0x5a7d8f
push 0x6c609c
lea ecx, [ebp - 0x40]
call fcn.0044b890
movzx ecx, al
test ecx, ecx
je 0x5a7d8f
mov byte [ebp - 0x11], 1
mov byte [ebp - 0x15], 1
push 0x6c6078
lea ecx, [ebp - 0x40]
call fcn.0044b890
movzx edx, al
test edx, edx
je 0x5a7dc3
mov ecx, dword [ebp - 0x10]
call fcn.005a7410
mov byte [ebp - 0x13], al
movzx eax, byte [ebp - 0x13]
test eax, eax
je 0x5a7dc3
push 0x6c607c
lea ecx, [ebp - 0x40]
call fcn.00553ad0
mov ecx, dword [ebp - 0x10]
add ecx, 0x584
push ecx
lea ecx, [ebp - 0x7c]
call fcn.00553d50
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x10]
add edx, 0x59c
push edx
lea ecx, [ebp - 0x7c]
call fcn.005539e0
lea ecx, [ebp - 0x104]
call fcn.004495b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x7c]
call fcn.00447710
push eax
lea ecx, [ebp - 0x104]
call fcn.00559370
mov byte [ebp - 0x12], al
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x5a7e91
lea ecx, [ebp - 0x104]
call fcn.00448f90
movzx ecx, al
test ecx, ecx
jne 0x5a7e91
mov ecx, dword [ebp - 0x10]
add ecx, 0x59c
call fcn.0044b1b0
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x5a7e91
mov edx, dword [ebp - 0x28]
add edx, 1
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x59c
call fcn.00447750
push eax
lea ecx, [ebp - 0x88]
call fcn.00553d00
mov byte [ebp - 4], 5
push 0x6c6084
lea ecx, [ebp - 0x88]
call fcn.0044b890
movzx eax, al
test eax, eax
je 0x5a7e82
mov byte [ebp - 0x17], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x88]
call fcn.00447680
lea ecx, [ebp - 0x24]
call fcn.004476b0
movzx ecx, al
test ecx, ecx
je 0x5a7eb2
mov edx, dword [ebp - 0x10]
add edx, 0x59c
push edx
lea ecx, [ebp - 0x24]
call fcn.00553b70
movzx eax, byte [ebp - 0x14]
test eax, eax
jne 0x5a7eca
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
jne 0x5a7eca
movzx edx, byte [ebp - 0x16]
test edx, edx
je 0x5a7ee0
mov eax, dword [ebp - 0x10]
add eax, 0x59c
push eax
lea ecx, [ebp - 0x24]
call fcn.00553b70
jmp 0x5a7fed
mov ecx, dword [ebp - 0x10]
add ecx, 0x584
push ecx
lea ecx, [ebp - 0x70]
call fcn.00553d50
mov byte [ebp - 4], 6
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x70]
call fcn.005539e0
lea ecx, [ebp - 0xcc]
call fcn.004495b0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x70]
call fcn.00447710
push eax
lea ecx, [ebp - 0xcc]
call fcn.00559370
mov byte [ebp - 0x12], al
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x5a7f63
lea ecx, [ebp - 0xcc]
call fcn.00448f90
movzx ecx, al
test ecx, ecx
jne 0x5a7f63
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.005a8600
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x5a7f63
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x24]
call fcn.00447890
movzx ecx, byte [ebp - 0x13]
test ecx, ecx
je 0x5a7fd2
mov edx, dword [ebp - 0x10]
add edx, 0x584
push edx
lea ecx, [ebp - 0x64]
call fcn.00553d50
mov byte [ebp - 4], 8
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x64]
call fcn.005539e0
push 0x6c6088
lea ecx, [ebp - 0x64]
call fcn.00552fd0
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x64]
call fcn.005539e0
lea ecx, [ebp - 0x64]
call fcn.00447710
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x5a7fc6
push str..sfx
lea ecx, [ebp - 0x24]
call fcn.00552fd0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x64]
call fcn.00447680
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xcc]
call fcn.004495e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.00447680
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x4c]
call fcn.00553b70
movzx eax, byte [ebp - 0x17]
test eax, eax
je 0x5a8016
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
je 0x5a8016
push 0x6c61b0
lea ecx, [ebp - 0x4c]
call fcn.00552fd0
push 0x2e
lea ecx, [ebp - 0x4c]
call fcn.00448d30
cmp dword [ebp - 0x30], 0xffffffff
jle 0x5a806c
push str.tar.
lea ecx, [ebp - 0x4c]
call fcn.00552fd0
lea edx, [ebp - 0x94]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.00455c90
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.005539e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x94]
call fcn.00447680
jmp 0x5a8078
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x4c]
call fcn.005539e0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x544], 0
je 0x5a80f1
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x5a80a8
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x544]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x544]
mov eax, dword [edx + 0x104]
call eax
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x580]
test edx, edx
jne 0x5a80f1
lea ecx, [ebp - 0x4c]
call fcn.00447710
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x544]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x544]
mov edx, dword [eax + 0x3c]
call edx
lea ecx, [ebp - 0x24]
call fcn.00445fd0
push eax
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x544]
call fcn.004ad72b
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x104]
call fcn.004495e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call fcn.00447680
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00447680
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.00447680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00447680
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8