Function at 0x18000c8d8
Capabilities:
Get common file path
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x610
mov rax, qword [0x1800830c8]
xor rax, rsp
mov qword [rsp + 0x600], rax
mov rsi, rcx
mov edi, r8d
mov ebp, edx
lea rcx, [r11 - 0x437]
xor r12d, r12d
xor edx, edx
mov r8d, 0x3ff
mov byte [r11 - 0x438], r12b
call fcn.180052810
xor eax, eax
mov byte [rsp + 0x70], r12b
mov word [rsp + 0x71], ax
mov byte [rsp + 0x73], al
mov word [rsp + 0x69], ax
mov byte [rsp + 0x6b], al
mov word [rsp + 0x61], ax
mov byte [rsp + 0x63], al
mov word [rsp + 0x6d], ax
mov byte [rsp + 0x6f], al
mov word [rsp + 0x65], ax
mov byte [rsp + 0x67], al
mov byte [rsp + 0x68], r12b
mov byte [rsp + 0x60], r12b
mov byte [rsp + 0x6c], r12b
mov byte [rsp + 0x64], r12b
mov dword [rsp + 0x74], r12d
mov eax, dword [0x18009b628]
xchg dword [rsp + 0x74], eax
mov ecx, dword [rsp + 0x74]
cmp ecx, r12d
jne 0x18000c991
xor eax, eax
jmp 0x18000cc63
xor edx, edx
lea rcx, [rsp + 0x78]
lea r8d, [rdx + 0x10]
call fcn.180052810
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [rsp + 0x7a]
lea r15, [0x180067f84]
mov ebx, 3
lea r14, [0x180067848]
movzx r9d, ax
lea rcx, [rsp + 0x70]
mov r8, r15
mov rdx, rbx
cmp ax, 0xa
jb 0x18000c9dc
mov r8, r14
call fcn.1800528fc
movzx eax, word [rsp + 0x7e]
mov rdx, rbx
lea rcx, [rsp + 0x68]
mov r8, r15
movzx r9d, ax
cmp ax, 0xa
jb 0x18000c9fe
mov r8, r14
call fcn.1800528fc
movzx eax, word [rsp + 0x80]
mov rdx, rbx
lea rcx, [rsp + 0x60]
mov r8, r15
movzx r9d, ax
cmp ax, 0xa
jb 0x18000ca23
mov r8, r14
call fcn.1800528fc
movzx eax, word [rsp + 0x82]
mov rdx, rbx
lea rcx, [rsp + 0x6c]
mov r8, r15
movzx r9d, ax
cmp ax, 0xa
jb 0x18000ca48
mov r8, r14
call fcn.1800528fc
movzx eax, word [rsp + 0x84]
mov rdx, rbx
lea rcx, [rsp + 0x64]
mov r8, r15
movzx r9d, ax
cmp ax, 0xa
jb 0x18000ca6d
mov r8, r14
call fcn.1800528fc
xor eax, eax
movzx r8d, bpl
mov qword [rsp + 0x91], rax
mov qword [rsp + 0x99], rax
mov word [rsp + 0xa1], ax
mov byte [rsp + 0xa3], al
mov dword [rsp + 0x30], r8d
mov eax, ebp
shr eax, 8
lea r8, str._d._d._d._d
mov byte [rsp + 0x90], r12b
movzx edx, al
mov eax, ebp
shr ebp, 0x18
mov dword [rsp + 0x28], edx
shr eax, 0x10
mov r9d, ebp
movzx ecx, al
mov edx, 0x13
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0x90]
call fcn.1800528fc
lea rcx, [rsp + 0x200]
xor edx, edx
mov r8d, 0x400
call fcn.180052810
cmp edi, r12d
je 0x18000cb11
sub edi, 1
je 0x18000cb08
cmp edi, 1
jne 0x18000cb75
lea r8, str.__8d__18s_Disconnect_On__d__s__s__s:_s:_s_r_n
jmp 0x18000cb18
lea r8, str.__8d__18s_Login_Fail_On__d__s__s__s:_s:_s_r_n
jmp 0x18000cb18
lea r8, str.__8d__18s_Login_On__d__s__s__s:_s:_s_r_n
movzx eax, word [rsp + 0x78]
lea rcx, [rsp + 0x64]
mov r9, rsi
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x6c]
mov edx, 0x3ff
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x90]
lea rcx, [rsp + 0x200]
mov qword [rsp + 0x20], rax
call fcn.1800528fc
lea rcx, [rsp + 0xb1]
xor edx, edx
mov r8d, 0x143
mov dword [rsp + 0x88], r12d
mov byte [rsp + 0xb0], r12b
call fcn.180052810
lea rcx, [rsp + 0xb0]
mov edx, 0x144
call fcn.18000b2e4
cmp eax, r12d
jne 0x18000cbc4
lea rcx, [rsp + 0xb0]
mov edx, 0x103
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rdx, str.Login.Log
lea rcx, [rsp + 0xb0]
call fcn.1800530d0
xor r9d, r9d
mov qword [rsp + 0x30], r12
lea ebx, [r9 + 2]
lea rcx, [rsp + 0xb0]
mov edx, 0xc0000000
mov r8d, ebx
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18000c98a
mov r9d, ebx
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea rcx, [rsp + 0x200]
call fcn.1800529c0
lea r9, [rsp + 0x88]
lea rdx, [rsp + 0x200]
mov rcx, rdi
mov r8, rax
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x600]
xor rcx, rsp
call fcn.1800527e0
lea r11, [rsp + 0x610]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret