Function at 0x10016199
Capabilities:
Check if file exists

Disassembly:
push 0x3c
mov eax, 0x100367f1
call fcn.1003265b
mov esi, ecx
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebx], 0x10007550
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
mov edi, 0x10004d70
mov dword [ebx + 0x10], esi
call fcn.1001e8e8
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 2
call fcn.10011e75
mov edi, eax
mov byte [ebp - 4], 3
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x10016203
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
jmp 0x10016263
mov eax, dword [edi]
sub eax, 0x10
call fcn.100283fd
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 4
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
call fcn.10011003
push dword [ebp - 0x18]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call edi
push dword [ebp - 0x18]
call edi
test eax, eax
je 0x10016252
lea eax, [ebp - 0x18]
lea edi, [ebp - 0x14]
call fcn.1001ea8d
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10028460
jmp 0x1001626b
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10028460
xor al, al
test al, al
je 0x1001635b
push dword [ebp - 0x14]
push 0x100047cc
push 4
call fcn.1000b93e
mov eax, dword [ebp - 0x20]
add esp, 0xc
add eax, 0xfffffff0
call fcn.10028460
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.10028460
xor edi, edi
push edi
mov dword [ebp - 0x48], esi
call dword [sym.imp.ole32.dll_CoInitialize]
push esi
push dword [ebp + 0xc]
mov dword [ebp - 0x40], edi
push ecx
mov eax, esp
lea esi, [ebp - 0x3c]
mov dword [ebp + 0xc], esp
mov dword [eax], edi
call fcn.10011003
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov dword [ebp + 0xc], esp
mov esi, esp
call fcn.100283fd
add eax, 0x10
lea ecx, [ebp - 0x48]
mov dword [esi], eax
call fcn.1000dbff
lea eax, [ebp + 0xc]
push eax
mov edi, 0x10004d88
call fcn.1001e8e8
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 8
call fcn.10011003
push ebx
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.100164c2
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x10016317
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.10028460
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x10016333
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x10016340
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10028460
mov eax, ebx
call fcn.10032709
ret 8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1000c9bb
mov edi, 0x10006e38
mov dword [ebp - 0x1c], edi
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.1000cb96
mov byte [ebp - 4], 6
mov eax, dword [eax]
mov edx, dword [esi]
push eax
push 0
mov ecx, esi
call dword [edx + 4]
mov byte [ebp - 4], 5
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.10028460
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000d1b4
push 0x10038364
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], edi
call fcn.10011003
int3