Function at 0x140011c80
Capabilities:
Check if file exists

Disassembly:
push rdi
sub rsp, 0x160
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x170], rbx
mov rax, qword [0x140058100]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov edi, ecx
lea r8, [0x14005dbf0]
mov edx, 0x432
lea rcx, [0x14005ec60]
call fcn.14001ea10
lea r8, [0x14003c400]
mov edx, 0x432
lea rcx, [0x14005ec60]
call fcn.14001e990
lea rcx, [0x14005ec60]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x140011cfc
lea rcx, [0x14005ec60]
call fcn.140020c08
lea rcx, [0x14005ec60]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14001208e
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, [0x14005ec60]
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
cmp edi, 1
jne 0x140011e00
lea rdx, str.sc_stop_igfxCUIService1.0.0.0
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 rdx, str.sc_delete_igfxCUIService1.0.0.0
jmp 0x140011f73
cmp edi, 2
jne 0x140011fa4
lea rdx, str.sc_stop_igfxCUIService2.0.0.0
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 rdx, str.sc_delete_igfxCUIService2.0.0.0
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_5__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 rdx, [0x14003c5d4]
lea rcx, [rsp + 0x40]
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.__service
call fcn.14000c930
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.sc_start_igfxCUIService1.0.0.0
lea rcx, [rsp + 0x40]
call fcn.14000cd30
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
mov rbx, rax
mov dl, 0xa
add rcx, rax
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.8A694AF2_286D_429D_867A_3F95898EE308.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 0x140012063
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, [rsp + 0xe8]
call fcn.14000e1a0
nop
lea rax, vtable.std::ios_base.0
mov qword [rsp + 0xe8], rax
lea rcx, [rsp + 0xe8]
call fcn.14001a9bc
nop
mov al, 1
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140018ad0
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret