Function at 0x1000fbd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a7d81
mov eax, dword fs:[0]
push eax
sub esp, 0x6b8
mov eax, dword [0x100db774]
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 0x1000fc17
xor eax, eax
test ecx, ecx
sete al
jmp 0x1000fe5d
call fcn.10002dd0
mov ecx, eax
test ecx, ecx
je 0x1000fe79
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.10075330
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x100dd9c0]
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.10075330
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 0x1000fd7a
push 0x208
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.10075330
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 0x1000fd00
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x62c]
call fcn.10002a80
mov esi, dword [ebp - 0x62c]
push esi
call ebx
test eax, eax
jne 0x1000fdab
call fcn.1005c2e0
test eax, eax
je 0x1000fe2c
call fcn.1005c2e0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000fe2c
call fcn.1005c2e0
lea ecx, [ebp - 0x6c4]
mov ebx, eax
call fcn.100068b0
mov edi, eax
push str.error_find_7z_
push edi
mov byte [ebp - 4], 1
call fcn.10007500
jmp 0x1000fdfa
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000fd83
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x62c]
call fcn.10002a80
mov esi, dword [ebp - 0x62c]
push esi
call fcn.1006c200
test eax, eax
jne 0x1000fe30
mov dword [edi + 0x48], 0x80004005
call fcn.1005c2e0
test eax, eax
je 0x1000fe2c
call fcn.1005c2e0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000fe2c
call fcn.1005c2e0
lea ecx, [ebp - 0x6c4]
mov ebx, eax
call fcn.100068b0
mov edi, eax
push 0x100af140
push edi
mov byte [ebp - 4], 2
call fcn.1000d460
test esi, esi
mov ecx, 0x100aee58
cmovne ecx, esi
push ecx
push edi
call fcn.1000d460
push 0x100af13c
push edi
call fcn.10007500
mov eax, dword [ebx]
add esp, 0x18
mov ecx, ebx
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0x6c4]
call fcn.100075c0
xor edi, edi
jmp 0x1000fe3c
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 0x1000fe5b
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.100693bc
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10001a70
int3