Function at 0x1800bc060
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x3f0
mov rax, qword [0x1802ae740]
xor rax, rsp
mov qword [rsp + 0x3e0], rax
mov rsi, rcx
mov qword [rsp + 0x60], rcx
xor r13d, r13d
mov dword [rsp + 0x40], r13d
mov byte [rcx], r13b
mov qword [rcx + 8], r13
add rcx, 0x10
call fcn.18003ae10
nop
lea r14, [rsi + 0x118]
lea rcx, str.appdata
call fcn.1801a7534
mov rcx, rax
mov qword [rsp + 0x20], rax
mov r15, 0xffffffffffffffff
mov rax, r15
inc rax
cmp byte [rcx + rax], 0
jne 0x1800bc0d2
mov qword [rsp + 0x28], rax
call fcn.180191f1c
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0xe0], xmm0
lea r8, [rsp + 0xe0]
mov edx, eax
mov rcx, r14
call fcn.180014e40
nop
xorps xmm0, xmm0
movups xmmword [rsi + 0x138], xmm0
mov qword [rsi + 0x148], r13
mov qword [rsi + 0x150], 7
mov word [rsi + 0x138], r13w
lea rcx, [rsi + 0x158]
call fcn.18003ae10
nop
lea rcx, [rsi + 0x260]
call fcn.18003ae10
nop
lea rdi, [rsi + 0x368]
mov qword [rsp + 0x30], rdi
mov ecx, 0x20
call fcn.180194670
mov rbx, rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x50], rax
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
lea rcx, [rax + 0x18]
call fcn.180041810
nop
mov qword [rdi], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_AttachConsole]
mov ecx, eax
test eax, eax
setne al
mov byte [rsi], al
test ecx, ecx
jne 0x1800bc1a0
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsi + 8], rax
test rax, rax
je 0x1800bc1f5
lea rcx, [rsp + 0x3a0]
call fcn.180038930
cmp qword [rax + 0x18], 0xf
jbe 0x1800bc1cb
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rcx, [rsp + 0x3a0]
call fcn.18000f380
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
lea rcx, [rsi + 0x10]
call fcn.18003ac30
lea rax, [0x18026ad58]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 6
call fcn.180191f1c
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0xf0], xmm0
lea r8, [rsp + 0xf0]
mov edx, eax
lea rcx, [rsp + 0x2e0]
call fcn.180014e40
nop
lea rdx, [rsp + 0x2e0]
mov rcx, r14
call fcn.18002b270
nop
lea rcx, [rsp + 0x2e0]
call fcn.180025cf0
mov rdx, r14
lea rcx, [rsp + 0x1a0]
call fcn.180025bc0
nop
lea rax, str.Backup
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 6
call fcn.180191f1c
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x100], xmm0
lea r8, [rsp + 0x100]
mov edx, eax
lea rcx, [rsp + 0x300]
call fcn.180014e40
nop
lea rdx, [rsp + 0x300]
lea rcx, [rsp + 0x1a0]
call fcn.18002b270
nop
lea rcx, [rsp + 0x300]
call fcn.180025cf0
nop
mov rcx, r14
call fcn.180025b50
test al, al
jne 0x1800bc2f4
mov rcx, r14
cmp qword [r14 + 0x18], 7
jbe 0x1800bc2e1
mov rcx, qword [r14]
call fcn.180192434
shr rax, 0x20
test eax, eax
jne 0x1800bcb63
jmp 0x1800bc368
mov rdx, r14
lea rcx, [rsp + 0x170]
call fcn.180024e70
movsd xmm0, qword [rax]
movsd qword [rsp + 0x30], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rsp + 0x30]
test edx, edx
je 0x1800bc327
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x1800bcb74
cmp ecx, 3
je 0x1800bc368
mov rcx, r14
cmp qword [r14 + 0x18], 7
jbe 0x1800bc339
mov rcx, qword [r14]
call fcn.1801928e8
shr rax, 0x20
test eax, eax
jne 0x1800bcb83
mov rcx, r14
cmp qword [r14 + 0x18], 7
jbe 0x1800bc357
mov rcx, qword [r14]
call fcn.180192434
shr rax, 0x20
test eax, eax
jne 0x1800bcb94
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x180]
call fcn.180024e70
movsd xmm0, qword [rax]
movsd qword [rsp + 0x30], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x70], ecx
lea r14, [0x1802b3f10]
mov qword [rsp + 0x78], r14
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x110], xmm0
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1800bc45b
cmp eax, 1
setne al
test al, al
je 0x1800bc463
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x190]
call fcn.180024e70
movsd xmm0, qword [rax]
movsd qword [rsp + 0x30], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rsp + 0x30]
test edx, edx
je 0x1800bc3fa
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x1800bcba5
cmp ecx, 3
je 0x1800bc48e
lea rcx, [rsp + 0x1a0]
cmp qword [rsp + 0x1b8], 7
cmova rcx, qword [rsp + 0x1a0]
call fcn.1801928e8
shr rax, 0x20
test eax, eax
jne 0x1800bcbb9
lea rcx, [rsp + 0x1a0]
cmp qword [rsp + 0x1b8], 7
cmova rcx, qword [rsp + 0x1a0]
call fcn.180192434
shr rax, 0x20
test eax, eax
jne 0x1800bcbcf
jmp 0x1800bc48e
test ecx, ecx
jne 0x1800bcbe5
lea rcx, [rsp + 0x1a0]
cmp qword [rsp + 0x1b8], 7
cmova rcx, qword [rsp + 0x1a0]
call fcn.180192434
shr rax, 0x20
test eax, eax
jne 0x1800bcc01
lea rdx, [rsi + 0x118]
lea rcx, [rsi + 0x138]
call fcn.18002ae60
lea rax, str.Atomic.log
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0xa
call fcn.180191f1c
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x120], xmm0
lea r8, [rsp + 0x120]
mov edx, eax
lea rcx, [rsp + 0x320]
call fcn.180014e40
nop
lea rcx, [rsi + 0x118]
lea rdx, [rsp + 0x320]
call fcn.18002b270
nop
lea rcx, [rsp + 0x320]
call fcn.180025cf0
lea rax, str.GTAEvents.log
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], send
call fcn.180191f1c
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x130], xmm0
lea r8, [rsp + 0x130]
mov edx, eax
lea rcx, [rsp + 0x340]
call fcn.180014e40
nop
lea rcx, [rsi + 0x138]
lea rdx, [rsp + 0x340]
call fcn.18002b270
nop
lea rcx, [rsp + 0x340]
call fcn.180025cf0
lea rcx, [rsi + 0x118]
call fcn.180025b50
test al, al
je 0x1800bca71
lea rcx, [rsi + 0x118]
cmp qword [rsi + 0x130], 7
jbe 0x1800bc591
mov rcx, qword [rsi + 0x118]
mov r9d, 0xffffffff
mov r8d, 0x21
lea rdx, [rsp + 0x3c0]
call fcn.180192560
test eax, eax
jne 0x1800bcc5f
mov rdi, qword [rsp + 0x3c0]
call fcn.180192e6c
mov rbx, rax
call fcn.180192e6c
movabs rcx, 0x19db1ded53e8000
add rax, rcx
sub rdi, rax
lea rcx, [rdi + rbx]
movabs rax, 0xd6bf94d5e57a42bd
imul rcx
add rdx, rcx
sar rdx, 0x17
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rsp + 0x30], rdx
lea rcx, [rsp + 0x30]
call fcn.1801a61d4
mov rbx, rax
mov ecx, dword [rax + 0x14]
add ecx, 0x76c
mov eax, dword [rax + 0x10]
inc eax
lea rdx, str.:0_2_:0_2__:0_2_:0_2_:0_2_Atomic.log
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 0x30
mov dword [rsp + 0x270], eax
movabs rdi, 0x1000000000000000
mov qword [rsp + 0x240], rdi
mov eax, dword [rbx + 0xc]
mov dword [rsp + 0x274], eax
movabs r12, 0x1000000000000004
mov qword [rsp + 0x248], r12
mov dword [rsp + 0x278], ecx
movabs rax, 0x1000000000000008
mov qword [rsp + 0x250], rax
mov eax, dword [rbx + 8]
mov dword [rsp + 0x27c], eax
movabs rax, 0x100000000000000c
mov qword [rsp + 0x258], rax
mov eax, dword [rbx + 4]
mov dword [rsp + 0x280], eax
movabs rax, 0x1000000000000010
mov qword [rsp + 0x260], rax
mov eax, dword [rbx]
mov dword [rsp + 0x284], eax
movabs rax, 0x1000000000000014
mov qword [rsp + 0x268], rax
mov qword [rsp + 0x80], 6
lea rax, [rsp + 0x240]
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x140], xmm0
movaps xmm1, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x150], xmm1
lea r8, [rsp + 0x140]
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x220]
call fcn.1800a6cc0
nop
mov ecx, dword [rbx + 0x14]
add ecx, 0x76c
mov eax, dword [rbx + 0x10]
inc eax
lea rdx, str.:0_2_:0_2__:0_2_:0_2_:0_2_GTAEvents.log
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 0x33
mov dword [rsp + 0x2c0], eax
mov qword [rsp + 0x290], rdi
mov eax, dword [rbx + 0xc]
mov dword [rsp + 0x2c4], eax
mov qword [rsp + 0x298], r12
mov dword [rsp + 0x2c8], ecx
movabs rax, 0x1000000000000008
mov qword [rsp + 0x2a0], rax
mov eax, dword [rbx + 8]
mov dword [rsp + 0x2cc], eax
movabs rax, 0x100000000000000c
mov qword [rsp + 0x2a8], rax
mov eax, dword [rbx + 4]
mov dword [rsp + 0x2d0], eax
movabs rax, 0x1000000000000010
mov qword [rsp + 0x2b0], rax
mov eax, dword [rbx]
mov dword [rsp + 0x2d4], eax
movabs rax, 0x1000000000000014
mov qword [rsp + 0x2b8], rax
mov qword [rsp + 0x90], 6
lea rax, [rsp + 0x290]
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [rsp + 0x90]
movdqa xmmword [rsp + 0x160], xmm0
movaps xmm1, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0xb0], xmm1
lea r8, [rsp + 0x160]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x200]
call fcn.1800a6cc0
nop
lea rax, [rsp + 0x220]
cmp qword [rsp + 0x238], 0xf
cmova rax, qword [rsp + 0x220]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x230]
mov qword [rsp + 0x28], rax
call fcn.180191f1c
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0xc0], xmm0
lea r8, [rsp + 0xc0]
mov edx, eax
lea rcx, [rsp + 0x360]
call fcn.180014e40
mov dword [rsp + 0x40], 0xf7ff
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x1c0]
call fcn.180025bc0
mov dword [rsp + 0x40], 0x1f7ff
lea rdx, [rsp + 0x360]
lea rcx, [rsp + 0x1c0]
call fcn.18002b270
lea rdx, [rsp + 0x1c0]
cmp qword [rsp + 0x1d8], 7
cmova rdx, qword [rsp + 0x1c0]
lea rcx, [rsi + 0x118]
cmp qword [rsi + 0x130], 7
jbe 0x1800bc8f3
mov rcx, qword [rsi + 0x118]
xor r8d, r8d
call fcn.18019217c
shr rax, 0x20
test eax, eax
jne 0x1800bcc18
lea rcx, [rsp + 0x1c0]
call fcn.180025cf0
nop
lea rcx, [rsp + 0x360]
call fcn.180025cf0
lea rcx, [rsi + 0x138]
call fcn.180025b50
test al, al
je 0x1800bca56
mov dword [rsp + 0x20], r13d
mov qword [rsp + 0x28], r14
lea rdx, [rsp + 0x20]
lea rcx, [rsi + 0x138]
call fcn.1800ba970
cmp dword [rsp + 0x20], 0
jne 0x1800bcc2f
test al, al
jne 0x1800bca56
lea rax, [rsp + 0x200]
cmp qword [rsp + 0x218], 0xf
cmova rax, qword [rsp + 0x200]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x58], rax
call fcn.180191f1c
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0xd0], xmm0
lea r8, [rsp + 0xd0]
mov edx, eax
lea rcx, [rsp + 0x380]
call fcn.180014e40
mov dword [rsp + 0x40], 0xcf7ff
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x1e0]
call fcn.180025bc0
mov dword [rsp + 0x40], 0xef7ff
lea rdx, [rsp + 0x380]
lea rcx, [rsp + 0x1e0]
call fcn.18002b270
lea rdx, [rsp + 0x1e0]
cmp qword [rsp + 0x1f8], 7
cmova rdx, qword [rsp + 0x1e0]
lea rcx, [rsi + 0x138]
cmp qword [rsi + 0x150], 7
jbe 0x1800bca26
mov rcx, qword [rsi + 0x138]
xor r8d, r8d
call fcn.18019217c
shr rax, 0x20
test eax, eax
jne 0x1800bcc48
lea rcx, [rsp + 0x1e0]
call fcn.180025cf0
nop
lea rcx, [rsp + 0x380]
call fcn.180025cf0
nop
lea rcx, [rsp + 0x200]
call fcn.18000f380
nop
lea rcx, [rsp + 0x220]
call fcn.18000f380
lea rcx, [rsi + 0x158]
lea rdx, [rsi + 0x118]
call fcn.1800bab20
lea rcx, [rsi + 0x260]
lea rdx, [rsi + 0x138]
call fcn.1800bab20
mov rbx, qword [rsi + 0x368]
mov ecx, reloc.WS2_32.dll_recv
call fcn.180194670
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov rcx, rax
call fcn.1800bbcc0
nop
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.1800bb150
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1800bcb0a
mov rdx, qword [rcx + 8]
test rdx, rdx
je 0x1800bcb00
lock xadd dword [rdx + 0xc], r15d
cmp r15d, 1
jne 0x1800bcafb
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + ioctlsocket]
mov rcx, qword [rsp + 0x48]
mov edx, reloc.WS2_32.dll_recv
call fcn.180194660
mov rcx, qword [rsi + 0x368]
call fcn.18003b1c0
nop
jmp 0x1800bcb1e
mov qword [0x1802eca80], rsi
lea rcx, [rsp + 0x1a0]
call fcn.180025cf0
nop
mov rax, rsi
mov rcx, qword [rsp + 0x3e0]
xor rcx, rsp
call fcn.1801942d0
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r8, r14
mov edx, eax
lea rcx, str.create_directory
call fcn.18002b480
mov r8, r14
lea rcx, str.status
call fcn.18002b480
mov r8, r14
mov edx, eax
lea rcx, str.remove
call fcn.18002b480
mov r8, r14
mov edx, eax
lea rcx, str.create_directory
call fcn.18002b480
lea r8, [rsp + 0x1a0]
lea rcx, str.status
call fcn.18002b480
lea r8, [rsp + 0x1a0]
mov edx, eax
lea rcx, str.remove
call fcn.18002b480
lea r8, [rsp + 0x1a0]
mov edx, eax
lea rcx, str.create_directory
call fcn.18002b480
lea r8, [rsp + 0x1a0]
lea rdx, [rsp + 0x110]
lea rcx, str.exists
call fcn.180025af0
lea r8, [rsp + 0x1a0]
mov edx, eax
lea rcx, str.create_directory
call fcn.18002b480
nop
lea r9, [rsp + 0x1c0]
lea r8, [rsi + 0x118]
mov edx, eax
call fcn.18002ac60
nop
lea r8, [rsi + 0x138]
lea rdx, [rsp + 0x20]
lea rcx, str.is_empty
call fcn.180025af0
nop
lea r9, [rsp + 0x1e0]
lea r8, [rsi + 0x138]
mov edx, eax
call fcn.18002ac60
nop
lea r8, [rsi + 0x118]
mov edx, eax
lea rcx, str.last_write_time
call fcn.18002b480
int3