Function at 0x1000af50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005dcee
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
mov eax, dword [0x100816f8]
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
call fcn.10003510
mov ecx, eax
test ecx, ecx
je 0x1000b21e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x478], eax
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.10037240
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x100834fc]
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
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000aff3
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x478]
call fcn.10003730
mov eax, dword [edi + 0x60]
or ebx, 0xffffffff
cmp dword [eax - 0xc], 0
jne 0x1000b060
lea eax, [ebp - 0x474]
push 1
push eax
call fcn.10028f50
add esp, 8
push eax
lea ecx, [edi + 0x60]
mov byte [ebp - 4], 1
call fcn.10003980
mov edx, dword [ebp - 0x474]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000b060
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [edi + 0x64]
call fcn.1001a6d0
push 0x1f4
lea ecx, [edi + 0x88]
call fcn.10025690
mov dword [ebp - 0x44c], 0
lea eax, [ebp - 0x448]
mov dword [ebp - method.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8CConfigMgr__AEXXZPAV3__std__X__V_std__.virtual_0], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8CConfigMgr__AEXXZPAV3__std__X__V_std__.0
mov dword [ebp - 0x444], 0x1000d7f0
mov dword [ebp - 0x440], edi
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x470]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x448]
push eax
lea ecx, [edi + 0x88]
call fcn.100255d0
mov ecx, dword [ebp - 0x424]
test ecx, ecx
je 0x1000b0ed
mov edx, dword [ecx]
lea eax, [ebp - 0x448]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x424], 0
mov ecx, dword [ebp - 0x44c]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x1000b10f
mov edx, dword [ecx]
lea eax, [ebp - 0x470]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
cmp dword [edi + 0xc8], 0
mov esi, dword [ebp - 0x478]
jne 0x1000b17d
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10037240
add esp, 0xc
lea eax, [ebp - 0x420]
push str.Utils7z.dll
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000b17d
lea eax, [ebp - 0x420]
push eax
call fcn.100262e0
add esp, 4
test eax, eax
je 0x1000b17d
lea eax, [ebp - 0x420]
push eax
call fcn.10034de0
mov dword [edi + 0xc8], eax
mov ecx, dword [0x100834f8]
test ecx, ecx
jne 0x1000b1e1
push 0x1008008c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x100834f8], 0
jne 0x1000b1d0
push 4
call fcn.1002bae2
add esp, 4
mov dword [ebp - 0x474], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x1000b1be
mov ecx, eax
call fcn.1001a2e0
mov ecx, eax
jmp 0x1000b1c0
xor ecx, ecx
mov byte [ebp - 4], 0
xchg dword [ebp - 0x474], eax
mov dword [0x100834f8], ecx
push 0x1008008c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x100834f8]
call fcn.1001d440
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1000b202
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
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.1002be91
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100031a0
int3