Function at 0x1000f800
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a8fc1
mov eax, dword fs:[0]
push eax
sub esp, 0x6b8
mov eax, dword [0x100db3fc]
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 edi, ecx
mov ecx, dword [edi + 0x48]
cmp ecx, 0x80004001
je 0x1000f847
xor eax, eax
test ecx, ecx
sete al
jmp 0x1000fa8d
call fcn.100029d0
mov ecx, eax
test ecx, ecx
je 0x1000faa9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x62c], eax
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.10076570
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x100dd650]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call esi
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10076570
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
add esp, 0xc
push str.Utils7z.dll
push eax
lea eax, [ebp - 0x420]
push eax
call esi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x420]
push eax
call ebx
test eax, eax
jne 0x1000f9aa
push 0x208
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.10076570
add esp, 0xc
lea eax, [ebp - 0x218]
push str.7z.dll
push eax
lea eax, [ebp - 0x628]
push eax
call esi
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000f930
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x62c]
call fcn.10002680
mov esi, dword [ebp - 0x62c]
push esi
call ebx
test eax, eax
jne 0x1000f9db
call fcn.1005d530
test eax, eax
je 0x1000fa5c
call fcn.1005d530
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000fa5c
call fcn.1005d530
lea ecx, [ebp - 0x6c4]
mov ebx, eax
call fcn.100064c0
mov edi, eax
push str.error_find_7z_
push edi
mov byte [ebp - 4], 1
call fcn.10007110
jmp 0x1000fa2a
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000f9b3
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x62c]
call fcn.10002680
mov esi, dword [ebp - 0x62c]
push esi
call fcn.1006d450
test eax, eax
jne 0x1000fa60
mov dword [edi + 0x48], 0x80004005
call fcn.1005d530
test eax, eax
je 0x1000fa5c
call fcn.1005d530
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000fa5c
call fcn.1005d530
lea ecx, [ebp - 0x6c4]
mov ebx, eax
call fcn.100064c0
mov edi, eax
push 0x100b0120
push edi
mov byte [ebp - 4], 2
call fcn.1000d070
test esi, esi
mov ecx, 0x100afe38
cmovne ecx, esi
push ecx
push edi
call fcn.1000d070
push 0x100b011c
push edi
call fcn.10007110
mov eax, dword [ebx]
add esp, 0x18
mov ecx, ebx
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0x6c4]
call fcn.100071d0
xor edi, edi
jmp 0x1000fa6c
mov dword [edi + 0x48], 0
mov edi, 1
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000fa8b
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.1006a60c
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10001670
int3