Function at 0x1000bef0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10110111
mov eax, dword fs:[0]
push eax
sub esp, 0x6b8
mov eax, dword [0x1015e404]
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 0x1000bf37
xor eax, eax
test ecx, ecx
sete al
jmp 0x1000c17d
call fcn.10002000
mov ecx, eax
test ecx, ecx
je 0x1000c199
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.100dd9d0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x10161c00]
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.100dd9d0
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 0x1000c09a
push 0x208
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.100dd9d0
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 0x1000c020
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x62c]
call fcn.10001c80
mov esi, dword [ebp - 0x62c]
push esi
call ebx
test eax, eax
jne 0x1000c0cb
call fcn.1005b270
test eax, eax
je 0x1000c14c
call fcn.1005b270
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000c14c
call fcn.1005b270
lea ecx, [ebp - 0x6c4]
mov ebx, eax
call fcn.10003680
mov edi, eax
push str.error_find_7z_
push edi
mov byte [ebp - 4], 1
call fcn.10004280
jmp 0x1000c11a
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000c0a3
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x62c]
call fcn.10001c80
mov esi, dword [ebp - 0x62c]
push esi
call fcn.10069ce0
test eax, eax
jne 0x1000c150
mov dword [edi + 0x48], 0x80004005
call fcn.1005b270
test eax, eax
je 0x1000c14c
call fcn.1005b270
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000c14c
call fcn.1005b270
lea ecx, [ebp - 0x6c4]
mov ebx, eax
call fcn.10003680
mov edi, eax
push 0x1011b2e4
push edi
mov byte [ebp - 4], 2
call fcn.100096e0
test esi, esi
mov ecx, 0x1011b000
cmovne ecx, esi
push ecx
push edi
call fcn.100096e0
push 0x1011b2e0
push edi
call fcn.10004280
mov eax, dword [ebx]
add esp, 0x18
mov ecx, ebx
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0x6c4]
call fcn.10004340
xor edi, edi
jmp 0x1000c15c
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 0x1000c17b
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.10067a9c
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100017c0
int3