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 [0x1400b11c8]
test r9, r9
je 0x140037c2d
cmp word [0x1400bf280], 0
je 0x140037c2d
lea rsi, [0x1400bf490]
lea r8, str._wsA.log
mov edx, 0x104
mov rcx, rsi
call fcn.1400130d0
mov r9, qword [0x1400b11c8]
lea rdi, [0x1400bf6a0]
lea r8, str._wsError.log
mov edx, 0x104
mov rcx, rdi
call fcn.1400130d0
mov r9, qword [0x1400b11c8]
lea rcx, [0x1400bf8b0]
lea r8, str._wsA_All.log
mov edx, 0x104
call fcn.1400130d0
mov r9, qword [0x1400b11c8]
lea rcx, [0x1400bfac0]
lea r8, str._wsError_All.log
mov edx, 0x104
call fcn.1400130d0
mov rcx, rsi
call fcn.140037c40
mov rcx, rdi
call fcn.140037c40
mov byte [0x1400c0ee0], 1
mov r9, qword [0x1400b11c8]
lea rcx, [0x1400b2de0]
lea r8, str._wsSettings_loader.ini
mov edx, 0x104
call fcn.1400130d0
mov r9, qword [0x1400b11c8]
lea rcx, [0x1400b2bd0]
lea r8, str._wsLogin.ini
mov edx, 0x104
call fcn.1400130d0
mov r9, qword [0x1400b11c8]
lea rcx, [0x1400bfcd0]
lea r8, str._wsPlayers_loader.ini
mov edx, 0x104
call fcn.1400130d0
mov r9, qword [0x1400b11c8]
lea rsi, [0x1400bf070]
lea r8, str._wskitterengine_
mov edx, 0x104
mov rcx, rsi
call fcn.1400130d0
mov rcx, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140037c2d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x140037c2d
cmp byte [0x14013dab2], 0
jne 0x140037c18
movabs rax, 0x2e3eb7d8a6c048
movabs rcx, 0x171f5bec536024
mov byte [0x14013dab2], 1
movaps xmm0, xmmword [0x14008d880]
movaps xmmword [0x14013d960], xmm0
movaps xmm0, xmmword [0x14008d890]
movaps xmmword [0x14013d970], xmm0
movaps xmm0, xmmword [0x14008d8a0]
movaps xmmword [0x14013d980], xmm0
movaps xmm0, xmmword [0x14008d8b0]
movaps xmmword [0x14013d990], xmm0
movaps xmm0, xmmword [0x14008d8c0]
movaps xmmword [0x14013d9a0], xmm0
movaps xmm0, xmmword [0x14008d8d0]
movaps xmmword [0x14013d9b0], xmm0
movaps xmm0, xmmword [0x14008d8e0]
movaps xmmword [0x14013d9c0], xmm0
movaps xmm0, xmmword [0x14008d8f0]
movaps xmmword [0x14013d9d0], xmm0
movaps xmm0, xmmword [0x14008d900]
movaps xmmword [0x14013d9e0], xmm0
movaps xmm0, xmmword [0x14008d910]
movaps xmmword [0x14013d9f0], xmm0
mov dword [0x14013da00], 0
mov r10, 0xfffffffffffffffe
xor r11d, r11d
lea rdx, [rax + 2]
mov qword [rsp + 0x30], rdx
lea rdx, [rcx + 1]
mov qword [rsp + 0x28], rdx
movabs rbx, 0x8080808080808081
lea r14, [0x14013d960]
lea r15, [0x14013da10]
lea r12, [rax + 3]
lea r13, [rcx + 3]
lea rbp, [rax + 1]
lea r8, [rcx + 2]
nop word cs:[rax + rax]
mov rcx, r11
xor rcx, qword [rsp + 0x30]
mov rax, r11
xor rax, qword [rsp + 0x28]
add rax, r10
add rax, 3
add rcx, r11
xor rcx, rax
mov rax, rcx
mul rbx
shr rdx, 0xf
shl edx, 8
lea eax, [rcx + rdx]
mov r9d, r11d
sub r9d, eax
add r9d, 8
xor r9w, word [r14 + r11*2]
lea eax, [rax + rax*2]
neg eax
add eax, r11d
add eax, 0xfffffffd
lea esi, [rcx + rdx]
add esi, 7
imul esi, r11d
xor esi, eax
lea edi, [rcx + rdx]
inc edi
xor edi, esi
xor edi, r9d
mov rax, r11
xor rax, r12
mov rcx, r11
movabs rdx, 0x171f5bec536024
xor rcx, rdx
lea rdx, [r10 + rcx]
add rdx, 2
lea rcx, [r11 + rax]
inc rcx
xor rcx, rdx
mov rax, rcx
mul rbx
mov word [r15 + r11*2], di
shr rdx, 0xf
shl edx, 8
lea eax, [rcx + rdx]
mov r9d, r11d
sub r9d, eax
add r9d, 9
xor r9w, word [r14 + r11*2 + 2]
lea eax, [rax + rax*2]
neg eax
add eax, r11d
add eax, 0xfffffffe
lea esi, [rcx + rdx]
add esi, 7
lea edi, [r11 + 1]
imul edi, esi
xor edi, eax
lea eax, [rcx + rdx]
inc eax
xor eax, edi
xor eax, r9d
mov word [r15 + r11*2 + 2], ax
mov rax, r11
movabs rcx, 0x2e3eb7d8a6c048
xor rax, rcx
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 rbx
shr rdx, 0xf
shl edx, 8
lea eax, [rcx + rdx]
mov r9d, r11d
sub r9d, eax
add r9d, 0xa
xor r9w, word [r14 + r11*2 + 4]
lea eax, [rax + rax*2]
not eax
add eax, r11d
lea esi, [rcx + rdx]
add esi, 7
lea edi, [r11 + 2]
imul edi, esi
xor edi, eax
lea esi, [rcx + rdx]
inc esi
xor esi, edi
xor esi, 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 rbx
mov word [r15 + r11*2 + 4], si
shr rdx, 0xf
shl edx, 8
lea eax, [rcx + rdx]
mov r9d, r11d
sub r9d, eax
lea eax, [rax + rax*2]
mov esi, r11d
sub esi, eax
lea eax, [rcx + rdx]
add eax, 7
lea edi, [r11 + 3]
imul edi, eax
xor edi, esi
lea eax, [rcx + rdx]
inc eax
xor eax, edi
add r9d, 0xb
xor r9w, word [r14 + r11*2 + 6]
xor eax, r9d
mov word [r15 + r11*2 + 6], ax
add r11, 4
add r10, 0xfffffffffffffffc
cmp r11, 0x50
jne 0x140037a50
mov eax, 0x8cd8
xor eax, dword [0x14013da00]
mov word [0x14013dab0], ax
lea rdx, [0x14013da10]
lea r8, [0x1400bf070]
xor ecx, ecx
call fcn.140013190
nop
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret