Function at 0x1400050c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x2590]
mov eax, 0x2690
call fcn.1400723a0
sub rsp, rax
mov rax, qword [0x140090080]
xor rax, rsp
mov qword [rbp + 0x2580], rax
xor r15d, r15d
lea r8, [rsp + 0x48]
mov edx, 0x2000
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_K32EnumDeviceDrivers]
test eax, eax
je 0x1400056f7
mov eax, dword [rsp + 0x48]
cmp eax, 0x2000
jae 0x1400056f7
mov r14d, eax
shr r14, 3
test r14, r14
je 0x1400056f7
mov esi, r15d
lea rdi, [r15 - 1]
mov r8d, 0x400
lea rdx, [rbp + 0x2180]
mov rcx, qword [rbp + rsi*8 + 0x180]
call qword [sym.imp.KERNEL32.dll_K32GetDeviceDriverBaseNameA]
test eax, eax
je 0x1400056eb
mov dword [rbp - 0x78], 0x7c372021
mov dword [rbp - 0x74], 0x262d20
mov edx, r15d
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rbp - 0x78]
add rcx, rax
lea eax, [rdx + 0x4f]
xor byte [rcx], al
inc edx
cmp edx, 7
jb 0x140005180
mov byte [rbp - 0x71], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x38], r15
lea rax, [rbp - 0x78]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x1400051b0
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x20]
call fcn.14000d5f0
nop
movdqa xmm0, xmmword [0x1400846c0]
movdqu xmmword [rsp + 0x70], xmm0
mov dword [rbp - 0x80], 0x12192c
mov edx, r15d
movsxd rax, edx
lea rcx, [rsp + 0x70]
add rcx, rax
lea eax, [rdx + 0x4f]
xor byte [rcx], al
inc edx
cmp edx, 0x13
jb 0x1400051e0
mov byte [rbp - 0x7d], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x58], r15
lea rax, [rsp + 0x70]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x140005212
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x40]
call fcn.14000d5f0
nop
movdqa xmm0, xmmword [0x140084480]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rbp - 0x80], Ordinal_45
mov edx, r15d
nop dword [rax]
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x70]
add rcx, rax
lea eax, [rdx + 0x4f]
xor byte [rcx], al
inc edx
cmp edx, 0x11
jb 0x140005250
mov byte [rbp - 0x7f], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r15
mov qword [rbp + 0x78], r15
lea rax, [rsp + 0x70]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x140005282
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x60]
call fcn.14000d5f0
nop
movdqa xmm0, xmmword [0x140084490]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rbp - 0x80], Ordinal_45
mov edx, r15d
nop dword [rax]
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x70]
add rcx, rax
lea eax, [rdx + 0x4f]
xor byte [rcx], al
inc edx
cmp edx, 0x11
jb 0x1400052c0
mov byte [rbp - 0x7f], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], r15
mov qword [rbp + 0x98], r15
lea rax, [rsp + 0x70]
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140005300
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x80]
call fcn.14000d5f0
nop
movdqa xmm0, xmmword [0x1400844f0]
movdqu xmmword [rsp + 0x70], xmm0
xor eax, eax
mov byte [rbp - 0x80], al
mov edx, r15d
nop dword [rax]
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x70]
add rcx, rax
lea eax, [rdx + 0x4f]
xor byte [rcx], al
inc edx
cmp edx, 0x10
jb 0x140005340
mov byte [rbp - 0x80], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb0], r15
mov qword [rbp + 0xb8], r15
lea rax, [rsp + 0x70]
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140005380
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0xa0]
call fcn.14000d5f0
nop
movdqa xmm0, xmmword [0x140084520]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rbp - 0x80], 0x1326
xor eax, eax
mov byte [rbp - 0x7e], al
mov edx, r15d
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x70]
add rcx, rax
lea eax, [rdx + 0x4f]
xor byte [rcx], al
inc edx
cmp edx, 0x12
jb 0x1400053c0
mov byte [rbp - 0x7e], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], r15
mov qword [rbp + 0xd8], r15
lea rax, [rsp + 0x70]
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140005400
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0xc0]
call fcn.14000d5f0
nop
movdqa xmm0, xmmword [0x140084530]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rbp - 0x80], 0x1326
xor eax, eax
mov byte [rbp - 0x7e], al
mov edx, r15d
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x70]
add rcx, rax
lea eax, [rdx + 0x4f]
xor byte [rcx], al
inc edx
cmp edx, 0x12
jb 0x140005440
mov byte [rbp - 0x7e], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
mov qword [rbp + 0xf0], r15
mov qword [rbp + 0xf8], r15
lea rax, [rsp + 0x70]
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140005480
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0xe0]
call fcn.14000d5f0
nop
movdqa xmm0, xmmword [0x140084380]
movdqu xmmword [rsp + 0x70], xmm0
mov edx, r15d
nop dword [rax]
movsxd rax, edx
lea rcx, [rsp + 0x70]
add rcx, rax
lea eax, [rdx + 0x4f]
xor byte [rcx], al
inc edx
cmp edx, 0xf
jb 0x1400054b0
mov byte [rsp + 0x7f], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
mov qword [rbp + 0x110], r15
mov qword [rbp + 0x118], r15
lea rax, [rsp + 0x70]
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400054f0
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x100]
call fcn.14000d5f0
nop
mov dword [rbp - 0x60], 0x22252407
mov dword [rbp - 0x5c], 0x23373117
mov dword [rbp - 0x58], 0x232a7630
mov word [rbp - 0x54], Ordinal_41
mov edx, r15d
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rbp - 0x60]
add rcx, rax
lea eax, [rdx + 0x4f]
xor byte [rcx], al
inc edx
cmp edx, 0xd
jb 0x140005530
mov byte [rbp - 0x53], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x120], xmm0
mov qword [rbp + 0x130], r15
mov qword [rbp + 0x138], r15
lea rax, [rbp - 0x60]
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140005570
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x120]
call fcn.14000d5f0
nop
mov dword [rbp - 0x70], 0x3d27353d
mov dword [rbp - 0x6c], 0x78213835
mov dword [rbp - 0x68], 0x2a2124
mov edx, r15d
nop dword [rax]
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rbp - 0x70]
add rcx, rax
lea eax, [rdx + 0x4f]
xor byte [rcx], al
inc edx
cmp edx, 0xb
jb 0x1400055b0
mov byte [rbp - 0x65], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
mov qword [rbp + 0x150], r15
mov qword [rbp + 0x158], r15
lea rax, [rbp - 0x70]
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400055f0
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x140]
call fcn.14000d5f0
nop
mov dword [rbp - 0x50], 0x3325391b
mov dword [rbp - 0x4c], 0x323c1c3d
mov dword [rbp - 0x48], 0x232a7632
mov word [rbp - 0x44], Ordinal_41
mov edx, r15d
nop dword [rax]
movsxd rax, edx
lea rcx, [rbp - 0x50]
add rcx, rax
lea eax, [rdx + 0x4f]
xor byte [rcx], al
inc edx
cmp edx, 0xd
jb 0x140005630
mov byte [rbp - 0x43], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x160], xmm0
mov qword [rbp + 0x170], r15
mov qword [rbp + 0x178], r15
lea rax, [rbp - 0x50]
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140005670
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x160]
call fcn.14000d5f0
nop
mov ebx, r15d
lea r9, [rbp + 0x20]
mov r8, r9
cmp qword [r9 + 0x18], 0x10
jb 0x14000569f
mov r8, qword [r9]
lea rax, [rbp + 0x2180]
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400056c3
inc rax
test ecx, ecx
jne 0x1400056b0
test edx, edx
je 0x140005725
inc ebx
add r9, 0x20
cmp ebx, 0xb
jb 0x140005692
lea r9, [fcn.140009300]
mov edx, reloc.WLDAP32.dll_Ordinal_32
lea r8d, [rdx - 0x15]
lea rcx, [rbp + 0x20]
call fcn.140071b58
inc rsi
cmp rsi, r14
jl 0x140005142
xor al, al
mov rcx, qword [rbp + 0x2580]
xor rcx, rsp
call fcn.140071860
lea r11, [rsp + 0x2690]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
movdqa xmm0, xmmword [str.5_70_u2_1___f]
movdqu xmmword [rsp + 0x70], xmm0
mov edx, r15d
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x70]
add rcx, rax
lea eax, [rdx + 0x4f]
xor byte [rcx], al
inc edx
cmp edx, 0xf
jb 0x140005740
mov byte [rsp + 0x7f], 0
mov word [rsp + 0x44], 0x7012
xor eax, eax
mov byte [rsp + 0x46], al
mov edx, r15d
nop dword [rax]
movsxd rax, edx
lea rcx, [rsp + 0x44]
add rcx, rax
lea eax, [rdx + 0x4f]
xor byte [rcx], al
inc edx
cmp edx, 2
jb 0x140005770
mov byte [rsp + 0x46], 0
mov word [rsp + 0x40], reloc.WS2_32.dll_sendto
mov edx, r15d
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x40]
add rcx, rax
lea eax, [rdx + 0x4f]
xor byte [rcx], al
inc edx
cmp edx, 1
jb 0x1400057a0
mov byte [rsp + 0x41], 0
lea rax, [rsp + 0x40]
mov rcx, rdi
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400057c4
mov rdx, qword [0x140090f68]
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, rcx
jb 0x140005a2d
lea rax, [0x140090f58]
cmp qword [0x140090f70], 0x10
cmovae rax, qword [0x140090f58]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x40]
lea rcx, [rbp]
call fcn.14000d910
nop
lea rax, [rsp + 0x44]
mov r8, rdi
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140005830
lea rdx, [rsp + 0x44]
lea rcx, [rbp]
call fcn.140009860
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rax, [rsp + 0x70]
nop word [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140005880
mov r8, rdi
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x20]
call fcn.140009860
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
movsxd rax, ebx
shl rax, 5
lea rdx, [rbp + 0x20]
add rdx, rax
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400058e3
mov rdx, qword [rdx]
lea rcx, [rbp - 0x40]
call fcn.140009860
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rsp + 0x50]
lea rcx, [0x140091040]
call fcn.14001d470
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x14000596e
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005969
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005969
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140071e80
movdqa xmm0, xmmword [0x140084370]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x1400059bd
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400059b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400059b8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140071e80
movdqa xmm0, xmmword [0x140084370]
movdqu xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x140005a0d
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005a07
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005a07
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140071e80
nop
lea r9, [fcn.140009300]
mov edx, reloc.WLDAP32.dll_Ordinal_32
lea r8d, [rdx - 0x15]
lea rcx, [rbp + 0x20]
call fcn.140071b58
mov al, 1
jmp 0x1400056f9
call fcn.140001910
int3