Function at 0x14000e030
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x238]
sub rsp, 0x310
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14025eb40]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov r15, rcx
call fcn.14001a59c
mov rcx, rax
xor ebx, ebx
mov edx, ebx
test rax, rax
setne dl
test edx, edx
jne 0x14000e08f
mov ecx, 0x80004005
call fcn.140015cb0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x58], rax
lea r12, vtable.CUtlCommonPath.0
mov qword [rbp - 0x60], r12
mov dword [rbp - 0x50], ebx
call fcn.14001a59c
mov rdx, rax
mov ecx, ebx
test rax, rax
setne cl
test ecx, ecx
jne 0x14000e0ca
mov ecx, 0x80004005
call fcn.140015cb0
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rdx, str.CGSLauncher.log
test rdx, 0xffffffffffff0000
jne 0x14000e10d
movzx edi, dx
mov ecx, edi
call fcn.140019fac
test rax, rax
je 0x14000e11e
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400124c0
jmp 0x14000e11e
mov r8d, reloc.OLEAUT32.dll_SafeArrayDestroy
lea rcx, [rsp + 0x20]
call fcn.1400127f0
nop
lea rcx, [rbp - 0x60]
call fcn.140017b10
mov rdx, qword [rsp + 0x20]
lea rcx, [rbp - 0x60]
call fcn.140016e20
or rdi, 0xffffffffffffffff
mov rdx, qword [rbp - 0x58]
test rdx, rdx
jne 0x14000e146
mov eax, ebx
jmp 0x14000e15a
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14000e150
mov r8d, eax
lea rcx, [r15 + 0x1c8]
call fcn.1400127f0
mov rcx, qword [r15 + 0x1c8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.14001a59c
mov rdx, rax
mov ecx, ebx
test rax, rax
setne cl
test ecx, ecx
jne 0x14000e195
mov ecx, 0x80004005
call fcn.140015cb0
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
lea rdx, str._A___B__d___Y_____I:_M__p
lea rcx, [rsp + 0x40]
call fcn.1400128e0
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400184b0
nop
mov r8, qword [rax]
lea rdx, str._Logging_Started__s_
lea rcx, [rsp + 0x28]
call fcn.140012370
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000e1f4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8d, 0x104
lea rdx, [rbp - 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea r8, [rbp - 0x10]
lea rdx, str._n_nRunning____s
lea rcx, [rsp + 0x28]
call fcn.140012290
mov rsi, qword [r15 + 0x1c8]
call fcn.14001a59c
mov rdx, rax
mov ecx, ebx
test rax, rax
setne cl
test ecx, ecx
jne 0x14000e241
mov ecx, 0x80004005
call fcn.140015cb0
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x60], ebx
test rsi, rsi
je 0x14000e26e
mov rbx, rdi
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x14000e264
mov r8d, ebx
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.1400127f0
nop
lea rcx, [rsp + 0x50]
call fcn.140017150
lea rcx, [rsp + 0x50]
call fcn.140017220
mov rax, qword [r15 + 0x1d0]
xor r9d, r9d
mov r8d, 0x3041
mov rdx, qword [r15 + 0x1c8]
lea rcx, [r15 + 0x1d0]
call qword [rax + 0x48]
test eax, eax
jle 0x14000e2cd
mov rdx, qword [rsp + 0x28]
lea rcx, [r15 + 0x1d0]
call fcn.1400185c0
test al, al
jne 0x14000e2db
mov rax, qword [0x1401bd528]
mov qword [r15 + 0x1d8], rax
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000e2f5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000e30f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000e329
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000e341
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140191fc0
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret