Function at 0x1006fc70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009e686
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
mov eax, dword [0x100e6018]
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 eax, dword [ebp + 0x24]
mov edi, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x28]
mov dword [ebp - 0x430], eax
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_CoInitialize]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1006fcd9
xor bl, bl
jmp 0x1006fd96
mov dword [ebp - 0x424], 0
lea eax, [ebp - 0x424]
push eax
push 0x100b535c
push 0x17
push 0
push 0x100a1a98
mov byte [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
mov eax, dword [ebp - 0x424]
jns 0x1006fd10
xor bl, bl
jmp 0x1006fd88
xor ecx, ecx
mov dword [ebp - 0x428], ecx
test eax, eax
je 0x1006fd46
mov ecx, dword [eax]
lea edx, [ebp - 0x428]
push edx
push 0x100b534c
push eax
call dword [ecx]
mov ecx, dword [ebp - 0x428]
xor edx, edx
test eax, eax
mov eax, dword [ebp - 0x424]
cmovs ecx, edx
mov dword [ebp - 0x428], ecx
mov byte [ebp - 4], 2
test ecx, ecx
je 0x1006fd72
cmp dword [ebp + 0x1c], 8
mov eax, dword [ecx]
lea edx, [ebp + 8]
cmovae edx, dword [ebp + 8]
push 0
push edx
push ecx
call dword [eax + 0x14]
test eax, eax
jns 0x1006fdc6
mov eax, dword [ebp - 0x424]
mov ecx, dword [ebp - 0x428]
xor bl, bl
mov byte [ebp - 4], 1
test ecx, ecx
je 0x1006fd88
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x424]
mov byte [ebp - 4], 0
test eax, eax
je 0x1006fd96
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp + 0x1c], 8
jb 0x1006fda8
push dword [ebp + 8]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
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.100947be
mov esp, ebp
pop ebp
ret
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call sub.MSVCR110.dll_memset
mov eax, dword [ebp - 0x424]
add esp, 0xc
mov ecx, dword [eax]
push 0x104
lea edx, [ebp - 0x420]
push edx
push eax
call dword [ecx + 0x28]
mov esi, eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
mov eax, dword [ebp - 0x424]
add esp, 0xc
mov ecx, dword [eax]
push 0
push 0
push 0x104
lea edx, [ebp - 0x218]
push edx
push eax
call dword [ecx + 0xc]
test esi, esi
jne 0x1006ff80
test eax, eax
jne 0x1006ff80
lea eax, [ebp - 0x218]
push eax
mov ecx, edi
call fcn.100085e0
push esi
push 0x100b5314
mov ecx, edi
call fcn.100086f0
cmp eax, 0xffffffff
je 0x1006fee7
push esi
push 0x100b2b04
mov ecx, edi
call fcn.100086f0
cmp eax, 0xffffffff
jne 0x1006fee7
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x478]
call fcn.10008550
push eax
mov edx, 0x100b2b04
lea ecx, [ebp - 0x460]
mov byte [ebp - 4], 3
call fcn.10011df0
push 0x100b2b04
mov edx, eax
lea ecx, [ebp - 0x448]
mov byte [ebp - 4], 4
call fcn.10011da0
add esp, 8
mov ecx, edi
push eax
call fcn.1000d090
lea ecx, [ebp - 0x448]
call sym.iImportLib.dll_public:_void___thiscall_elex::strings::CAnalyzeCmdline::destructor_void_
lea ecx, [ebp - 0x460]
call sym.iImportLib.dll_public:_void___thiscall_elex::strings::CAnalyzeCmdline::destructor_void_
lea ecx, [ebp - 0x478]
mov byte [ebp - 4], 2
call sym.iImportLib.dll_public:_void___thiscall_elex::strings::CAnalyzeCmdline::destructor_void_
cmp word [ebp - 0x420], 0x20
lea ecx, [ebp - 0x420]
jne 0x1006ff00
add ecx, 2
cmp word [ecx], 0x20
je 0x1006fef7
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006ff03
sub ecx, edx
sar ecx, 1
je 0x1006ff80
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x448]
call fcn.10008550
mov esi, eax
push 0x100b5314
mov edx, edi
lea ecx, [ebp - 0x460]
mov byte [ebp - 4], 5
call fcn.10011cb0
push esi
mov edx, eax
lea ecx, [ebp - 0x478]
mov byte [ebp - 4], 6
call fcn.10011e40
add esp, 8
mov ecx, edi
push eax
call fcn.1000d090
lea ecx, [ebp - 0x478]
call sym.iImportLib.dll_public:_void___thiscall_elex::strings::CAnalyzeCmdline::destructor_void_
lea ecx, [ebp - 0x460]
call sym.iImportLib.dll_public:_void___thiscall_elex::strings::CAnalyzeCmdline::destructor_void_
lea ecx, [ebp - 0x448]
mov byte [ebp - 4], 2
call sym.iImportLib.dll_public:_void___thiscall_elex::strings::CAnalyzeCmdline::destructor_void_
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
mov eax, dword [ebp - 0x424]
add esp, 0xc
mov ecx, dword [eax]
push 0x104
lea edx, [ebp - 0x218]
push edx
push eax
call dword [ecx + 0x20]
test eax, eax
jne 0x10070063
lea eax, [ebp - 0x218]
push eax
mov ecx, ebx
call fcn.100085e0
push 0
push 0x100b5314
mov ecx, ebx
call fcn.100086f0
cmp eax, 0xffffffff
je 0x10070063
push 0
push 0x100b2b04
mov ecx, ebx
call fcn.100086f0
cmp eax, 0xffffffff
jne 0x10070063
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x448]
call fcn.10008550
push eax
mov edx, 0x100b2b04
lea ecx, [ebp - 0x460]
mov byte [ebp - 4], 7
call fcn.10011df0
push 0x100b2b04
mov edx, eax
lea ecx, [ebp - 0x478]
mov byte [ebp - 4], 8
call fcn.10011da0
add esp, 8
mov ecx, ebx
push eax
call fcn.1000d090
lea ecx, [ebp - 0x478]
call sym.iImportLib.dll_public:_void___thiscall_elex::strings::CAnalyzeCmdline::destructor_void_
lea ecx, [ebp - 0x460]
call sym.iImportLib.dll_public:_void___thiscall_elex::strings::CAnalyzeCmdline::destructor_void_
lea ecx, [ebp - 0x448]
mov byte [ebp - 4], 2
call sym.iImportLib.dll_public:_void___thiscall_elex::strings::CAnalyzeCmdline::destructor_void_
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x42c], 0
call sub.MSVCR110.dll_memset
mov eax, dword [ebp - 0x424]
add esp, 0xc
mov ecx, dword [eax]
lea edx, [ebp - 0x42c]
push edx
push 0x104
lea edx, [ebp - 0x218]
push edx
push eax
call dword [ecx + 0x40]
test eax, eax
jne 0x10070159
mov ebx, dword [ebp - 0x430]
lea eax, [ebp - 0x218]
push eax
mov ecx, ebx
call fcn.100085e0
push 0
push 0x100b5314
mov ecx, ebx
call fcn.100086f0
cmp eax, 0xffffffff
je 0x10070159
push 0
push 0x100b2b04
mov ecx, ebx
call fcn.100086f0
cmp eax, 0xffffffff
jne 0x10070159
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x448]
call fcn.10008550
push eax
mov edx, 0x100b2b04
lea ecx, [ebp - 0x460]
mov byte [ebp - 4], 9
call fcn.10011df0
push 0x100b2b04
mov edx, eax
lea ecx, [ebp - 0x478]
mov byte [ebp - 4], 0xa
call fcn.10011da0
add esp, 8
mov ecx, ebx
push eax
call fcn.1000d090
lea ecx, [ebp - 0x478]
call sym.iImportLib.dll_public:_void___thiscall_elex::strings::CAnalyzeCmdline::destructor_void_
lea ecx, [ebp - 0x460]
call sym.iImportLib.dll_public:_void___thiscall_elex::strings::CAnalyzeCmdline::destructor_void_
lea ecx, [ebp - 0x448]
call sym.iImportLib.dll_public:_void___thiscall_elex::strings::CAnalyzeCmdline::destructor_void_
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x424]
mov ecx, dword [ebp - 0x428]
mov bl, 1
jmp 0x1006fd74