Function at 0x10012ab0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10086e1e
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
mov eax, dword [0x100bb758]
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.10006430
mov ecx, eax
test ecx, ecx
je 0x10012ddf
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.100609f0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x100bd974]
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 0x10012b53
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x478]
call fcn.10006650
mov eax, dword [edi + 0x60]
or ebx, 0xffffffff
cmp dword [eax - 0xc], 0
jne 0x10012bc0
lea eax, [ebp - 0x474]
push 1
push eax
call fcn.10050740
add esp, 8
push eax
lea ecx, [edi + 0x60]
mov byte [ebp - 4], 1
call fcn.100068a0
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 0x10012bc0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [edi + 0x64]
call fcn.100282d0
push 0x1f4
lea ecx, [edi + 0x88]
call fcn.1003d870
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], fcn.100157f0
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.1003d540
mov ecx, dword [ebp - 0x424]
test ecx, ecx
je 0x10012c4d
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 0x10012c6f
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 0x10012cdd
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.100609f0
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 0x10012cdd
lea eax, [ebp - 0x420]
push eax
call fcn.100400f0
add esp, 4
test eax, eax
je 0x10012cdd
lea eax, [ebp - 0x420]
push eax
call fcn.1005e590
mov dword [edi + 0xc8], eax
mov ecx, dword [0x100bd970]
test ecx, ecx
jne 0x10012d44
push 0x100b10c4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x100bd970], 0
jne 0x10012d2b
push 0x1c
call fcn.10055e2d
mov edi, eax
add esp, 4
mov dword [ebp - 0x474], edi
test edi, edi
je 0x10012d23
lea ecx, [edi + 4]
mov dword [edi], vtable._BaseModule::CCriticalSection.0
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x10012d25
xor edi, edi
mov dword [0x100bd970], edi
push 0x100b10c4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x100bd970]
test ecx, ecx
jne 0x10012d44
xor eax, eax
jmp 0x10012da0
mov eax, dword [0x100bd96c]
test eax, eax
jne 0x10012da0
mov eax, dword [ecx]
push ecx
call dword [eax]
cmp dword [0x100bd96c], 0
jne 0x10012d90
push 4
call fcn.10055e2d
add esp, 4
mov dword [ebp - 0x474], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x10012d7e
mov ecx, eax
call fcn.10027cf0
mov ecx, eax
jmp 0x10012d80
xor ecx, ecx
mov byte [ebp - 4], 0
xchg dword [ebp - 0x474], eax
mov dword [0x100bd96c], ecx
mov eax, dword [0x100bd970]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [0x100bd96c]
mov ecx, eax
call fcn.1002bb40
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10012dc3
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.100561dc
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100060c0
int3