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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x7ff7aa74f840]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rdi, rdx
mov qword [rbp + 0x108], rdx
xor esi, esi
mov dword [rbp + 0x110], 0x64
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x160]
call qword [sym.imp.advapi32.dll_GetUserNameA]
xorps xmm0, xmm0
movups xmmword [rbp + 0x118], xmm0
mov qword [rbp + 0x128], rsi
mov qword [rbp + 0x130], rsi
lea rax, [rbp + 0x160]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x7ff7aa56a303
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x118]
call fcn.7ff7aa570130
nop
movsd xmm0, qword [0x7ff7aa717e48]
movsd qword [rsp + 0x48], xmm0
movzx eax, word [0x7ff7aa717e50]
mov word [rsp + 0x50], ax
mov eax, dword [0x7ff7aa718284]
mov dword [rsp + 0x30], eax
movzx eax, word [0x7ff7aa718288]
mov word [rsp + 0x34], ax
movzx eax, byte [0x7ff7aa71828a]
cmp byte [0x7ff7aa717e51], 0
je 0x7ff7aa56a393
mov byte [rsp + 0x48], 0x26
xor byte [rsp + 0x49], 0x34
xor byte [rsp + 0x4a], 0x35
xor byte [rsp + 0x4b], 0x36
xor byte [rsp + 0x4c], 0x37
xor byte [rsp + 0x4d], 0x38
xor byte [rsp + 0x4e], 0x39
xor byte [rsp + 0x4f], 0x3a
xor byte [rsp + 0x50], 0x3b
xor byte [rsp + 0x51], 0x3c
mov byte [rsp + 0x30], 0x26
xor byte [rsp + 0x31], 0x34
xor byte [rsp + 0x32], 0x35
xor byte [rsp + 0x33], 0x36
xor byte [rsp + 0x34], 0x37
xor byte [rsp + 0x35], 0x38
xor al, 0x39
mov byte [rsp + 0x36], al
movsd xmm0, qword [0x7ff7aa717e10]
movsd qword [rsp + 0x58], xmm0
mov eax, dword [0x7ff7aa717e18]
mov dword [rsp + 0x60], eax
cmp byte [0x7ff7aa717e1b], 0
je 0x7ff7aa56a50c
mov ecx, esi
cmp dword [0x7ff7aa74f8a0], 2
jl 0x7ff7aa56a4d0
movdqa xmm4, xmmword [0x7ff7aa72ece0]
movdqa xmm2, xmmword [0x7ff7aa72d8f0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x7ff7aa72d950]
psubd xmm2, xmm0
andps xmm2, xmmword [0x7ff7aa72d9b0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x7ff7aa72dbf0]
movd xmm0, dword [0x7ff7aa717e10]
xorps xmm2, xmm0
movd dword [rsp + 0x58], xmm2
movdqa xmm2, xmmword [0x7ff7aa72d940]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x7ff7aa72d950]
psubd xmm2, xmm0
andps xmm2, xmmword [0x7ff7aa72d9b0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x7ff7aa72dbf0]
movd xmm0, dword [rsp + 0x5c]
xorps xmm2, xmm0
movd dword [rsp + 0x5c], xmm2
mov ecx, 8
movsxd rax, ecx
lea r8, [rsp + 0x58]
add r8, rax
nop dword [rax + rax]
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
sub al, dl
add al, 0x33
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xc
jl 0x7ff7aa56a4e0
movsd xmm0, qword [0x7ff7aa717e38]
movsd qword [rsp + 0x38], xmm0
movzx eax, word [0x7ff7aa717e40]
mov word [rsp + 0x40], ax
movsd xmm0, qword [0x7ff7aa718070]
movzx eax, byte [0x7ff7aa718078]
movsd qword [rsp + 0x20], xmm0
cmp byte [0x7ff7aa717e41], 0
je 0x7ff7aa56a576
mov byte [rsp + 0x38], 0x26
xor byte [rsp + 0x39], 0x34
xor byte [rsp + 0x3a], 0x35
xor byte [rsp + 0x3b], 0x36
xor byte [rsp + 0x3c], 0x37
xor byte [rsp + 0x3d], 0x38
xor byte [rsp + 0x3e], 0x39
xor byte [rsp + 0x3f], 0x3a
xor byte [rsp + 0x40], 0x3b
xor byte [rsp + 0x41], 0x3c
mov byte [rsp + 0x20], 0x26
xor byte [rsp + 0x21], 0x34
xor byte [rsp + 0x22], 0x35
xor byte [rsp + 0x23], 0x36
xor byte [rsp + 0x24], 0x37
xor byte [rsp + 0x25], 0x38
xor byte [rsp + 0x26], 0x39
xor byte [rsp + 0x27], 0x3a
xor al, 0x3b
mov byte [rsp + 0x28], al
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x98], xmm1
lea rax, [rsp + 0x20]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x7ff7aa56a5c1
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x88]
call fcn.7ff7aa570130
nop
movsd xmm0, qword [0x7ff7aa718270]
movsd qword [rsp + 0x20], xmm0
movzx eax, byte [0x7ff7aa718278]
mov byte [rsp + 0x20], 0x74
xor byte [rsp + 0x21], 0x34
xor byte [rsp + 0x22], 0x35
xor byte [rsp + 0x23], 0x36
xor byte [rsp + 0x24], 0x37
xor byte [rsp + 0x25], 0x38
xor byte [rsp + 0x26], 0x39
xor byte [rsp + 0x27], 0x3a
xor al, 0x3b
mov byte [rsp + 0x28], al
lea rax, [rsp + 0x20]
mov r9, rbx
nop dword [rax + rax]
inc r9
cmp byte [rax + r9], 0
jne 0x7ff7aa56a630
lea r8, [rsp + 0x20]
xor edx, edx
lea rcx, [rbp + 0x88]
call fcn.7ff7aa572650
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x78], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp + 0x118]
cmp qword [rbp + 0x130], 0xf
cmova rdx, qword [rbp + 0x118]
mov r8, qword [rbp + 0x128]
lea rcx, [rbp + 0x68]
call fcn.7ff7aa56c360
xorps xmm0, xmm0
movups xmmword [rbp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x58], xmm1
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], rsi
mov byte [rax], 0
lea rax, [rsp + 0x38]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x7ff7aa56a6d6
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x48]
call fcn.7ff7aa56c360
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x38], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x38], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x7ff7aa56a728
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rbp + 0x28]
call fcn.7ff7aa56c360
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x18], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x18], xmm1
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], rsi
mov byte [rax], 0
lea rax, [rsp + 0x58]
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x7ff7aa56a770
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 8]
call fcn.7ff7aa56c360
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 8], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [0x7ff7aa7ead40]
cmp qword [0x7ff7aa7ead58], 0xf
cmova rdx, qword [0x7ff7aa7ead40]
mov r8, qword [0x7ff7aa7ead50]
lea rcx, [rbp - 0x18]
call fcn.7ff7aa56c360
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x28], xmm1
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], rsi
mov byte [rax], 0
lea rax, [rsp + 0x30]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x7ff7aa56a811
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x38]
call fcn.7ff7aa56c360
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [0x7ff7aa7eaad8]
cmp qword [0x7ff7aa7eaaf0], 0xf
cmova rdx, qword [0x7ff7aa7eaad8]
mov r8, qword [0x7ff7aa7eaae8]
lea rcx, [rbp - 0x58]
call fcn.7ff7aa56c360
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], rsi
mov byte [rax], 0
lea rax, [rsp + 0x48]
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x7ff7aa56a8b0
mov r8, rbx
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x78]
call fcn.7ff7aa56c360
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [0x7ff7aa7eab58]
cmp qword [0x7ff7aa7eab70], 0xf
cmova rdx, qword [0x7ff7aa7eab58]
mov r8, qword [0x7ff7aa7eab68]
lea rcx, [rsp + 0x68]
call fcn.7ff7aa56c360
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x138], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x148], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rsp + 0x68]
call fcn.7ff7aa56d8f0
nop
lea rcx, [rbp - 0x78]
call fcn.7ff7aa56d8f0
nop
lea rcx, [rbp - 0x58]
call fcn.7ff7aa56d8f0
nop
lea rcx, [rbp - 0x38]
call fcn.7ff7aa56d8f0
nop
lea rcx, [rbp - 0x18]
call fcn.7ff7aa56d8f0
nop
lea rcx, [rbp + 8]
call fcn.7ff7aa56d8f0
nop
lea rcx, [rbp + 0x28]
call fcn.7ff7aa56d8f0
nop
lea rcx, [rbp + 0x48]
call fcn.7ff7aa56d8f0
nop
lea rcx, [rbp + 0x68]
call fcn.7ff7aa56d8f0
nop
lea rcx, [rbp + 0x88]
call fcn.7ff7aa56d8f0
lea rax, [rbp + 0xa8]
mov qword [rsp + 0x30], rax
lea rdx, [0x7ff7aa7eaaf8]
lea rcx, [rbp + 0xa8]
call fcn.7ff7aa56c5d0
mov rbx, rax
lea rdx, [rbp + 0x138]
lea rcx, [rbp + 0xc8]
call fcn.7ff7aa56c5d0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0xe8]
call fcn.7ff7aa566370
lea rcx, [rbp + 0xe8]
call fcn.7ff7aa56d8f0
nop
lea rcx, [rbp + 0x138]
call fcn.7ff7aa56d8f0
nop
lea rcx, [rbp + 0x118]
call fcn.7ff7aa56d8f0
nop
mov rcx, rdi
call fcn.7ff7aa56d8f0
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.7ff7aa6d76b0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret