Function at 0x140010460
Capabilities:
Check if file exists

Disassembly:
push rbp
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x170], rbx
mov rax, qword [0x140058100]
xor rax, rsp
mov qword [rbp + 0x50], rax
lea r8, [0x14005dbf0]
mov edx, 0x432
lea rcx, [0x14005e3f0]
call fcn.14001ea10
lea r8, [0x14003d100]
mov edx, 0x432
lea rcx, [0x14005e3f0]
call fcn.14001e990
lea rcx, [0x14005e3f0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x1400104db
lea rcx, [0x14005e3f0]
call fcn.140020c08
lea rcx, [0x14005e3f0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140010d86
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x40]
call fcn.14001c090
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x3e]
lea rdx, [0x14005e3f0]
lea rcx, [rsp + 0x40]
call fcn.14000d730
nop
lea rdx, str._echo_off
lea rcx, [rsp + 0x40]
call fcn.14000cd30
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140015f10
movzx edx, ax
mov rcx, rbx
call fcn.1400155f0
mov rcx, rbx
call fcn.140014dd0
lea rdx, str.regsvr32.exe__u__s
lea rcx, [rsp + 0x40]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003c5d4]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14005cbf0]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003bfc0]
call fcn.14000cd30
mov rcx, rax
lea rdx, str.igfxDH.dll
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003c5d4]
call fcn.14000cd30
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140015f10
movzx edx, ax
mov rcx, rbx
call fcn.1400155f0
mov rcx, rbx
call fcn.140014dd0
lea rdx, str.regsvr32.exe__u__s
lea rcx, [rsp + 0x40]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003c5d4]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14005cbf0]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003bfc0]
call fcn.14000cd30
mov rcx, rax
lea rdx, str.igfxDI.dll
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003c5d4]
call fcn.14000cd30
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140015f10
movzx edx, ax
mov rcx, rbx
call fcn.1400155f0
mov rcx, rbx
call fcn.140014dd0
lea rdx, str.regsvr32.exe__u__s
lea rcx, [rsp + 0x40]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003c5d4]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14005cbf0]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003bfc0]
call fcn.14000cd30
mov rcx, rax
lea rdx, str.igfxLHM.dll
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003c5d4]
call fcn.14000cd30
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140015f10
movzx edx, ax
mov rcx, rbx
call fcn.1400155f0
mov rcx, rbx
call fcn.140014dd0
lea rdx, str.regsvr32.exe__u__s
lea rcx, [rsp + 0x40]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003c5d4]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14005cbf0]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003bfc0]
call fcn.14000cd30
mov rcx, rax
lea rdx, str.igfxDTCM.dll
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003c5d4]
call fcn.14000cd30
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140015f10
movzx edx, ax
mov rcx, rbx
call fcn.1400155f0
mov rcx, rbx
call fcn.140014dd0
lea rdx, str.start___
lea rcx, [rsp + 0x40]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003c5d4]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14005cbf0]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003bfc0]
call fcn.14000cd30
mov rcx, rax
lea rdx, str.igfxEM.exe
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003c5d4]
call fcn.14000cd30
mov rcx, rax
lea rdx, str.__UnregServerPerUser
call fcn.14000cd30
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140015f10
movzx edx, ax
mov rcx, rbx
call fcn.1400155f0
mov rcx, rbx
call fcn.140014dd0
lea rdx, str.start___
lea rcx, [rsp + 0x40]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003c5d4]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14005cbf0]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003bfc0]
call fcn.14000cd30
mov rcx, rax
lea rdx, str.igfxSDK.exe
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003c5d4]
call fcn.14000cd30
mov rcx, rax
lea rdx, str.__unregserver
call fcn.14000cd30
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140015f10
movzx edx, ax
mov rcx, rbx
call fcn.1400155f0
mov rcx, rbx
call fcn.140014dd0
lea rdx, str.start___
lea rcx, [rsp + 0x40]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003c5d4]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14005cbf0]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003bfc0]
call fcn.14000cd30
mov rcx, rax
lea rdx, str.GfxUIEx.exe
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003c5d4]
call fcn.14000cd30
mov rcx, rax
lea rdx, str.__unregserver
call fcn.14000cd30
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140015f10
movzx edx, ax
mov rcx, rbx
call fcn.1400155f0
mov rcx, rbx
call fcn.140014dd0
lea rdx, str.start___
lea rcx, [rsp + 0x40]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003c5d4]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14005cbf0]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003bfc0]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003c5d8]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003c5d4]
call fcn.14000cd30
mov rcx, rax
lea rdx, str.__unregserver
call fcn.14000cd30
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140015f10
movzx edx, ax
mov rcx, rbx
call fcn.1400155f0
mov rcx, rbx
call fcn.140014dd0
lea rdx, str.taskkill__f__im_gfxv4_0.exe
lea rcx, [rsp + 0x40]
call fcn.14000cd30
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140015f10
movzx edx, ax
mov rcx, rbx
call fcn.1400155f0
mov rcx, rbx
call fcn.140014dd0
lea rdx, str.taskkill__f__im_gfxv2_0.exe
lea rcx, [rsp + 0x40]
call fcn.14000cd30
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140015f10
movzx edx, ax
mov rcx, rbx
call fcn.1400155f0
mov rcx, rbx
call fcn.140014dd0
lea rdx, str.taskkill__f__im_gfxuiex.exe
lea rcx, [rsp + 0x40]
call fcn.14000cd30
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140015f10
movzx edx, ax
mov rcx, rbx
call fcn.1400155f0
mov rcx, rbx
call fcn.140014dd0
lea rdx, str.TIMEOUT_1__NOBREAK
lea rcx, [rsp + 0x40]
call fcn.14000cd30
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140015f10
movzx edx, ax
mov rcx, rbx
call fcn.1400155f0
mov rcx, rbx
call fcn.140014dd0
lea rcx, [rsp + 0x40]
call fcn.140010db0
lea rdx, [0x14003c698]
lea rcx, [rsp + 0x40]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003c5d4]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14005dbf0]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003bfc0]
call fcn.14000cd30
mov rcx, rax
lea rdx, str.C1D72DEE_FF54_4835_8F1C_DF56D09A95BE.bat
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003c5d4]
call fcn.14000cd30
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140015f10
movzx edx, ax
mov rcx, rbx
call fcn.1400155f0
mov rcx, rbx
call fcn.140014dd0
lea rdx, [0x14003c698]
lea rcx, [rsp + 0x40]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003c5d4]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14005dbf0]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003bfc0]
call fcn.14000cd30
mov rcx, rax
lea rdx, str.F33C3B9B_72AF_418A_B3FD_560646F7CDA2.bat
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003c5d4]
call fcn.14000cd30
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140015f10
movzx edx, ax
mov rcx, rbx
call fcn.1400155f0
mov rcx, rbx
call fcn.140014dd0
lea rdx, [0x14003c698]
lea rcx, [rsp + 0x40]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003c5d4]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14005dbf0]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003bfc0]
call fcn.14000cd30
mov rcx, rax
lea rdx, str.A6D608F0_0BDE_491A_97AE_5C4B05D86E01.bat
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003c5d4]
call fcn.14000cd30
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140015f10
movzx edx, ax
mov rcx, rbx
call fcn.1400155f0
mov rcx, rbx
call fcn.140014dd0
lea rdx, [0x14003c698]
lea rcx, [rsp + 0x40]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003c5d4]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14005dbf0]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003bfc0]
call fcn.14000cd30
mov rcx, rax
lea rdx, str.86F549EB_A66B_4D6C_958D_CDDD66410751.bat
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003c5d4]
call fcn.14000cd30
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140015f10
movzx edx, ax
mov rcx, rbx
call fcn.1400155f0
mov rcx, rbx
call fcn.140014dd0
lea rdx, [0x14003c698]
lea rcx, [rsp + 0x40]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003c5d4]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14005dbf0]
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003bfc0]
call fcn.14000cd30
mov rcx, rax
lea rdx, str.30D37DA2_03BC_403A_A21E_F49E4836D060.bat
call fcn.14000cd30
mov rcx, rax
lea rdx, [0x14003c5d4]
call fcn.14000cd30
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140015f10
movzx edx, ax
mov rcx, rbx
call fcn.1400155f0
mov rcx, rbx
call fcn.140014dd0
lea rcx, [rsp + 0x48]
call fcn.140014230
test rax, rax
jne 0x140010d67
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea r9, [rsp + 0x40]
add rcx, r9
mov eax, dword [rcx + 0x10]
or eax, 2
mov edx, eax
or edx, 4
cmp qword [rcx + 0x48], 0
cmovne edx, eax
xor r8d, r8d
call fcn.140014170
nop
lea rcx, [rbp - 0x18]
call fcn.14000e1a0
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x18]
call fcn.14001a9bc
nop
mov al, 1
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140018ad0
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rbp
ret