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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push r12
sub rsp, 0x610
mov rax, qword [0x1400950c8]
xor rax, rsp
mov qword [rsp + 0x600], rax
mov rsi, rcx
mov ebx, r8d
mov ebp, edx
lea rcx, [rsp + 0x201]
xor edx, edx
mov r8d, 0x3ff
mov byte [rsp + 0x200], 0
call fcn.14005fe50
xor eax, eax
mov word [rsp + 0x71], ax
mov byte [rsp + 0x73], al
mov byte [rsp + 0x68], al
mov word [rsp + 0x69], ax
mov byte [rsp + 0x6b], al
mov byte [rsp + 0x60], al
mov word [rsp + 0x61], ax
mov byte [rsp + 0x63], al
mov byte [rsp + 0x6c], al
mov word [rsp + 0x6d], ax
mov byte [rsp + 0x6f], al
mov byte [rsp + 0x64], al
mov word [rsp + 0x65], ax
mov byte [rsp + 0x67], al
xor r12d, r12d
mov byte [rsp + 0x70], 0
mov dword [rsp + 0x74], r12d
mov eax, dword [0x1400ad670]
xchg dword [rsp + 0x74], eax
mov ecx, dword [rsp + 0x74]
test ecx, ecx
jne 0x14000e0fc
xor eax, eax
jmp 0x14000e54a
xor eax, eax
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x640], rdi
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [rsp + 0x7a]
cmp ax, 0xa
jae 0x14000e145
lea r8, [0x140075fec]
lea rcx, [rsp + 0x70]
movzx r9d, ax
mov edx, 3
call fcn.14005ff3c
jmp 0x14000e15f
lea r8, [0x140075868]
lea rcx, [rsp + 0x70]
movzx r9d, ax
mov edx, 3
call fcn.14005ff3c
movzx eax, word [rsp + 0x7e]
cmp ax, 0xa
jae 0x14000e186
lea r8, [0x140075fec]
lea rcx, [rsp + 0x68]
movzx r9d, ax
mov edx, 3
call fcn.14005ff3c
jmp 0x14000e1a0
lea r8, [0x140075868]
lea rcx, [rsp + 0x68]
movzx r9d, ax
mov edx, 3
call fcn.14005ff3c
mov rax, qword [rsp + 0x80]
cmp ax, 0xa
jae 0x14000e1ca
lea r8, [0x140075fec]
lea rcx, [rsp + 0x60]
movzx r9d, ax
mov edx, 3
call fcn.14005ff3c
jmp 0x14000e1e4
lea r8, [0x140075868]
lea rcx, [rsp + 0x60]
movzx r9d, ax
mov edx, 3
call fcn.14005ff3c
movzx eax, word [rsp + 0x82]
cmp ax, 0xa
jae 0x14000e20e
lea r8, [0x140075fec]
lea rcx, [rsp + 0x6c]
movzx r9d, ax
mov edx, 3
call fcn.14005ff3c
jmp 0x14000e228
lea r8, [0x140075868]
lea rcx, [rsp + 0x6c]
movzx r9d, ax
mov edx, 3
call fcn.14005ff3c
movzx eax, word [rsp + 0x84]
cmp ax, 0xa
jae 0x14000e252
lea r8, [0x140075fec]
lea rcx, [rsp + 0x64]
movzx r9d, ax
mov edx, 3
call fcn.14005ff3c
jmp 0x14000e26c
lea r8, [0x140075868]
lea rcx, [rsp + 0x64]
movzx r9d, ax
mov edx, 3
call fcn.14005ff3c
xor eax, eax
movzx edi, bpl
lea r8, str._d._d._d._d
mov qword [rsp + 0x91], rax
mov qword [rsp + 0x99], rax
mov word [rsp + 0xa1], ax
mov byte [rsp + 0xa3], al
mov eax, ebp
mov dword [rsp + 0x30], edi
shr eax, 8
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.14005ff3c
lea rcx, [rsp + 0x200]
xor edx, edx
mov r8d, 0x400
call fcn.14005fe50
test ebx, ebx
je 0x14000e3ce
sub ebx, 1
je 0x14000e368
cmp ebx, 1
jne 0x14000e432
movzx eax, word [rsp + 0x78]
lea rcx, [rsp + 0x64]
lea r8, str.__8d__18s_Disconnect_On__d__s__s__s:_s:_s_r_n
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x6c]
mov r9, rsi
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x60]
mov edx, 0x3ff
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.14005ff3c
jmp 0x14000e432
movzx eax, word [rsp + 0x78]
lea rcx, [rsp + 0x64]
lea r8, str.__8d__18s_Login_Fail_On__d__s__s__s:_s:_s_r_n
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x6c]
mov r9, rsi
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x60]
mov edx, 0x3ff
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.14005ff3c
jmp 0x14000e432
movzx eax, word [rsp + 0x78]
lea rcx, [rsp + 0x64]
lea r8, str.__8d__18s_Login_On__d__s__s__s:_s:_s_r_n
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x6c]
mov r9, rsi
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x60]
mov edx, 0x3ff
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.14005ff3c
lea rcx, [rsp + 0xb1]
xor edx, edx
mov r8d, 0x143
mov dword [rsp + 0x88], r12d
mov byte [rsp + 0xb0], r12b
call fcn.14005fe50
lea rcx, [rsp + 0xb0]
mov edx, 0x144
call fcn.14000c600
test eax, eax
jne 0x14000e480
lea rcx, [rsp + 0xb0]
mov edx, 0x103
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xor eax, eax
or rcx, 0xffffffffffffffff
xor r9d, r9d
lea rdi, [rsp + 0xb0]
mov qword [rsp + 0x30], r12
lea r8d, [r9 + 2]
repne scasb al, byte [rdi]
mov rax, qword [str.Login.Log]
lea rcx, [rsp + 0xb0]
mov qword [rdi - 1], rax
movzx eax, word [0x140076950]
mov edx, 0xc0000000
mov word [rdi + 7], ax
movzx eax, byte [0x140076952]
mov dword [rsp + 0x28], 0x80
mov byte [rdi + 9], al
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000e4ec
xor eax, eax
jmp 0x14000e542
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x200]
lea r9, [rsp + 0x88]
lea rdx, [rsp + 0x200]
repne scasb al, byte [rdi]
mov qword [rsp + 0x20], r12
not rcx
lea r8, [rcx - 1]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rdi, qword [rsp + 0x640]
mov rcx, qword [rsp + 0x600]
xor rcx, rsp
call fcn.14005fe20
mov rbx, qword [rsp + 0x648]
add rsp, 0x610
pop r12
pop rsi
pop rbp
ret