Function at 0x1000f990
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a9141
mov eax, dword fs:[0]
push eax
sub esp, 0x6b8
mov eax, dword [0x100db55c]
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 0x1000f9d7
xor eax, eax
test ecx, ecx
sete al
jmp 0x1000fc1d
call fcn.10002b70
mov ecx, eax
test ecx, ecx
je 0x1000fc39
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.10076710
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x100dd7b0]
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.10076710
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 0x1000fb3a
push 0x208
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.10076710
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 0x1000fac0
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x62c]
call fcn.10002820
mov esi, dword [ebp - 0x62c]
push esi
call ebx
test eax, eax
jne 0x1000fb6b
call fcn.1005d6c0
test eax, eax
je 0x1000fbec
call fcn.1005d6c0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000fbec
call fcn.1005d6c0
lea ecx, [ebp - 0x6c4]
mov ebx, eax
call fcn.10006650
mov edi, eax
push str.error_find_7z_
push edi
mov byte [ebp - 4], 1
call fcn.100072a0
jmp 0x1000fbba
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000fb43
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x62c]
call fcn.10002820
mov esi, dword [ebp - 0x62c]
push esi
call fcn.1006d5f0
test eax, eax
jne 0x1000fbf0
mov dword [edi + 0x48], 0x80004005
call fcn.1005d6c0
test eax, eax
je 0x1000fbec
call fcn.1005d6c0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000fbec
call fcn.1005d6c0
lea ecx, [ebp - 0x6c4]
mov ebx, eax
call fcn.10006650
mov edi, eax
push 0x100b0130
push edi
mov byte [ebp - 4], 2
call fcn.1000d200
test esi, esi
mov ecx, 0x100afe48
cmovne ecx, esi
push ecx
push edi
call fcn.1000d200
push 0x100b012c
push edi
call fcn.100072a0
mov eax, dword [ebx]
add esp, 0x18
mov ecx, ebx
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0x6c4]
call fcn.10007360
xor edi, edi
jmp 0x1000fbfc
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 0x1000fc1b
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.1006a7ac
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10001810
int3