Function at 0x1000b9a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009d3f1
mov eax, dword fs:[0]
push eax
sub esp, 0x6b8
mov eax, dword [0x100cd4bc]
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 0x1000b9e7
xor eax, eax
test ecx, ecx
sete al
jmp 0x1000bc2d
call fcn.10001ca0
mov ecx, eax
test ecx, ecx
je 0x1000bc49
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.1006c590
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x100cf248]
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.1006c590
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
add esp, 0xc
push str.Bin7z.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 0x1000bb4a
push 0x208
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.1006c590
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 0x1000bad0
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x62c]
call fcn.10001950
mov esi, dword [ebp - 0x62c]
push esi
call ebx
test eax, eax
jne 0x1000bb7b
call fcn.10054ac0
test eax, eax
je 0x1000bbfc
call fcn.10054ac0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000bbfc
call fcn.10054ac0
lea ecx, [ebp - 0x6c4]
mov ebx, eax
call fcn.10003290
mov edi, eax
push str.error_find_7z_
push edi
mov byte [ebp - 4], 1
call fcn.10003e90
jmp 0x1000bbca
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000bb53
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x62c]
call fcn.10001950
mov esi, dword [ebp - 0x62c]
push esi
call fcn.10063440
test eax, eax
jne 0x1000bc00
mov dword [edi + 0x48], 0x80004005
call fcn.10054ac0
test eax, eax
je 0x1000bbfc
call fcn.10054ac0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000bbfc
call fcn.10054ac0
lea ecx, [ebp - 0x6c4]
mov ebx, eax
call fcn.10003290
mov edi, eax
push 0x100a3f38
push edi
mov byte [ebp - 4], 2
call fcn.10009210
test esi, esi
mov ecx, 0x100a3c54
cmovne ecx, esi
push ecx
push edi
call fcn.10009210
push 0x100a3f34
push edi
call fcn.10003e90
mov eax, dword [ebx]
add esp, 0x18
mov ecx, ebx
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0x6c4]
call fcn.10003f50
xor edi, edi
jmp 0x1000bc0c
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 0x1000bc2b
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.100612dc
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100015b0
int3