Function at 0x100168f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008be65
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x100b400c]
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 esi, ecx
mov dword [ebp - 0x6c], esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0
push 0x100b52c0
mov dword [ebp - 4], 0
mov eax, dword [esi]
push 0x100b52a8
push 0
call dword [eax + 8]
push eax
call sub.VCRUNTIME140.dll___RTDynamicCast
add esp, 0x14
lea ecx, [ebp - 0x1c]
push dword [esi + 0x1b8]
push ecx
push edi
mov ecx, eax
call fcn.1006e310
mov esi, dword [ebp - 0x1c]
cmp esi, dword [ebp - 0x18]
je 0x10016ad6
mov eax, dword [edi]
mov ecx, edi
mov ebx, dword [esi]
call dword [eax + 0x108]
test eax, eax
jne 0x100169ad
cmp dword [ebx + 0x38], 8
lea eax, [ebx + 0x24]
jb 0x1001699e
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10016a97
cmp dword [ebx], 1
lea edi, [ebx + 0xc]
jne 0x10016a16
cmp dword [edi + 0x14], 8
jb 0x100169bd
mov edi, dword [edi]
mov ebx, dword [ebp - 0x6c]
push 0
push 0
mov ecx, dword [ebx + 0x3fc]
push dword [ebx + 8]
push edi
mov eax, dword [ecx]
mov edi, dword [ebp - 0x68]
push edi
call dword [eax + 0x1c]
mov ecx, dword [ebx + 0x3fc]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
test al, al
je 0x10016ab4
mov ecx, dword [ebx + 0x3fc]
mov eax, dword [ecx]
call dword [eax + 0x14]
test eax, eax
jne 0x10016a0b
mov ecx, dword [ebx + 0x3fc]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov dword [ebp - 0x64], eax
jmp 0x10016a89
cmp eax, 2
je 0x10016ad6
jmp 0x10016a89
push 0x44
lea eax, [ebp - 0x60]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
mov dword [ebp - 0x5c], 0
add esp, 0xc
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0x64
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x60], vtable.CCmd.0
mov byte [ebp - 4], 1
cmp dword [edi + 0x14], 8
jb 0x10016a63
mov edi, dword [edi]
push 0
push edi
lea ecx, [ebp - 0x60]
call fcn.10005440
test eax, eax
je 0x10016acf
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x10016a82
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [ebp - 0x68]
mov byte [ebp - 4], 0
add esi, 4
cmp esi, dword [ebp - 0x18]
jne 0x10016983
jmp 0x10016ad6
mov esi, dword [ebp - 0x6c]
push edi
push 0xfffffffffffffffe
push 0x7ea
push dword [esi + 8]
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 0x64], 0xffffffff
jmp 0x10016add
push edi
push dword [ebp - 0x64]
push 0x7ea
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 0x64], 0xfffffffe
jmp 0x10016add
mov edi, dword [ebp - 0x68]
mov byte [ebp - 4], 0
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x58]
lea ecx, [ebp - 0x1c]
call fcn.10006030
mov eax, dword [ebp - 0x64]
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.1007fac0
mov esp, ebp
pop ebp
ret 4