Function at 0x1400554c0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x140093010]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r12, r9
mov r15, rdx
mov rdi, rcx
mov rsi, qword [0x140097838]
test rdx, rdx
je 0x140055619
test rsi, rsi
je 0x140055619
mov dword [rsp + 0x30], 0xbcabbaa3
mov dword [rsp + 0x34], 0xb8b7fcbd
mov word [rsp + 0x38], 0xb9
mov byte [rsp + 0x3a], 1
xor ebx, ebx
mov ecx, ebx
nop word [rax + rax]
lea eax, [rcx - 0x33]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 9
jb 0x140055530
mov byte [rsp + 0x3a], bl
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r8, rax
test rax, rax
jne 0x140055639
mov dword [rsp + 0x50], 0xc5e3c596
mov dword [rsp + 0x54], 0xc5f0c592
mov dword [rsp + 0x58], 0xc5b3c597
mov dword [rsp + 0x5c], 0xc5b8c5ba
mov dword [rsp + 0x60], 0xc5b2c5b0
mov dword [rsp + 0x64], 0xc5acc5f7
mov dword [rsp + 0x68], 0xc5fac5b6
mov dword [rsp + 0x6c], 0xc5b3c5b7
mov dword [rsp + 0x70], 0xc5bac5bc
mov dword [rsp + 0x74], 0xc58ec5ff
mov dword [rsp + 0x78], 0xc586c595
mov dword [rsp + 0x7c], 0xc588c58f
mov dword [rbp - 0x80], 0xc582c5cb
mov dword [rbp - 0x7c], 0xc584c58b
mov word [rbp - 0x78], bx
mov byte [rbp - 0x76], 1
mov ecx, 0x3a33
nop word [rax + rax]
movzx eax, bx
sub ax, cx
xor word [rsp + rbx*2 + 0x50], ax
inc rbx
cmp rbx, 0x1c
jb 0x1400555e0
mov byte [rbp - 0x76], 0
lea rdx, [rsp + 0x50]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140054ba0
lea rdx, [0x140054d80]
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 + 0x20]
xor rcx, rsp
call fcn.14006cad0
add rsp, 0x130
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov dword [rsp + 0x40], 0xb48eba83
mov dword [rsp + 0x44], 0xbba793b5
mov word [rsp + 0x48], 0xb8
mov byte [rsp + 0x4a], 1
mov rcx, rbx
nop dword [rax + rax]
lea eax, [rcx - 0x33]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 9
jb 0x140055660
mov byte [rsp + 0x4a], bl
lea rdx, [rsp + 0x40]
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
jne 0x140055762
mov dword [rsp + 0x50], 0xc5e3c596
mov dword [rsp + 0x54], 0xc5f0c592
mov dword [rsp + 0x58], 0xc5b3c597
mov dword [rsp + 0x5c], 0xc5b8c5ba
mov dword [rsp + 0x60], 0xc5b2c5b0
mov dword [rsp + 0x64], 0xc5acc5f7
mov dword [rsp + 0x68], 0xc5fac5b6
mov dword [rsp + 0x6c], 0xc5b9c5bc
mov dword [rsp + 0x70], 0xc5fec5a9
mov dword [rsp + 0x74], 0xc598c5ba
mov dword [rsp + 0x78], 0xc58dc591
mov dword [rsp + 0x7c], 0xc590c591
mov dword [rbp - 0x80], 0xc588c5c5
mov dword [rbp - 0x7c], 0xc58cc593
mov dword [rbp - 0x78], 0xc586c585
mov dword [rbp - 0x74], 0xc5a2c5c5
mov dword [rbp - 0x70], 0xc5afc599
mov dword [rbp - 0x6c], 0xc594c58b
mov dword [rbp - 0x68], 0xc586c5b0
mov dword [rbp - 0x64], 0xc599c59c
mov word [rbp - 0x60], bx
mov byte [rbp - 0x5e], 1
mov ecx, 0x3a33
nop dword [rax]
nop word [rax + rax]
movzx eax, bx
sub ax, cx
xor word [rsp + rbx*2 + 0x50], ax
inc rbx
cmp rbx, 0x28
jb 0x140055740
mov byte [rbp - 0x5e], 0
lea rdx, [rsp + 0x50]
jmp 0x1400555fd
mov word [rbp], 0xb848
mov word [rbp + 0xa], 0xe0ff
mov qword [rbp + 2], rsi
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1400978c8], eax
jle 0x140055892
lea rcx, [0x1400978c8]
call fcn.14006cdc0
cmp dword [0x1400978c8], 0xffffffff
jne 0x140055892
mov dword [rsp + 0x30], 0xb48eba83
mov dword [rsp + 0x34], 0xbba793b5
mov word [rsp + 0x38], 0xb8
mov byte [rsp + 0x3a], 1
mov rcx, rbx
nop word [rax + rax]
lea eax, [rcx - 0x33]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 9
jb 0x1400557d0
mov byte [rsp + 0x3a], 0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], socket
mov byte [rsp + 0x50], 0
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140055810
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1400549b0
nop
lea r8, [rsp + 0x50]
mov rdx, qword [0x140094078]
mov rcx, rdi
call fcn.14004e550
mov qword [0x140097820], rax
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140055886
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055880
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140055880
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006cbc0
nop
lea rcx, [0x1400978c8]
call fcn.14006cd60
mov r8, qword [0x140097820]
test r8, r8
jne 0x140055973
mov dword [rsp + 0x50], 0xc5e3c596
mov dword [rsp + 0x54], 0xc5f0c592
mov dword [rsp + 0x58], 0xc5b3c597
mov dword [rsp + 0x5c], 0xc5b8c5ba
mov dword [rsp + 0x60], 0xc5b2c5b0
mov dword [rsp + 0x64], 0xc5acc5f7
mov dword [rsp + 0x68], 0xc5fac5b6
mov dword [rsp + 0x6c], 0xc5b9c5bc
mov dword [rsp + 0x70], 0xc5fec5a9
mov dword [rsp + 0x74], 0xc598c5ba
mov dword [rsp + 0x78], 0xc58dc591
mov dword [rsp + 0x7c], 0xc590c591
mov dword [rbp - 0x80], 0xc588c5c5
mov dword [rbp - 0x7c], 0xc587c593
mov dword [rbp - 0x78], 0xc581c59a
mov dword [rbp - 0x74], 0xc582c599
mov dword [rbp - 0x70], 0xc5c0c581
mov dword [rbp - 0x6c], 0xc584c5a1
mov dword [rbp - 0x68], 0xc596c5b0
mov dword [rbp - 0x64], 0xc5b5c597
mov dword [rbp - 0x60], 0xc599c581
mov dword [rbp - 0x5c], 0xc59a
mov byte [rbp - 0x58], 1
mov ecx, 0x3a33
movzx eax, bx
sub ax, cx
xor word [rsp + rbx*2 + 0x50], ax
inc rbx
cmp rbx, 0x2b
jb 0x140055951
mov byte [rbp - 0x58], 0
lea rdx, [rsp + 0x50]
jmp 0x1400555fd
mov r9d, recv
lea rdx, [rbp + 0x10]
mov rcx, rdi
call fcn.14004d3a0
test al, al
je 0x140055619
movzx eax, byte [rbp]
cmp byte [rbp + 0x10], al
jne 0x140055b22
movzx eax, byte [rbp + 1]
cmp byte [rbp + 0x11], al
jne 0x140055b22
movzx eax, byte [rbp + 0xa]
cmp byte [rbp + 0x1a], al
jne 0x140055b22
movzx eax, byte [rbp + 0xb]
cmp byte [rbp + 0x1b], al
jne 0x140055b22
mov dword [rsp + 0x50], 0xc5e3c596
mov dword [rsp + 0x54], 0xc5f0c592
mov dword [rsp + 0x58], 0xc593c597
mov dword [rsp + 0x5c], 0xc598c59a
mov dword [rsp + 0x60], 0xc592c590
mov dword [rsp + 0x64], 0xc5e2c5f6
mov dword [rsp + 0x68], 0xc58ec5f9
mov dword [rsp + 0x6c], 0xc5b9c5b3
mov dword [rsp + 0x70], 0xc5bdc5fd
mov dword [rsp + 0x74], 0xc584c5b0
mov dword [rsp + 0x78], 0xc5c2c584
mov dword [rsp + 0x7c], 0xc585c594
mov dword [rbp - 0x80], 0xc5c6c596
mov dword [rbp - 0x7c], 0xc584c586
mov dword [rbp - 0x78], 0xc58fc59b
mov dword [rbp - 0x74], 0xc588c58a
mov dword [rbp - 0x70], 0xc5cec594
mov dword [rbp - 0x6c], 0xc59fc587
mov dword [rbp - 0x68], 0xc599c59e
mov dword [rbp - 0x64], 0xc590c596
mov dword [rbp - 0x60], 0xc5d7c5d4
mov dword [rbp - 0x5c], 0xc599c5d7
mov dword [rbp - 0x58], 0xc595c597
mov dword [rbp - 0x54], 0xc594c58f
mov dword [rbp - 0x50], 0xc58cc598
mov dword [rbp - 0x4c], 0xc669c5df
mov dword [rbp - 0x48], 0xc671c66f
mov dword [rbp - 0x44], 0xc665c677
mov dword [rbp - 0x40], 0xc665c66b
mov dword [rbp - 0x3c], 0xc628c662
mov dword [rbp - 0x38], 0xc66cc666
mov dword [rbp - 0x34], 0xc667c62b
mov dword [rbp - 0x30], 0xc663c669
mov dword [rbp - 0x2c], 0xc660c66e
mov dword [rbp - 0x28], 0xc677c661
mov dword [rbp - 0x24], 0xc634c661
mov dword [rbp - 0x20], 0xc663c667
mov dword [rbp - 0x1c], 0xc676c679
mov dword [rbp - 0x18], 0xc674c670
mov dword [rbp - 0x14], 0xc623c67c
mov dword [rbp - 0x10], 0xc63c
mov byte [rbp - 0xc], 1
mov ecx, 0x3a33
nop word [rax + rax]
movzx eax, bx
sub ax, cx
xor word [rsp + rbx*2 + 0x50], ax
inc rbx
cmp rbx, 0x51
jb 0x140055b00
mov byte [rbp - 0xc], 0
lea rdx, [rsp + 0x50]
jmp 0x1400555fd
mov r9d, recv
lea r8, [rbp]
mov rdx, qword [0x140097820]
mov rcx, rdi
call fcn.14004d440
test al, al
je 0x140055619
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 1]
mov rcx, r12
call r14
mov qword [r15], rax
mov r9d, recv
lea r8, [rbp + 0x10]
mov rdx, qword [0x140097820]
mov rcx, rdi
call fcn.14004d440
mov al, 1
jmp 0x14005561b