Function at 0x140029d70
Capabilities:
Encode data using xor
Get session user name

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1e8]
sub rsp, 0x2c0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x1400c30c0]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov dword [rbp - 0x30], 0x64
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x110]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xor r15d, r15d
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], r15
lea rax, [rbp + 0x110]
mov rsi, 0xffffffffffffffff
mov rdi, rsi
nop
inc rdi
cmp byte [rax + rdi], r15b
jne 0x140029df0
movabs r14, 0x7fffffffffffffff
cmp rdi, r14
ja 0x14002a939
cmp rdi, 0x10
jae 0x140029e38
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], reloc.WS2_32.dll_ntohs
mov r8, rdi
lea rdx, [rbp + 0x110]
lea rcx, [rbp - 0x28]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rdi - 0x28], r15b
jmp 0x140029e8c
mov rax, rdi
or rax, 0xf
cmp rax, r14
ja 0x140029e53
mov r14, rax
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmp rax, rcx
cmovb r14, rcx
mov rdx, r14
add rdx, 1
cmovb rdx, rsi
lea rcx, [rbp - 0x28]
call fcn.140005990
mov rbx, rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], r14
mov r8, rdi
lea rdx, [rbp + 0x110]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], r15b
movups xmm0, xmmword [0x14009d4d0]
movups xmmword [rbp + 0x50], xmm0
movups xmm1, xmmword [0x14009d4e0]
movups xmmword [rbp + 0x60], xmm1
movups xmm0, xmmword [0x14009d4f0]
movups xmmword [rbp + 0x70], xmm0
movups xmm1, xmmword [0x14009d500]
movups xmmword [rbp + 0x80], xmm1
movups xmm0, xmmword [0x14009d510]
movups xmmword [rbp + 0x90], xmm0
mov eax, dword [0x14009d520]
mov dword [rbp + 0xa0], eax
movups xmm0, xmmword [0x14009d530]
movups xmmword [rbp + 0xb0], xmm0
movups xmm1, xmmword [0x14009d540]
movups xmmword [rbp + 0xc0], xmm1
movups xmm0, xmmword [0x14009d550]
movups xmmword [rbp + 0xd0], xmm0
movups xmm1, xmmword [0x14009d560]
movups xmmword [rbp + 0xe0], xmm1
movups xmm0, xmmword [0x14009d570]
movups xmmword [rbp + 0xf0], xmm0
movsd xmm0, qword [0x14009d580]
movsd qword [rbp + 0x100], xmm0
movups xmm1, xmmword [0x14009d590]
movups xmmword [rbp], xmm1
movups xmm0, xmmword [0x14009d5a0]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [0x14009d5b0]
movups xmmword [rbp + 0x20], xmm1
movups xmm0, xmmword [0x14009d5c0]
movups xmmword [rbp + 0x30], xmm0
movsd xmm0, qword [0x14009d5d0]
movsd qword [rbp + 0x40], xmm0
mov eax, dword [0x14009d5d8]
mov dword [rbp + 0x48], eax
movzx eax, word [0x14009d5dc]
mov word [rbp + 0x4c], ax
movzx r14d, byte [0x14009d5de]
mov byte [rbp + 0x4e], r14b
mov r12d, 5
lea r13d, [r12 + 0x1a]
mov edi, dword [reloc.WS2_32.dll_accept]
cmp byte [rbp + 0xa3], 0
je 0x14002a143
mov r8d, r15d
cmp edi, 2
jl 0x14002a0ff
movdqa xmm5, xmmword [0x1400b5490]
movdqa xmm4, xmmword [0x14009eb80]
movd xmm6, r12d
movdqa xmm7, xmmword [str.::::]
movd xmm8, r13d
movdqa xmm0, xmmword [0x14009ea60]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rbp + 0x54]
mov edx, dword [rsp + 0x20]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
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
pand xmm2, xmmword [0x1400b54c0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
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
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400b54c0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x50
jl 0x140029ff0
cmp r8d, 0x54
jge 0x14002a143
movsxd rax, r8d
lea r9, [rbp + 0x50]
add r9, rax
nop dword [rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x54
jl 0x14002a110
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
lea rax, [rbp + 0x50]
mov r8, rsi
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14002a160
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.1400068c0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140029250
nop
lea rdx, [rbp - 0x28]
mov rcx, rax
call fcn.140028d50
movzx ebx, al
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14002a1d7
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a1d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002a1d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140098300
test bl, bl
jne 0x14002a8b9
cmp byte [rbp + 0x107], bl
je 0x14002a383
cmp edi, 2
jl 0x14002a33c
movdqa xmm5, xmmword [0x1400b5490]
mov edx, r15d
movdqa xmm4, xmmword [0x14009eb80]
movd xmm6, r12d
movdqa xmm7, xmmword [str.::::]
movd xmm8, r13d
movdqa xmm0, xmmword [0x14009ea60]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rbp + 0xb4]
mov r8d, dword [rsp + 0x20]
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
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
pand xmm2, xmmword [0x1400b54c0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
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
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400b54c0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x58
jl 0x14002a233
jmp 0x14002a383
lea r9, [rbp + 0xb0]
mov r8d, r15d
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x58
jl 0x14002a350
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
lea rax, [rbp + 0xb0]
mov r8, rsi
nop
inc r8
cmp byte [rax + r8], 0
jne 0x14002a3a0
lea rdx, [rbp + 0xb0]
lea rcx, [rsp + 0x30]
call fcn.1400068c0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140029250
nop
lea rdx, [rbp - 0x28]
mov rcx, rax
call fcn.140028d50
movzx ebx, al
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14002a41a
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a415
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002a415
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140098300
test bl, bl
jne 0x14002a8b9
movups xmm0, xmmword [str.CLII]
movups xmmword [rsp + 0x30], xmm0
mov eax, dword [0x14009d5f0]
mov dword [rsp + 0x40], eax
movzx eax, word [0x14009d5f4]
mov word [rsp + 0x44], ax
movzx eax, byte [0x14009d5f6]
mov byte [rsp + 0x46], al
mov r8d, r15d
cmp edi, 2
jl 0x14002a5af
movdqa xmm5, xmmword [0x1400b5490]
movdqa xmm4, xmmword [0x14009eb80]
movd xmm6, r12d
movdqa xmm7, xmmword [str.::::]
movd xmm8, r13d
movdqa xmm0, xmmword [0x14009ea60]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x34]
mov edx, dword [rsp + 0x20]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
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
pand xmm2, xmmword [0x1400b54c0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
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
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400b54c0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x14002a4a0
cmp r8d, 0x17
jge 0x14002a5f3
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x17
jl 0x14002a5c0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], r15
lea rax, [rsp + 0x30]
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14002a610
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.1400068c0
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x50]
call fcn.140029250
mov rbx, rax
test r14b, r14b
je 0x14002a7de
mov ecx, r15d
cmp edi, 2
jl 0x14002a79c
movdqa xmm5, xmmword [0x1400b5490]
movdqa xmm4, xmmword [0x14009eb80]
movd xmm6, r12d
movdqa xmm7, xmmword [str.::::]
movd xmm8, r13d
movdqa xmm0, xmmword [0x14009ea60]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rbp + 4]
mov r8d, dword [rsp + 0x20]
nop dword [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
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
pand xmm2, xmmword [0x1400b54c0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
pxor xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
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
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400b54c0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
pxor xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x48
jl 0x14002a690
cmp ecx, 0x4f
jge 0x14002a7de
movsxd rax, ecx
lea r8, [rbp]
add r8, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
sub al, dl
add al, 0x36
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x4f
jl 0x14002a7b0
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], r15
lea rax, [rbp]
inc rsi
cmp byte [rax + rsi], 0
jne 0x14002a7f1
mov r8, rsi
lea rdx, [rbp]
lea rcx, [rbp - 0x70]
call fcn.1400068c0
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x50]
call fcn.140029250
nop
mov rdx, rbx
mov rcx, rax
call fcn.140028d50
movzx ebx, al
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14002a867
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a862
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002a862
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140098300
movdqa xmm0, xmmword [0x1400b5480]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x14002a8b9
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a8b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002a8b3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140098300
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x14002a8f7
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a8f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002a8f2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140098300
movzx eax, bl
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400982e0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001d80
int3