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

Disassembly:
mov r11, rsp
push rbp
push rbx
lea rbp, [r11 - 0x5e8]
sub rsp, 0x6d8
mov rax, qword [0x1802b5380]
xor rax, rsp
mov qword [rbp + 0x590], rax
mov qword [r11 - 0x18], rsi
mov rsi, r9
mov qword [r11 - 0x20], rdi
mov rdi, qword [rbp + 0x610]
mov qword [r11 - 0x28], r12
movzx r12d, cx
mov qword [r11 - 0x30], r13
xor ecx, ecx
mov qword [r11 - 0x40], r15
mov r13, rdx
mov r15, r8
lea rdx, [rbp + 0x270]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
lea rax, [rbp + 0x270]
xorps xmm1, xmm1
mov r8, 0xffffffffffffffff
movups xmmword [rbp - 0x30], xmm0
movdqu xmmword [rbp - 0x20], xmm1
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1800549e0
lea rdx, [rbp + 0x270]
lea rcx, [rbp - 0x30]
call fcn.180002d60
xor ebx, ebx
mov dword [rbp - 0x40], 0x8ea4b492
mov edx, ebx
mov dword [rbp - 0x3c], 0xe3a9a6ab
mov dword [rbp - 0x38], 0xb5b7ab
nop dword [rax]
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rbp - 0x40]
add rcx, rax
lea eax, [rdx - 0x3a]
inc edx
xor byte [rcx], al
cmp edx, 0xb
jb 0x180054a20
xor r8d, r8d
mov byte [rbp - 0x35], bl
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.180054650
cmp rax, 0xffffffffffffffff
je 0x180054dbb
cmp dword [r15 + 0x28], 1
mov qword [rsp + 0x6b0], r14
jle 0x180054dac
movups xmm0, xmmword [rsi]
lea r9, [rsp + 0x34]
xor edx, edx
movups xmm1, xmmword [rsi + 0x10]
lea r8, [rsp + 0x30]
xor ecx, ecx
movaps xmmword [0x1802bab40], xmm0
movups xmm0, xmmword [rsi + 0x20]
mov dword [rsp + 0x30], ebx
movaps xmmword [0x1802bab50], xmm1
movups xmm1, xmmword [rsi + 0x30]
movaps xmmword [0x1802bab60], xmm0
movups xmm0, xmmword [rsi + 0x40]
movaps xmmword [0x1802bab70], xmm1
movups xmm1, xmmword [rsi + 0x50]
movaps xmmword [0x1802bab80], xmm0
movups xmm0, xmmword [rsi + 0x60]
movaps xmmword [0x1802bab90], xmm1
movsd xmm1, qword [rsi + 0x70]
movaps xmmword [0x1802baba0], xmm0
movsd qword [0x1802babb0], xmm1
call sub.WS2_32.dll_WSCEnumProtocols
cmp eax, 0xffffffff
jne 0x180054aef
cmp dword [rsp + 0x34], 0x2747
je 0x180054aef
mov r11d, dword [rsp + 0x38]
mov r14, rbx
jmp 0x180054b18
mov edx, dword [rsp + 0x30]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea r9, [rsp + 0x34]
xor ecx, ecx
mov rdx, rax
lea r8, [rsp + 0x30]
mov r14, rax
call sub.WS2_32.dll_WSCEnumProtocols
mov r11d, eax
mov r10d, dword [r15 + 0x30]
mov r8d, ebx
movsxd r9, r11d
test r11d, r11d
jle 0x180054bf3
mov rdx, rbx
lea rcx, [r14 + 0x24]
cmp dword [rcx], r10d
je 0x180054b4e
inc r8d
inc rdx
add rcx, 0x274
cmp rdx, r9
jl 0x180054b32
jmp 0x180054bf3
movsxd rax, r8d
lea rcx, [rbp - 0x10]
imul rax, rax, 0x274
mov edx, 4
add rax, r14
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x180054b64
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
mov eax, dword [rax + 0x70]
mov dword [rcx + 0x70], eax
cmp r8d, r11d
jge 0x180054dac
lea r9, [rsp + 0x3c]
mov dword [rsp + 0x38], 0x104
lea r8, [rsp + 0x38]
lea rdx, [rbp + 0x380]
lea rcx, [rbp + 4]
call sub.WS2_32.dll_WSCGetProviderPath
cmp eax, 0xffffffff
je 0x180054dac
mov r8d, 0x104
lea rdx, [rbp + 0x380]
lea rcx, [rbp + 0x380]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x180054dac
lea rcx, [rbp + 0x380]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r8, rax
test rax, rax
je 0x180054dac
xor eax, eax
mov dword [rbp - 0x40], 0x9a989491
mov byte [rbp - 0x36], al
mov edx, ebx
mov dword [rbp - 0x3c], 0xb9beaabe
mov word [rbp - 0x38], 0xbfbb
nop dword [rax]
movsxd rax, edx
lea rcx, [rbp - 0x40]
add rcx, rax
lea eax, [rdx - 0x3a]
inc edx
xor byte [rcx], al
cmp edx, 0xa
jb 0x180054c80
lea rdx, [rbp - 0x40]
mov byte [rbp - 0x36], bl
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180054dac
movups xmm0, xmmword [rsi]
cmp dword [rbp + 0x18], 1
lea r8, [rbp - 0x10]
movups xmm1, xmmword [rsi + 0x10]
lea r9, [rsp + 0x40]
cmovne r8, r15
movaps xmmword [rsp + 0x40], xmm0
mov rdx, r13
movups xmm0, xmmword [rsi + 0x20]
movzx ecx, r12w
mov qword [rsp + 0x20], rdi
movaps xmmword [rsp + 0x50], xmm1
movups xmm1, xmmword [rsi + 0x30]
movaps xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [rsi + 0x40]
movaps xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [rsi + 0x50]
movaps xmmword [rbp - 0x80], xmm0
movups xmm0, xmmword [rsi + 0x60]
movaps xmmword [rbp - 0x70], xmm1
movsd xmm1, qword [rsi + 0x70]
movaps xmmword [rbp - 0x60], xmm0
movsd qword [rbp - 0x50], xmm1
call rax
test eax, eax
jne 0x180054db1
movups xmm0, xmmword [rdi]
lea rax, [0x1802babc0]
mov rcx, r14
movups xmmword [rax], xmm0
lea rax, [rax + 0x80]
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rax - 0x70], xmm1
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rax - 0x60], xmm0
movups xmm1, xmmword [rdi + 0x30]
movups xmmword [rax - 0x50], xmm1
movups xmm0, xmmword [rdi + 0x40]
movups xmmword [rax - 0x40], xmm0
movups xmm1, xmmword [rdi + 0x50]
movups xmmword [rax - 0x30], xmm1
movups xmm0, xmmword [rdi + 0x60]
movups xmmword [rax - 0x20], xmm0
movups xmm1, xmmword [rdi + 0x70]
sub rdi, 0xffffffffffffff80
movups xmmword [rax - 0x10], xmm1
movups xmm0, xmmword [rdi]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rdi + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rdi + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rdi + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rdi + 0x60]
movups xmmword [rax + 0x60], xmm0
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x180054db3
mov eax, 0x277a
mov ebx, eax
mov r14, qword [rsp + 0x6b0]
mov rdx, qword [rbp - 0x18]
mov r15, qword [rsp + 0x6a8]
mov r13, qword [rsp + 0x6b8]
mov r12, qword [rsp + 0x6c0]
mov rdi, qword [rsp + 0x6c8]
mov rsi, qword [rsp + 0x6d0]
cmp rdx, 0xf
jbe 0x180054e1a
mov rcx, qword [rbp - 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180054e15
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180054e35
call fcn.180054f48
mov eax, ebx
mov rcx, qword [rbp + 0x590]
xor rcx, rsp
call fcn.1800553d0
add rsp, 0x6d8
pop rbx
pop rbp
ret
call fcn.18005c2fc
int3