Function at 0x1400377e0
Capabilities:
Create directory
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov r9, qword [0x1400b32a8]
test r9, r9
je 0x140037c43
cmp word [0x1400c1360], 0
je 0x140037c43
lea rsi, [0x1400c1570]
lea r8, str._wsA.log
mov edx, 0x104
mov rcx, rsi
call fcn.1400132b0
mov r9, qword [0x1400b32a8]
lea rdi, [0x1400c1780]
lea r8, str._wsError.log
mov edx, 0x104
mov rcx, rdi
call fcn.1400132b0
mov r9, qword [0x1400b32a8]
lea rcx, [0x1400c1990]
lea r8, str._wsA_All.log
mov edx, 0x104
call fcn.1400132b0
mov r9, qword [0x1400b32a8]
lea rcx, [0x1400c1ba0]
lea r8, str._wsError_All.log
mov edx, 0x104
call fcn.1400132b0
mov rcx, rsi
call fcn.140037c60
mov rcx, rdi
call fcn.140037c60
mov byte [0x1400c2fc0], 1
mov r9, qword [0x1400b32a8]
lea rcx, [0x1400b4ec0]
lea r8, str._wsSettings_loader.ini
mov edx, 0x104
call fcn.1400132b0
mov r9, qword [0x1400b32a8]
lea rcx, [0x1400b4cb0]
lea r8, str._wsLogin.ini
mov edx, 0x104
call fcn.1400132b0
mov r9, qword [0x1400b32a8]
lea rcx, [0x1400c1db0]
lea r8, str._wsPlayers_loader.ini
mov edx, 0x104
call fcn.1400132b0
mov r9, qword [0x1400b32a8]
lea rsi, [0x1400c1150]
lea r8, str._wskitterengine_
mov edx, 0x104
mov rcx, rsi
call fcn.1400132b0
mov rcx, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140037c43
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x140037c43
cmp byte [0x14013fb92], 0
jne 0x140037c2e
movabs rax, 0x35d573308e9cf8
movabs rcx, 0x1aeab998474e7c
mov byte [0x14013fb92], 1
movaps xmm0, xmmword [0x14008f740]
movaps xmmword [0x14013fa40], xmm0
movaps xmm0, xmmword [0x14008f750]
movaps xmmword [0x14013fa50], xmm0
movaps xmm0, xmmword [0x14008f760]
movaps xmmword [0x14013fa60], xmm0
movaps xmm0, xmmword [0x14008f770]
movaps xmmword [0x14013fa70], xmm0
movaps xmm0, xmmword [0x14008f780]
movaps xmmword [0x14013fa80], xmm0
movaps xmm0, xmmword [0x14008f790]
movaps xmmword [0x14013fa90], xmm0
movaps xmm0, xmmword [0x14008f7a0]
movaps xmmword [0x14013faa0], xmm0
movaps xmm0, xmmword [0x14008f7b0]
movaps xmmword [0x14013fab0], xmm0
movaps xmm0, xmmword [0x14008f7c0]
movaps xmmword [0x14013fac0], xmm0
movaps xmm0, xmmword [0x14008f7d0]
movaps xmmword [0x14013fad0], xmm0
mov dword [0x14013fae0], 0
mov r10, 0xfffffffffffffffe
xor r11d, r11d
movabs rsi, 0x8080808080808081
lea rdi, [0x14013fa40]
lea rbx, [0x14013faf0]
lea rdx, [rax + 1]
mov qword [rsp + 0x30], rdx
lea rdx, [rcx + 1]
mov qword [rsp + 0x28], rdx
lea r12, [rax + 2]
lea r13, [rcx + 2]
lea rbp, [rax + 3]
lea r8, [rcx + 3]
nop word cs:[rax + rax]
mov rcx, r11
movabs rax, 0x35d573308e9cf8
xor rcx, rax
mov rax, r11
movabs rdx, 0x1aeab998474e7c
xor rax, rdx
add rax, r10
add rax, 3
add rcx, r11
xor rcx, rax
mov rax, rcx
mul rsi
shr rdx, 0xf
shl edx, 8
lea eax, [rcx + rdx]
mov r9d, r11d
sub r9d, eax
add r9d, 8
xor r9w, word [rdi + r11*2]
lea eax, [rax + rax*2]
neg eax
add eax, r11d
add eax, 0xfffffffd
lea r14d, [rcx + rdx]
add r14d, 7
imul r14d, r11d
xor r14d, eax
lea r15d, [rcx + rdx]
inc r15d
xor r15d, r14d
xor r15d, r9d
mov rax, r11
xor rax, qword [rsp + 0x30]
mov rcx, r11
xor rcx, qword [rsp + 0x28]
lea rdx, [r10 + rcx]
add rdx, 2
lea rcx, [r11 + rax]
inc rcx
xor rcx, rdx
mov rax, rcx
mul rsi
mov word [rbx + r11*2], r15w
shr rdx, 0xf
shl edx, 8
lea eax, [rcx + rdx]
mov r9d, r11d
sub r9d, eax
add r9d, 9
xor r9w, word [rdi + r11*2 + 2]
lea eax, [rax + rax*2]
neg eax
add eax, r11d
add eax, 0xfffffffe
lea r14d, [rcx + rdx]
add r14d, 7
lea r15d, [r11 + 1]
imul r15d, r14d
xor r15d, eax
lea eax, [rcx + rdx]
inc eax
xor eax, r15d
xor eax, r9d
mov word [rbx + r11*2 + 2], ax
mov rax, r11
xor rax, r12
mov rcx, r11
xor rcx, r13
lea rdx, [r10 + rcx]
inc rdx
lea rcx, [r11 + rax]
add rcx, 2
xor rcx, rdx
mov rax, rcx
mul rsi
shr rdx, 0xf
shl edx, 8
lea eax, [rcx + rdx]
mov r9d, r11d
sub r9d, eax
add r9d, 0xa
xor r9w, word [rdi + r11*2 + 4]
lea eax, [rax + rax*2]
not eax
add eax, r11d
lea r14d, [rcx + rdx]
add r14d, 7
lea r15d, [r11 + 2]
imul r15d, r14d
xor r15d, eax
lea r14d, [rcx + rdx]
inc r14d
xor r14d, r15d
xor r14d, r9d
mov rax, r11
xor rax, rbp
mov rdx, r11
xor rdx, r8
add rdx, r10
lea rcx, [r11 + rax]
add rcx, 3
xor rcx, rdx
mov rax, rcx
mul rsi
mov word [rbx + r11*2 + 4], r14w
shr rdx, 0xf
shl edx, 8
lea eax, [rcx + rdx]
mov r9d, r11d
sub r9d, eax
lea eax, [rax + rax*2]
mov r14d, r11d
sub r14d, eax
lea eax, [rcx + rdx]
add eax, 7
lea r15d, [r11 + 3]
imul r15d, eax
xor r15d, r14d
lea eax, [rcx + rdx]
inc eax
xor eax, r15d
add r9d, 0xb
xor r9w, word [rdi + r11*2 + 6]
xor eax, r9d
mov word [rbx + r11*2 + 6], ax
add r11, 4
add r10, 0xfffffffffffffffc
cmp r11, 0x50
jne 0x140037a50
mov eax, 0x6b0b
xor eax, dword [0x14013fae0]
mov word [0x14013fb90], ax
lea rdx, [0x14013faf0]
lea r8, [0x1400c1150]
xor ecx, ecx
call fcn.140013370
nop
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret