Function at 0x1400b53e0
Capabilities:
Encode data using xor
Query environment variable

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x170
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x180], rbx
mov rax, qword [0x14010d010]
xor rax, rbp
mov qword [rbp + 0x120], rax
mov r13, rdx
mov r12, rcx
mov qword [rbp], rcx
mov r8, qword [rdx + 8]
lea rdi, [0x1400fd690]
mov r9d, dword [rdx + 0x14]
inc r9d
test r8, r8
jne 0x1400b5434
mov r8, rdi
xor eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar_1]
movsxd rdx, eax
mov rax, rdx
add rax, rax
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x1400b5468
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400eec80
sub rsp, rcx
lea r15, [rsp + 0x40]
mov r9d, dword [r13 + 0x14]
inc r9d
mov rax, qword [r13 + 8]
test rax, rax
cmovne rdi, rax
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], r15
mov r8, rdi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar_1]
mov ecx, 0x208
mov r14d, 0x104
call fcn.1400dee90
mov rbx, rax
mov r8d, r14d
mov rdx, rax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
test eax, eax
je 0x1400b5527
nop
mov esi, edi
cmp r14, rsi
jae 0x1400b55c6
lea rdx, [rsi + rsi]
add r14, r14
cmp r14, rdx
je 0x1400b550f
test r14, r14
jne 0x1400b54f6
mov rcx, rdx
call fcn.1400dee90
jmp 0x1400b550c
mov rcx, rbx
test rdx, rdx
jne 0x1400b5507
call fcn.1400dee7c
xor ebx, ebx
jmp 0x1400b550f
call fcn.1400dee98
mov rbx, rax
mov r14, rsi
mov r8d, edi
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
test eax, eax
jne 0x1400b54d0
call qword [sym.imp.KERNEL32.dll_GetLastError_1]
mov esi, eax
cmp eax, 0xcb
je 0x1400b5a7b
test eax, eax
je 0x1400b5a7b
mov rax, qword [0x140110350]
mov qword [rbp], rax
xor r15d, r15d
mov qword [rbp + 0xa0], r15
mov qword [rbp + 0xb0], r15
mov eax, 0xf
mov qword [rbp + 0xb8], rax
mov byte [rbp + 0xa0], r15b
lea ecx, [rax + 0x21]
call fcn.1400d83b8
mov r8, rax
mov qword [rbp + 0xb0], 0x28
mov qword [rbp + 0xb8], 0x2f
xorps xmm0, xmm0
xor eax, eax
movups xmmword [r8], xmm0
movups xmmword [r8 + 0x10], xmm0
mov qword [r8 + 0x20], rax
mov byte [r8 + 0x28], al
mov qword [rbp + 0xa0], r8
lea rax, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0x10
jb 0x1400b55e7
movsx ecx, byte [r8]
jmp 0x1400b55f1
mov rdx, rbx
mov rcx, r12
call fcn.1400bc090
test rbx, rbx
je 0x1400b5a92
mov rcx, rbx
call fcn.1400dee7c
jmp 0x1400b5a92
movsx ecx, byte [rax]
lea r8, [rbp + 0xa0]
add ecx, 0x79ee5d8
mov r9, r15
lea r10, [0x140102e90]
sub r8, r10
nop dword [rax]
nop dword [rax + rax]
lea rdx, [r9 + r10]
mov eax, ecx
shr eax, 8
xor al, byte [rdx]
mov byte [rdx + r8], al
imul ecx, ecx, 0xe0f5
add ecx, 0x6311ff91
mov eax, ecx
shr eax, 8
xor al, byte [rdx + 1]
mov byte [rdx + r8 + 1], al
imul ecx, ecx, 0xe0f5
add ecx, 0x6311ff91
add r9, 2
cmp r9, 0x28
jb 0x1400b5610
lea r14, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0x10
cmovae r14, qword [rbp + 0xa0]
lea rax, [0x1400fdb18]
mov qword [rbp + 0x10], rax
lea rdx, [0x1401029c8]
mov rcx, rdx
nop word [rax + rax]
inc rcx
cmp byte [rcx], 0
jne 0x1400b5680
sub ecx, edx
lea eax, [rcx + 1]
mov dword [rbp + 0x20], eax
mov dword [rbp + 0x24], ecx
movsxd rcx, eax
test eax, eax
jne 0x1400b569f
mov rdi, r15
jmp 0x1400b56ae
call fcn.1400dee90
mov rdi, rax
lea rdx, [0x1401029c8]
mov qword [rbp + 0x18], rdi
mov r8, rdx
inc r8
cmp byte [r8], 0
jne 0x1400b56b5
sub r8, rdx
inc r8
mov rcx, rdi
call fcn.1400dc350
nop
mov qword [rbp + 0xe0], r15
mov ecx, 0xf
mov qword [rbp + 0xf8], rcx
mov byte [rbp + 0xe0], 0
mov qword [rbp + 0xf0], 1
xor eax, eax
mov word [rbp + 0xe0], ax
lea rax, [rbp + 0xe0]
movsx eax, byte [rax]
add eax, 0x79ee5d8
lea rcx, [rbp + 0xe0]
shr eax, 8
xor al, 0xc2
mov byte [rcx], al
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x88]
call fcn.1400bc100
mov qword [rbp + 8], rax
mov ecx, 0x40
call fcn.1400d83b8
mov r9, rax
mov qword [rbp + 0x110], 0x30
mov qword [rbp + 0x118], 0x3f
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
mov byte [rax + 0x30], 0
mov qword [rbp + 0x100], rax
movsx ecx, byte [rax]
add ecx, 0x79ee5d8
mov r8, r15
lea r10, [0x140102f60]
sub r9, r10
lea rdx, [r8 + r10]
mov eax, ecx
shr eax, 8
xor al, byte [rdx]
mov byte [rdx + r9], al
imul ecx, ecx, 0xe8f5
add ecx, 0x6311ff91
mov eax, ecx
shr eax, 8
xor al, byte [rdx + 1]
mov byte [rdx + r9 + 1], al
imul ecx, ecx, 0xe8f5
add ecx, 0x6311ff91
add r8, 2
cmp r8, 0x30
jb 0x1400b5781
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x70]
call fcn.1400bc100
mov r15, rax
mov edx, esi
lea rcx, [rbp + 0x58]
call fcn.1400bbb90
nop
xor esi, esi
mov qword [rbp + 0xc0], rsi
mov ecx, 0xf
mov qword [rbp + 0xd8], rcx
mov byte [rbp + 0xc0], sil
mov qword [rbp + 0xd0], 6
xor eax, eax
mov dword [rbp + 0xc0], eax
mov word [rbp + 0xc4], ax
mov byte [rbp + 0xc6], al
lea rax, [rbp + 0xc0]
movsx ecx, byte [rax]
add ecx, 0x79ee5d8
lea r8, [rbp + 0xc0]
mov eax, ecx
shr eax, 8
xor al, 0xa0
mov byte [r8], al
imul ecx, ecx, 0xbef5
add ecx, 0x6311ff91
mov eax, ecx
shr eax, 8
xor al, 0x35
mov byte [r8 + 1], al
imul edx, ecx, 0xbef5
add edx, 0x6311ff91
mov eax, edx
shr eax, 8
xor al, 0x14
mov byte [r8 + 2], al
imul ecx, edx, 0xbef5
add ecx, 0x6311ff91
mov eax, ecx
shr eax, 8
xor al, 0xc5
mov byte [r8 + 3], al
imul edx, ecx, 0xbef5
add edx, 0x6311ff91
mov eax, edx
shr eax, 8
xor al, 0x63
mov byte [r8 + 4], al
imul eax, edx, 0xbef5
add eax, 0x6311ff91
shr eax, 8
xor al, 0xcc
mov byte [r8 + 5], al
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x40]
call fcn.1400bc100
nop
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rbp + 8]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r13
mov r9, r15
lea r8, [rbp + 0x58]
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.1400bb720
nop
mov dword [rsp + 0x20], esi
mov r9d, 0x4fe
mov r8, r14
mov rdx, qword [rax + 8]
mov rcx, qword [rbp]
call fcn.1400ca320
nop
lea rsi, [0x1400fdb18]
mov qword [rbp + 0x28], rsi
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x1400b591c
call fcn.1400dee7c
nop
mov qword [rbp + 0x40], rsi
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x1400b592f
call fcn.1400dee7c
nop
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x10
jb 0x1400b5971
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b596b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b5ac4
call fcn.1400d83b0
nop
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x1400b5980
call fcn.1400dee7c
nop
mov qword [rbp + 0x70], rsi
mov rcx, qword [rbp + 0x78]
test rcx, rcx
je 0x1400b5993
call fcn.1400dee7c
nop
mov rdx, qword [rbp + 0x118]
cmp rdx, 0x10
jb 0x1400b59d5
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b59cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b5aca
call fcn.1400d83b0
nop
mov qword [rbp + 0x88], rsi
mov rcx, qword [rbp + 0x90]
test rcx, rcx
je 0x1400b59ee
call fcn.1400dee7c
nop
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0x10
jb 0x1400b5a30
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b5a2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b5ad0
call fcn.1400d83b0
nop
test rdi, rdi
je 0x1400b5a3e
mov rcx, rdi
call fcn.1400dee7c
nop
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0x10
jb 0x1400b5a7b
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b5a76
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b5abe
call fcn.1400d83b0
test rbx, rbx
je 0x1400b5a88
mov rcx, rbx
call fcn.1400dee7c
xor edx, edx
mov rcx, r12
call fcn.1400bc090
mov rax, r12
mov rcx, qword [rbp + 0x120]
xor rcx, rbp
call fcn.1400d8390
mov rbx, qword [rbp + 0x180]
lea rsp, [rbp + 0x130]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400ded50
nop
call fcn.1400ded50
nop
call fcn.1400ded50
nop
call fcn.1400ded50
int3