Function at 0x14003f250
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x408
mov qword [rsp + 0xe8], 0xfffffffffffffffe
mov rax, qword [0x14031f2d0]
xor rax, rsp
mov qword [rsp + 0x3f0], rax
lea rax, [rsp + 0x1a0]
lea rcx, [0x14027f3b8]
mov rdi, rax
mov rsi, rcx
mov ecx, InitCommonControls
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x54], 0xffffffff
lea rcx, [rsp + 0x1b0]
call fcn.1400051a0
nop
lea rcx, [rsp + 0x100]
call fcn.1400157a0
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x1b0]
call fcn.14000ee70
lea rcx, [rsp + 0x100]
call fcn.1400050f0
lea rcx, [rsp + 0x1b0]
call fcn.14000ab60
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x1e0]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x78]
movzx eax, word [rax]
mov word [rsp + 0x50], ax
mov rax, qword [rsp + 0x68]
movzx ecx, word [rsp + 0x50]
mov word [rax], cx
mov rax, qword [rsp + 0x78]
add rax, 2
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x68]
add rax, 2
mov qword [rsp + 0x68], rax
cmp word [rsp + 0x50], 0
jne 0x14003f31b
lea rax, [rsp + 0x1e0]
mov qword [rsp + 0x58], rax
sub qword [rsp + 0x58], 2
add qword [rsp + 0x58], 2
mov rax, qword [rsp + 0x58]
cmp word [rax], 0
jne 0x14003f36c
mov rax, qword [rsp + 0x58]
lea rcx, [0x1402ae8c0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x2c
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x1e0]
call fcn.1400168d0
call fcn.14000aa60
lea r8, [rsp + 0x1e0]
lea rdx, [0x1402ae8a8]
mov rcx, rax
call fcn.140009ef0
call fcn.14000a9d0
lea r8, [rsp + 0x1e0]
lea rdx, str.szBuf__s_
mov rcx, rax
call fcn.140009ef0
lea r8, [0x1402ae960]
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0x180]
call fcn.14000e130
nop
lea rcx, [rsp + 0x180]
call fcn.14000ab60
mov qword [rsp + 0xc8], rax
call fcn.14000aa60
mov rcx, qword [rsp + 0xc8]
mov r8, rcx
lea rdx, str.strPath__s_
mov rcx, rax
call fcn.140009ef0
lea rcx, [rsp + 0x180]
call fcn.14000ab60
mov qword [rsp + 0xd0], rax
call fcn.14000a9d0
mov rcx, qword [rsp + 0xd0]
mov r8, rcx
lea rdx, [0x1402ae930]
mov rcx, rax
call fcn.140009ef0
lea rcx, [rsp + 0x180]
call fcn.14000ab60
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.140037840
mov qword [rsp + 0xd8], rax
mov rcx, qword [rsp + 0xd8]
call fcn.140037900
mov qword [rsp + 0xf8], rax
lea rcx, [rsp + 0xe0]
call fcn.1400378e0
mov dx, 1
mov cx, 6
call fcn.14000d790
movzx eax, al
test eax, eax
je 0x14003f811
call fcn.14000aa60
lea rdx, [0x1402ae8f0]
mov rcx, rax
call fcn.140009ef0
call fcn.14000a9d0
lea rdx, [0x1402ae970]
mov rcx, rax
call fcn.140009ef0
mov dword [rsp + 0x168], 0xb6c292bc
mov eax, 0x7c88
mov word [rsp + 0x16c], ax
mov eax, 0x41ee
mov word [rsp + 0x16e], ax
mov byte [rsp + 0x170], 0x8b
mov byte [rsp + 0x171], Ordinal_85
mov byte [rsp + 0x172], 0x8e
mov byte [rsp + 0x173], Ordinal_203
mov byte [rsp + 0x174], 0x26
mov byte [rsp + Ordinal_265], 0x17
mov byte [rsp + 0x176], 0xe5
mov byte [rsp + 0x177], 0x99
mov dword [rsp + 0x158], 0x79c07cf1
mov eax, 0xcbdd
mov word [rsp + 0x15c], ax
mov eax, 0x41ee
mov word [rsp + 0x15e], ax
mov byte [rsp + 0x160], 0x8e
mov byte [rsp + 0x161], 0xc3
mov byte [rsp + 0x162], 0xf0
mov byte [rsp + 0x163], 0
mov byte [rsp + 0x164], 0x80
mov byte [rsp + 0x165], Ordinal_203
mov byte [rsp + 0x166], 0xda
mov byte [rsp + 0x167], 0x7a
mov qword [rsp + 0x140], 0
lea rax, [rsp + 0x140]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x158]
mov r8d, 4
xor edx, edx
lea rcx, [rsp + 0x168]
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp qword [rsp + 0x140], 0
je 0x14003f80c
lea r8, [0x1402ac2d4]
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0x120]
call fcn.14000e130
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x180]
call fcn.14000ee70
lea rcx, [rsp + 0x120]
call fcn.1400050f0
mov qword [rsp + 0x150], 0
lea rax, [rsp + 0x1e0]
mov qword [rsp + 0x60], rax
sub qword [rsp + 0x60], 2
add qword [rsp + 0x60], 2
mov rax, qword [rsp + 0x60]
cmp word [rax], 0
jne 0x14003f665
mov rax, qword [rsp + 0x60]
lea rcx, [0x1402ac2c4]
mov rdi, rax
mov rsi, rcx
mov ecx, 4
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x1e0]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x180]
call fcn.14000ab60
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x178], 1
lea rax, [rsp + 0x1d0]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x140]
mov rax, qword [rax]
lea rcx, [rsp + 0x150]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x1d0]
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x178]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x428]
xor r8d, r8d
mov edx, 4
mov rcx, qword [rsp + 0x140]
call qword [rax + 0x50]
mov dword [rsp + 0x54], eax
lea rdx, [0x1402ac004]
lea rcx, [rsp + 0x180]
call fcn.140005040
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x1d0], 0
je 0x14003f7b9
mov eax, 8
imul rax, rax, 0
mov rax, qword [rsp + rax + 0x1d0]
mov rdx, qword [rax]
lea rcx, [rsp + 0x180]
call fcn.140005040
mov eax, 8
imul rax, rax, 0
mov rax, qword [rsp + rax + 0x1d0]
mov rcx, qword [rax]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp qword [rsp + 0x150], 0
je 0x14003f7da
mov rax, qword [rsp + 0x150]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x150]
call qword [rax + InitCommonControls]
mov rax, qword [rsp + 0x140]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x140]
call qword [rax + InitCommonControls]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x14003f926
mov qword [rsp + 0x148], 0
lea rax, [rsp + 0x148]
mov qword [rsp + 0x20], rax
lea r9, [0x14027f398]
mov r8d, 4
xor edx, edx
lea rcx, [0x14027f3a8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp qword [rsp + 0x148], 0
je 0x14003f926
mov dword [rsp + 0x98], 1
lea rcx, [rsp + 0x180]
call fcn.14000ab60
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.140037840
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xa8]
call fcn.140037900
mov rcx, qword [rsp + 0x148]
mov rcx, qword [rcx]
mov qword [rsp + 0xb0], rcx
lea rdx, [rsp + 0x1a0]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
mov r9d, 4
mov r8d, 1
mov rdx, qword [rsp + 0x428]
mov rcx, qword [rsp + 0x148]
mov rax, qword [rsp + 0xb0]
call qword [rax + gethostname]
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0xb8]
call fcn.1400378e0
mov rax, qword [rsp + 0x148]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x148]
call qword [rax + InitCommonControls]
lea rcx, [rsp + 0x180]
call fcn.14000ab60
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14003f955
lea rcx, [rsp + 0x180]
call fcn.14000ab60
mov rcx, rax
call fcn.14000e2c0
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x70], eax
lea rcx, [rsp + 0x180]
call fcn.1400050f0
nop
lea rcx, [rsp + 0x1b0]
call fcn.1400050f0
mov eax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x3f0]
xor rcx, rsp
call fcn.14013a450
add rsp, 0x408
pop rdi
pop rsi
ret