Function at 0x140264080
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x130
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1404aa0c0]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r14, rdx
mov r15, rcx
xor edi, edi
mov dword [rsp + 0x34], edi
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rsp + 0x38]
call fcn.1402538c0
mov qword [rbp - 0x50], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp - 0x50]
lea edx, [rdi + 0x28]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea ebx, [rdi + 1]
test eax, eax
jne 0x1402640f3
movzx esi, bl
jmp 0x140264165
mov qword [rbp - 0x40], rdi
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 7
cmova rdx, qword [rsp + 0x38]
lea r8, [rbp - 0x40]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x14026411d
movzx esi, bl
jmp 0x140264165
mov dword [rbp - 0x30], ebx
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x2c], rax
mov dword [rbp - 0x24], 2
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rbp - 0x30]
xor edx, edx
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x140264158
movzx esi, bl
jmp 0x140264165
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor sil, sil
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x1402641aa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402641a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1402641a5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14033ef04
test sil, sil
jne 0x14026461b
xor r8d, r8d
mov rdx, r15
lea rcx, [rsp + 0x58]
call fcn.140266e60
mov rsi, rax
mov qword [rbp - 0x40], rdi
lea rax, [0x1404aa140]
mov qword [rbp - 0x38], rax
lea r8, [rbp - 0x40]
mov rdx, rsi
lea rcx, [rbp - 0x70]
call fcn.140263c00
mov dword [rsp + 0x34], ebx
cmp dword [rbp - 0x40], 0
jne 0x140264679
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x70]
call fcn.140263460
nop
mov r9d, 4
lea r8, [0x14041d5fc]
xor edx, edx
mov rcx, rax
call fcn.1402540e0
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or ebx, 2
mov dword [rsp + 0x34], ebx
mov rdx, r14
lea rcx, [rbp - 0x30]
call fcn.140263e50
movzx ebx, al
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14026429a
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140264295
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140264295
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14033ef04
movdqa xmm0, xmmword [0x14048db50]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x1402642eb
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402642e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1402642e6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14033ef04
movdqa xmm0, xmmword [0x14048db50]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
lea rcx, [rbp - 0x70]
call fcn.140253b50
nop
lea rcx, [rsp + 0x58]
call fcn.140253b50
test bl, bl
je 0x14026461b
movups xmm0, xmmword [str.eh_TMK28]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [0x14041d6b0]
movups xmmword [rsp + 0x68], xmm1
movups xmm0, xmmword [0x14041d6c0]
movups xmmword [rsp + 0x78], xmm0
mov eax, dword [str._nIg_]
mov dword [rbp - 0x78], eax
movzx eax, byte [reloc.WLDAP32.dll_Ordinal_60]
mov byte [rbp - 0x74], al
mov ecx, edi
mov r12d, dword [reloc.WS2_32.dll_accept]
cmp r12d, 2
jl 0x140264494
movdqa xmm5, xmmword [0x14048dba0]
movdqa xmm4, xmmword [0x14048dce0]
movdqa xmm6, xmmword [0x14048dbd0]
movdqa xmm0, xmmword [0x14048dc80]
movdqa xmmword [rbp - 0x30], xmm0
lea rdx, [rsp + 0x5c]
mov r8d, dword [rbp - 0x30]
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
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14048dc20]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps 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
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14048dc20]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x30
jl 0x140264392
cmp ecx, 0x35
jge 0x1402644cc
movsxd rax, ecx
lea r8, [rsp + 0x58]
add r8, rax
nop
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
sub al, dl
add al, 0x39
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x35
jl 0x1402644a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rdi
mov qword [rbp + 8], rdi
lea rax, [rsp + 0x58]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1402644f0
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x10]
call fcn.1402537a0
nop
mov rsi, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0xf
jbe 0x140264517
mov r14, qword [r14]
mov r15, qword [rbp]
mov rcx, qword [rbp + 8]
mov rax, rcx
sub rax, r15
cmp rsi, rax
ja 0x140264559
lea rax, [r15 + rsi]
mov qword [rbp], rax
lea rbx, [rbp - 0x10]
cmp rcx, 0xf
cmova rbx, qword [rbp - 0x10]
lea rcx, [rbx + r15]
mov r8, rsi
mov rdx, r14
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsi + rbx]
mov byte [rax + r15], 0
jmp 0x140264573
mov qword [rsp + 0x20], rsi
mov r9, r14
movzx r8d, byte [rsp + 0x30]
mov rdx, rsi
lea rcx, [rbp - 0x10]
call fcn.140253f50
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax]
mov ecx, dword [rcx + rax]
cmp dword [0x1404aba70], ecx
jg 0x14026468d
cmp qword [0x1404aba58], 0
je 0x1402645d9
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova rdx, qword [rbp - 0x10]
lea rcx, [rbp - 0x30]
call qword [sym.imp.ntdll.dll_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x40]
call qword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
mov rax, qword [0x1404aba58]
lea rcx, [rbp - 0x40]
call rax
test eax, eax
sete dil
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x140264617
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140264612
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140264612
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14033ef04
mov eax, edi
jmp 0x14026461d
xor eax, eax
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14033ec60
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp - 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1404aba58], rax
lea rcx, [0x1404aba70]
call fcn.14033f128
jmp 0x140264593
mov r8, rsi
lea rdx, [rbp - 0x40]
lea rcx, str.absolute
call fcn.140263ba0
nop
lea rcx, [0x1404aba70]
call fcn.14033f194
cmp dword [0x1404aba70], 0xffffffff
jne 0x140264593
movsd xmm0, qword [str.wNwSZ2_46E]
movsd qword [rbp - 0x50], xmm0
mov eax, dword [0x14041d638]
mov dword [rbp - 0x48], eax
movzx eax, byte [0x14041d63c]
mov byte [rbp - 0x44], al
mov r8d, edi
cmp r12d, 2
jl 0x1402647d2
movdqa xmm4, xmmword [0x14048dce0]
movdqa xmm2, xmmword [0x14048dba0]
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 [0x14048dbd0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14048dc20]
packuswb xmm2, xmm2
mov eax, dword [0x14048dc80]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.wNwSZ2_46E]
xorps xmm2, xmm0
movd dword [rbp - 0x50], xmm2
movdqa xmm3, xmmword [0x14048dbc0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14048dbd0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14048dc20]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x4c]
xorps xmm2, xmm1
movd dword [rbp - 0x4c], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x50]
add r9, rax
nop dword [rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xd
jl 0x1402647e0
movsd xmm0, qword [str.WN_PQ]
movsd qword [rbp - 0x40], xmm0
movzx eax, word [0x14041d6e0]
mov word [rbp - 0x38], ax
cmp byte [0x14041d6e1], 0
je 0x14026464a
mov byte [rbp - 0x40], WSASetLastError
xor byte [rbp - 0x3f], 0x3a
xor byte [rbp - 0x3e], 0x3b
xor byte [rbp - 0x3d], 0x3c
xor byte [rbp - 0x3c], 0x3d
xor byte [rbp - 0x3b], 0x3e
xor byte [rbp - 0x3a], 0x3f
xor byte [rbp - 0x39], 0x40
xor byte [rbp - 0x38], 0x41
xor byte [rbp - 0x37], 0x42
jmp 0x14026464a