Function at 0x14002e4b0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x1c0
mov rax, qword [0x140065c18]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov qword [rsp + 0xe8], rdx
mov byte [rsp + 0x30], r8b
xor esi, esi
mov dword [rsp + 0x3c], esi
mov qword [rsp + 0x78], rsi
lea r8, [0x140056298]
lea rdx, [0x140056288]
lea rcx, [rsp + 0x78]
call fcn.140033be0
mov ebx, eax
test eax, eax
js 0x14002ecde
mov byte [rsp + 0x39], sil
mov dword [rsp + 0x80], esi
mov qword [rsp + 0xa0], rsi
call fcn.140027ad8
mov rdx, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x40]
mov rcx, rdx
call qword [case.0x140026b7f.0]
lea r9, [rsp + 0xa0]
mov r8, qword [rax]
call fcn.140039630
mov ebx, eax
test eax, eax
js 0x14002ed15
lea r14, [0x140063230]
mov rcx, qword [0x140063230]
cmp rcx, r14
je 0x14002e589
test byte [rcx + 0x1c], 4
je 0x14002e589
mov edx, 0x5a
lea r8, [0x1400562a8]
mov rcx, qword [rcx + 0x10]
call fcn.1400257dc
mov dword [rsp + 0x60], esi
mov r15d, dword [rsp + 0x60]
cmp r15, qword [rsp + 0x1f0]
jae 0x14002ec7f
mov rax, qword [rsp + 0xe8]
mov r15, qword [rax + r15*8]
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x58], rsi
lea rcx, [0x140056280]
call fcn.14002bf74
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14002ed4e
lea rcx, [0x140056280]
call fcn.14002bf74
mov qword [rsp + 0x88], rax
test rax, rax
je 0x14002ed59
mov byte [rsp + 0x38], 1
cmp byte [rsp + 0x30], sil
je 0x14002e60a
mov rcx, r15
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathFileExistsW]
test eax, eax
je 0x14002ed64
mov qword [rsp + 0x20], rsi
lea r9, str.http:__forefront.microsoft.com_FEP_2010_01_PolicyData
mov r8b, byte [rsp + 0x30]
mov rdx, r15
lea rcx, [rsp + 0xa0]
call fcn.140032718
test eax, eax
jns 0x14002e64e
cmp eax, 0x80041005
je 0x14002edd6
lea ecx, [rax + 0x7ffbeffa]
cmp ecx, 1
jbe 0x14002edcf
jmp 0x14002edc8
mov rcx, qword [0x140063230]
cmp rcx, r14
je 0x14002e685
test byte [rcx + 0x1c], 4
je 0x14002e685
lea r9, str.command_line_argument
cmp byte [rsp + 0x30], sil
cmovne r9, r15
mov edx, 0x5d
lea r8, [0x1400562a8]
mov rcx, qword [rcx + 0x10]
call fcn.1400257fc
or eax, 0xffffffff
mov word [rsp + 0x48], ax
cmp byte [rsp + 0x30], 1
jne 0x14002e743
mov word [rsp + 0xd0], si
lea rcx, [rsp + 0xd0]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, 8
mov word [rsp + 0xd0], ax
mov rcx, r15
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0xd8], rax
test rax, rax
jne 0x14002e6da
test r15, r15
jne 0x14002ee56
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
movups xmm0, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0x120], xmm0
movsd xmm1, qword [rsp + 0xe0]
movsd qword [rsp + 0x130], xmm1
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x120]
mov rax, qword [rax + 0x1d0]
call qword [case.0x140026b7f.0]
mov ebx, eax
test eax, eax
js 0x14002ee79
lea rcx, [rsp + 0xd0]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp si, word [rsp + 0x48]
je 0x14002eeaf
jmp 0x14002e7a4
mov rdi, qword [rsp + 0x78]
mov rax, qword [rdi]
mov r12, qword [rax + 0x208]
test r15, r15
jne 0x14002e788
mov rbx, rsi
mov qword [rsp + 0x40], rbx
lea r8, [rsp + 0x48]
mov rdx, rbx
mov rcx, rdi
mov rax, r12
call qword [case.0x140026b7f.0]
mov edi, eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
js 0x14002eee0
jmp 0x14002e736
mov rcx, r15
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14002ef11
jmp 0x14002e75f
mov rcx, qword [0x140063230]
cmp rcx, r14
je 0x14002e7db
test byte [rcx + 0x1c], 4
je 0x14002e7db
lea r9, str.command_line_argument
cmp byte [rsp + 0x30], sil
cmovne r9, r15
mov edx, 0x61
lea r8, [0x1400562a8]
mov rcx, qword [rcx + 0x10]
call fcn.1400257fc
mov qword [rsp + 0x98], rsi
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
lea rdx, [rsp + 0x98]
mov rax, qword [rax + 0x168]
call qword [case.0x140026b7f.0]
mov edi, eax
test eax, eax
js 0x14002ef1c
mov rbx, qword [rsp + 0x98]
test rbx, rbx
je 0x14002e828
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x140026b7f.0]
nop
mov qword [rsp + 0x40], rbx
xor r9d, r9d
lea r8, [rsp + 0x58]
lea rdx, str.Name
lea rcx, [rsp + 0x40]
call fcn.14002c170
nop
test rbx, rbx
je 0x14002e85d
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [case.0x140026b7f.0]
nop
mov r9, qword [rsp + 0x58]
test r9, r9
jne 0x14002e894
mov rcx, qword [0x140063230]
cmp rcx, r14
je 0x14002e88d
test byte [rcx + 0x1c], 4
je 0x14002e88d
lea edx, [r9 + 0x64]
lea r8, [0x1400562a8]
mov rcx, qword [rcx + 0x10]
call fcn.1400257dc
mov byte [rsp + 0x38], sil
jmp 0x14002e8c0
mov rcx, qword [0x140063230]
cmp rcx, r14
je 0x14002e8bb
test byte [rcx + 0x1c], 4
je 0x14002e8bb
mov edx, 0x63
lea r8, [0x1400562a8]
mov rcx, qword [rcx + 0x10]
call fcn.1400257fc
mov byte [rsp + 0x38], 1
lea rcx, [rsp + 0x78]
call fcn.14002cf04
nop
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x14002e8e6
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140026b7f.0]
nop
jmp 0x14002e8fa
test edi, edi
jns 0x14002eb78
mov rcx, qword [0x140063230]
cmp rcx, r14
je 0x14002ea68
test byte [rcx + 0x1c], 1
je 0x14002ea68
lea r12, str.command_line_argument
cmp byte [rsp + 0x30], sil
cmovne r12, r15
cmp qword [rsp + 0x58], rsi
jne 0x14002e957
lea r9, [0x1400554ec]
jmp 0x14002ea49
lea rcx, [0x140056268]
call fcn.14002bf74
mov qword [rsp + 0xc8], rax
test rax, rax
je 0x14002ef59
or dword [rsp + 0x3c], 1
lea rcx, [0x140056264]
call fcn.14002bf74
mov qword [rsp + 0x68], rax
test rax, rax
je 0x14002ef4e
or dword [rsp + 0x3c], 2
mov rbx, qword [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x14002e9e9
mov qword [rsp + 0xb8], rsi
lea r8, [rsp + 0xb8]
mov rdx, rbx
mov rbx, qword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_VarBstrCmp]
test eax, eax
js 0x14002ef64
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x68], rax
mov rbx, qword [rsp + 0xc8]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x14002ea3d
mov qword [rsp + 0xc0], rsi
lea r8, [rsp + 0xc0]
mov rdx, rbx
mov rbx, qword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_VarBstrCmp]
test eax, eax
js 0x14002ef6c
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x68], rax
mov r9, qword [rsp + 0x68]
mov rcx, qword [0x140063230]
mov edx, 0x67
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r12
lea r8, [0x1400562a8]
mov rcx, qword [rcx + 0x10]
call fcn.14002fef8
nop
mov eax, dword [rsp + 0x3c]
test al, 2
je 0x14002ea81
and dword [rsp + 0x3c], 0xfffffffd
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov eax, dword [rsp + 0x3c]
test al, 1
je 0x14002ea9c
and dword [rsp + 0x3c], 0xfffffffe
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jne 0x14002eb6c
mov rcx, qword [0x140063230]
cmp rcx, r14
je 0x14002ead4
test byte [rcx + 0x1c], 4
je 0x14002ead4
lea edx, [rax + 0x68]
lea r8, [0x1400562a8]
mov rcx, qword [rcx + 0x10]
call fcn.1400257dc
mov qword [rsp + 0x90], rsi
lea rdx, [rsp + 0x90]
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SetErrorInfo]
test eax, eax
jns 0x14002eb1a
mov rcx, qword [0x140063230]
cmp rcx, r14
je 0x14002eb1a
test byte [rcx + 0x1c], 1
je 0x14002eb1a
mov edx, 0x69
mov r9d, eax
lea r8, [0x1400562a8]
mov rcx, qword [rcx + 0x10]
call fcn.140025858
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x14002eb59
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsp + 0x50], rsi
mov rcx, qword [rsp + 0x90]
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
mov rax, qword [rax + 0x28]
call qword [case.0x140026b7f.0]
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x14002eb6c
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140026b7f.0]
nop
mov byte [rsp + 0x39], 1
mov dword [rsp + 0x80], edi
cmp qword [rsp + 0x58], rsi
jne 0x14002eba3
test r15, r15
je 0x14002eba3
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, r15
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14002ef59
cmp byte [rsp + 0x38], 1
jne 0x14002ebbb
mov r8, qword [rsp + 0x50]
mov edx, edi
mov rcx, qword [rsp + 0x58]
call fcn.14002f528
cmp dword [0x140067294], 0x9ffff
ja 0x14002ebd8
mov r8, qword [rsp + 0x50]
mov edx, edi
mov rcx, qword [rsp + 0x58]
call fcn.14002bffc
mov r8, qword [rsp + 0x88]
mov edx, edi
mov rcx, qword [rsp + 0x58]
call fcn.14002f374
nop
jmp 0x14002ec50
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
inc dword [rsp + 0x60]
jmp 0x14002e58d
cmp byte [rsp + 0x39], 1
je 0x14002ef74
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x14002ec9e
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14002ecb6
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140026b7f.0]
nop
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.140015190
mov rbx, qword [rsp + 0x208]
add rsp, 0x1c0
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
lea r14, [0x140063230]
mov rcx, qword [0x140063230]
cmp rcx, r14
je 0x14002ed0d
test byte [rcx + 0x1c], 1
je 0x14002ed0d
lea edx, [rsi + 0x58]
mov r9d, eax
lea r8, [0x1400562a8]
mov rcx, qword [rcx + 0x10]
call fcn.140025858
mov ecx, ebx
call fcn.1400352a4
nop
lea r14, [0x140063230]
mov rcx, qword [0x140063230]
cmp rcx, r14
je 0x14002ed46
test byte [rcx + 0x1c], 1
je 0x14002ed46
mov edx, 0x59
mov r9d, eax
lea r8, [0x1400562a8]
mov rcx, qword [rcx + 0x10]
call fcn.140025858
mov ecx, ebx
call fcn.1400352a4
nop
mov ecx, 0x8007000e
call fcn.140027b7c
nop
mov ecx, 0x8007000e
call fcn.140027b7c
nop
mov rcx, qword [0x140063230]
cmp rcx, r14
je 0x14002edbe
test byte [rcx + 0x1c], 1
je 0x14002ed93
lea edx, [rax + 0x5b]
mov r9, r15
lea r8, [0x1400562a8]
mov rcx, qword [rcx + 0x10]
call fcn.1400257fc
mov rcx, qword [0x140063230]
cmp rcx, r14
je 0x14002edbe
test byte [rcx + 0x1c], 1
je 0x14002edbe
mov edx, 0x5c
mov dword [rsp + 0x20], 0x80070002
mov r9, r15
lea r8, [0x1400562a8]
mov rcx, qword [rcx + 0x10]
call fcn.140027694
mov ecx, 0x80070002
call fcn.1400352a4
mov ecx, eax
call fcn.1400352a4
mov ebx, 0x4e30
jmp 0x14002eddb
mov ebx, 0x4e2f
lea rcx, [rsp + 0xb0]
call fcn.140025cd0
nop
lea rcx, [rsp + 0xa8]
call fcn.140025cd0
nop
mov r8d, ebx
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0xb0]
call fcn.140033384
lea rcx, [rsp + 0xa8]
call fcn.140025d34
mov r9, rax
lea rcx, [rsp + 0xb0]
call fcn.140025d34
mov r8, rax
mov edx, 0xc00ce225
lea rcx, [rsp + 0x140]
call fcn.14002bb20
lea rdx, [0x140060440]
lea rcx, [rsp + 0x140]
call fcn.140017bf4
nop
mov eax, 0xa
mov word [rsp + 0xd0], ax
mov dword [rsp + 0xd8], 0x8007000e
mov ecx, 0x8007000e
call fcn.140027b7c
nop
mov rcx, qword [0x140063230]
cmp rcx, r14
je 0x14002eea7
test byte [rcx + 0x1c], 1
je 0x14002eea7
mov edx, 0x5e
mov dword [rsp + 0x20], eax
mov r9, r15
lea r8, [0x1400562a8]
mov rcx, qword [rcx + 0x10]
call fcn.140027694
mov ecx, ebx
call fcn.1400352a4
nop
mov rcx, qword [0x140063230]
cmp rcx, r14
je 0x14002eed6
test byte [rcx + 0x1c], 1
je 0x14002eed6
mov edx, 0x60
lea r8, [0x1400562a8]
mov rcx, qword [rcx + 0x10]
call fcn.1400257dc
mov ecx, 0xc00ce225
call fcn.1400352a4
mov rcx, qword [0x140063230]
cmp rcx, r14
je 0x14002ef0a
test byte [rcx + 0x1c], 1
je 0x14002ef0a
mov edx, 0x5f
mov r9d, edi
lea r8, [0x1400562a8]
mov rcx, qword [rcx + 0x10]
call fcn.140025858
mov ecx, edi
call fcn.1400352a4
mov ecx, 0x8007000e
call fcn.140027b7c
nop
mov rcx, qword [0x140063230]
cmp rcx, r14
je 0x14002ef46
test byte [rcx + 0x1c], 1
je 0x14002ef46
mov edx, 0x62
mov r9d, eax
lea r8, [0x1400562a8]
mov rcx, qword [rcx + 0x10]
call fcn.140025858
mov ecx, edi
call fcn.1400352a4
nop
mov ecx, 0x8007000e
call fcn.140027b7c
nop
mov ecx, 0x8007000e
call fcn.140027b7c
nop
mov ecx, eax
call fcn.140027b7c
int3
mov ecx, eax
call fcn.140027b7c
nop
mov ecx, dword [rsp + 0x80]
call fcn.1400352a4
int3