Function at 0x100704b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009e6fa
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 ebx, dword [ebp + 0x20]
mov dword [ebp - 0x42c], 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 0x10070516
xor bl, bl
jmp 0x100705d3
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 0x1007054d
xor bl, bl
jmp 0x100705c5
xor ecx, ecx
mov dword [ebp - 0x428], ecx
test eax, eax
je 0x10070583
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 0x100705af
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 0x10070603
mov eax, dword [ebp - 0x424]
mov ecx, dword [ebp - 0x428]
xor bl, bl
mov byte [ebp - 4], 1
test ecx, ecx
je 0x100705c5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x424]
mov byte [ebp - 4], 0
test eax, eax
je 0x100705d3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp + 0x1c], 8
jb 0x100705e5
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 - 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 + 0x28]
mov esi, eax
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 0
push 0
push 0x104
lea edx, [ebp - 0x420]
push edx
push eax
call dword [ecx + 0xc]
test esi, esi
jne 0x100707cb
test eax, eax
jne 0x100707cb
lea eax, [ebp - 0x420]
push eax
mov ecx, ebx
call fcn.100085e0
push esi
push 0x100b5314
mov ecx, ebx
call fcn.100086f0
cmp eax, 0xffffffff
je 0x10070724
push esi
push 0x100b2b04
mov ecx, ebx
call fcn.100086f0
cmp eax, 0xffffffff
jne 0x10070724
lea eax, [ebp - 0x420]
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, ebx
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 - 0x218], 0x20
lea edi, [ebp - 0x218]
jne 0x1007073d
add edi, 2
cmp word [edi], 0x20
je 0x10070734
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10070742
sub ecx, edx
sar ecx, 1
je 0x100707bf
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x448]
call fcn.10008550
mov esi, eax
push 0x100b5314
mov edx, ebx
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, 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_
mov ecx, dword [ebp - 0x42c]
push edi
call fcn.100085e0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x424]
mov ecx, dword [ebp - 0x428]
mov bl, 1
jmp 0x100705b1