Function at 0x14003e360
Capabilities:
Encode data using xor
Read .ini file

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rbp
lea rbp, [r11 - 0x48]
sub rsp, 0x140
mov rax, qword [0x14024b028]
xor rax, rsp
mov qword [rbp], rax
movups xmm0, xmmword [0x14022f450]
mov r10d, dword [reloc.WS2_32.dll_accept]
mov rbx, rcx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
xor edi, edi
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movups xmmword [rsp + 0x78], xmm0
lea esi, [rdi + 0x1f]
mov qword [rsp + 0x30], rcx
psrldq xmm0, 0xf
movd eax, xmm0
movaps xmmword [r11 - 0x38], xmm8
lea r11d, [rdi + 1]
test al, al
je 0x14003e560
cmp r10d, 2
jl 0x14003e51f
movdqa xmm0, xmmword [str.8888888888888888]
lea rcx, [rsp + 0x7c]
movdqa xmm5, xmmword [0x140230000]
mov edx, edi
movdqa xmm4, xmmword [0x1402300b0]
movdqa xmm7, xmmword [0x140230020]
movdqa xmmword [rsp + 0x30], xmm0
mov r8d, dword [rsp + 0x30]
movd xmm6, r11d
movd xmm8, esi
nop dword [rax]
nop word [rax + rax]
movd xmm2, edx
lea eax, [rdx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add edx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1402300a0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1402300a0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x10
jl 0x14003e420
jmp 0x14003e560
lea r9, [rsp + 0x78]
mov r8d, edi
nop word [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x38
xor byte [r9 - 1], al
cmp r8d, 0x10
jl 0x14003e530
movzx eax, byte [0x14022f038]
mov r8d, edi
mov byte [rsp + 0x58], al
movups xmm0, xmmword [0x14022f028]
movups xmmword [rsp + 0x48], xmm0
cmp r10d, 2
jl 0x14003e6c5
movdqa xmm0, xmmword [str.8888888888888888]
lea rcx, [rsp + 0x4c]
movdqa xmm5, xmmword [0x140230000]
movdqa xmm4, xmmword [0x1402300b0]
movdqa xmm7, xmmword [0x140230020]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x30]
movd xmm6, r11d
movd xmm8, esi
nop dword [rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1402300a0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1402300a0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x14003e5c0
cmp r8d, 0x11
jge 0x14003e700
movsxd rax, r8d
lea r9, [rsp + 0x48]
add r9, rax
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x38
xor byte [r9 - 1], al
cmp r8d, 0x11
jl 0x14003e6d0
movzx eax, byte [0x14022f038]
mov ecx, edi
mov byte [rsp + 0x70], al
movups xmm0, xmmword [0x14022f028]
movups xmmword [rsp + 0x60], xmm0
cmp r10d, 2
jl 0x14003e862
movdqa xmm0, xmmword [str.8888888888888888]
lea rdx, [rsp + 0x64]
movdqa xmm5, xmmword [0x140230000]
movdqa xmm4, xmmword [0x1402300b0]
movdqa xmm7, xmmword [0x140230020]
movdqa xmmword [rsp + 0x30], xmm0
mov r8d, dword [rsp + 0x30]
movd xmm6, r11d
movd xmm8, esi
nop dword [rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1402300a0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1402300a0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x14003e760
cmp ecx, 0x11
jge 0x14003e89c
movsxd rax, ecx
lea r8, [rsp + 0x60]
add r8, rax
nop dword [rax]
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
inc ecx
sub al, dl
add al, 0x38
xor byte [r8 - 1], al
cmp ecx, 0x11
jl 0x14003e870
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x70]
lea r8, [0x14021d1ee]
mov dword [rsp + 0x20], 0x64
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movaps xmm8, xmmword [rsp + 0x110]
lea rax, [rbp - 0x70]
movaps xmm7, xmmword [rsp + 0x120]
xorps xmm0, xmm0
movaps xmm6, xmmword [rsp + 0x130]
mov r8, 0xffffffffffffffff
mov rsi, qword [rsp + 0x158]
mov qword [rbx], rdi
movups xmmword [rbx + 8], xmm0
mov qword [rbx + 0x18], rdi
mov qword [rbx + 0x20], rdi
mov rdi, qword [rsp + 0x160]
nop
inc r8
cmp byte [rax + r8], 0
jne 0x14003e910
lea rdx, [rbp - 0x70]
mov rcx, rbx
call fcn.14005f2b0
mov rax, rbx
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400753c0
mov rbx, qword [rsp + 0x168]
add rsp, 0x140
pop rbp
ret