Function at 0x10014540
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a6417
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x100d5688]
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.100079d0
mov ecx, eax
test ecx, ecx
je 0x10014833
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.1007f220
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x100d8aa0]
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 0x100145e3
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x478]
call fcn.10007bf0
mov eax, dword [edi + 0x60]
or ebx, 0xffffffff
cmp dword [eax - 0xc], 0
jne 0x10014650
lea eax, [ebp - 0x47c]
push 1
push eax
call fcn.100595a0
add esp, 8
push eax
lea ecx, [edi + 0x60]
mov byte [ebp - 4], 1
call fcn.10007e40
mov edx, dword [ebp - 0x47c]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10014650
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [edi + 0x64]
call fcn.1002a9b0
push 0x1f4
lea ecx, [edi + 0x88]
call fcn.1003f6a0
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.10017260
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.1003f370
mov ecx, dword [ebp - 0x424]
test ecx, ecx
je 0x100146dd
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 0x100146ff
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 0x1001476d
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1007f220
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 0x1001476d
lea eax, [ebp - 0x420]
push eax
call fcn.10044de0
add esp, 4
test eax, eax
je 0x1001476d
lea eax, [ebp - 0x420]
push eax
call fcn.100674c0
mov dword [edi + 0xc8], eax
mov byte [ebp - 0x471], 0
lea eax, [ebp - 0x484]
mov byte [ebp - 4], 4
push eax
call fcn.10040575
lea eax, [ebp - 0x484]
mov dword [ebp - 0x48c], eax
lea eax, [ebp - 0x471]
mov dword [ebp - 0x488], eax
lea eax, [ebp - 0x48c]
push eax
push 0x1000de80
push 0x100d8a98
call fcn.1004081a
add esp, 0x10
test eax, eax
je 0x10014813
lea eax, [ebp - 0x484]
mov byte [ebp - 4], 6
push eax
call fcn.100405af
mov ecx, dword [0x100d8a94]
add esp, 4
mov byte [ebp - 4], 0
call fcn.1002e200
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x100147f7
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.1005f06c
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x484]
mov byte [ebp - 4], 7
push eax
call fcn.100405d0
add esp, 4
mov byte [ebp - 4], 5
test al, al
jne 0x1001483d
call fcn.10040832
push 0x80004005
call fcn.10007660
sub esp, 8
lea eax, [ebp - 0x484]
mov ecx, esp
push eax
call fcn.100082e0
call fcn.100092b0
int3