Function at 0x140039c34
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r15
mov rbp, rsp
sub rsp, 0x50
mov eax, dword [0x14030a878]
lea r9, [rbp - 0x10]
movsd xmm0, qword [str.LPROJ__Y]
mov rbx, rdx
mov dword [rbp - 8], eax
mov rdi, rcx
mov al, byte [0x14030a87c]
xor r8d, r8d
mov byte [rbp - 4], al
mov r15d, 0x8d3dcb09
movsd qword [rbp - 0x10], xmm0
mov eax, r15d
mul r8d
shr edx, 5
movsx eax, dl
imul ecx, eax, 0x3a
mov al, r8b
inc r8d
sub al, cl
add al, 0x35
xor byte [r9], al
inc r9
cmp r8d, 0xd
jl 0x140039c76
cmp qword [rdi + 0x18], 0x10
mov r11, rdi
jb 0x140039ca8
mov r11, qword [rdi]
mov eax, dword [str.FQEKH_]
lea r9, [rbp - 0x30]
mov dword [rbp - 0x30], eax
xor r8d, r8d
movzx eax, word [0x14030b344]
mov word [rbp - 0x2c], ax
mov al, byte [0x14030b346]
mov byte [rbp - 0x2a], al
mov eax, r15d
mul r8d
shr edx, 5
movsx eax, dl
imul ecx, eax, 0x3a
mov al, r8b
inc r8d
sub al, cl
add al, 0x35
xor byte [r9], al
inc r9
cmp r8d, 7
jl 0x140039ccc
mov eax, dword [str.FQEKH_]
lea r10, [rbp - 0x20]
mov dword [rbp - 0x20], eax
xor r9d, r9d
movzx eax, word [0x14030b344]
mov word [rbp - 0x1c], ax
mov al, byte [0x14030b346]
mov byte [rbp - 0x1a], al
mov eax, r15d
mul r9d
shr edx, 5
movsx eax, dl
imul ecx, eax, 0x3a
mov al, r9b
inc r9d
sub al, cl
add al, 0x35
xor byte [r10], al
inc r10
cmp r9d, 7
jl 0x140039d15
lea r9, [rbp - 0x10]
mov r8, r11
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp byte [0x14030af23], 0
movsd xmm0, qword [str.FPRO__]
mov eax, dword [str.TPV_]
movsd qword [rbp - 0x10], xmm0
mov dword [rbp - 8], eax
je 0x140039d9a
xor r8d, r8d
lea r9, [rbp - 0x10]
mov eax, r15d
mul r8d
shr edx, 5
movsx eax, dl
imul ecx, eax, 0x3a
mov al, r8b
inc r8d
sub al, cl
add al, 0x35
xor byte [r9], al
inc r9
cmp r8d, 0xc
jl 0x140039d75
cmp qword [rbx + 0x18], 0x10
mov r10, rbx
jb 0x140039da7
mov r10, qword [rbx]
movsd xmm0, qword [str.RDRQ_I_]
lea r9, [rbp - 0x20]
mov al, byte [0x14030b288]
xor r8d, r8d
movsd qword [rbp - 0x20], xmm0
mov byte [rbp - 0x18], al
mov eax, r15d
mul r8d
shr edx, 5
movsx eax, dl
imul ecx, eax, 0x3a
mov al, r8b
inc r8d
sub al, cl
add al, 0x35
xor byte [r9], al
inc r9
cmp r8d, 9
jl 0x140039dc4
movsd xmm0, qword [str.RDRQ_I_]
lea r8, [rbp - 0x30]
mov al, byte [0x14030b288]
xor r9d, r9d
movsd qword [rbp - 0x30], xmm0
mov byte [rbp - 0x28], al
mov eax, r15d
mul r9d
shr edx, 5
movsx eax, dl
imul ecx, eax, 0x3a
mov al, r9b
inc r9d
sub al, cl
add al, 0x35
xor byte [r8], al
inc r8
cmp r9d, 9
jl 0x140039e06
lea r9, [rbp - 0x10]
mov r8, r10
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov rdx, qword [rdi + 0x18]
mov r15d, 0x1000
cmp rdx, 0x10
jb 0x140039e78
mov rcx, qword [rdi]
inc rdx
cmp rdx, r15
jb 0x140039e73
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140039edb
mov rcx, r8
call fcn.14005dff0
and qword [rdi + 0x10], 0
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140039eba
mov rcx, qword [rbx]
inc rdx
cmp rdx, r15
jb 0x140039eb5
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140039edb
mov rcx, r8
call fcn.14005dff0
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop rdi
pop rbp
ret
call fcn.14015e440
int3