Function at 0x140090c40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x14022b2b0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov ebx, ecx
cmp ecx, 0x10000000
jb 0x140090fa4
lea edi, [rcx + 0x70]
mov edx, edi
cmp rdx, 0x10000
jb 0x140090ca0
mov rcx, qword [0x14023b460]
lea rax, [rbp + 0x1f]
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0xf]
call fcn.140153970
cmp dword [rbp + 0xf], 0
jbe 0x140090cad
mov eax, edi
jmp 0x140090fa6
add ebx, 0x334
mov edx, ebx
cmp rdx, 0x10000
jb 0x140090cdd
mov rcx, qword [0x14023b460]
lea rax, [rbp + 0x27]
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x13]
call fcn.140153970
cmp dword [rbp + 0x13], 0
jbe 0x140090cea
mov eax, ebx
jmp 0x140090fa6
lea edx, [rbx + 0xc]
cmp rdx, 0x10000
jb 0x140090d15
mov rcx, qword [0x14023b460]
lea rax, [rbp + 0x2f]
mov r9d, reloc.WS2_32.dll_recv
mov qword [rsp + 0x20], rax
lea r8, [rbp - 1]
call fcn.140153970
mov r8d, dword [rbp - 1]
test r8d, r8d
je 0x140090e4d
lea edx, [r8 + 0x80]
mov qword [rsp + 0xc8], rsi
cmp rdx, 0x10000
jb 0x140090d5d
mov rcx, qword [0x14023b460]
lea rax, [rbp - 0x21]
mov r9d, reloc.WS2_32.dll_recv
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x19]
call fcn.140153970
mov r8d, dword [rbp - 1]
mov edx, dword [rbp - 0x19]
add edx, r8d
cmp rdx, 0x10000
jb 0x140090d8f
mov rcx, qword [0x14023b460]
lea rax, [rbp + 0x37]
mov r9d, 1
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x29]
call fcn.140153970
mov r8d, dword [rbp - 1]
mov edx, dword [rbp - 0x15]
movzx esi, byte [rbp - 0x29]
add edx, r8d
cmp rdx, 0x10000
jb 0x140090dc5
mov rcx, qword [0x14023b460]
lea rax, [rbp + 0x3f]
mov r9d, 1
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x28]
call fcn.140153970
mov r8d, dword [rbp - 1]
mov edx, dword [rbp - 0x11]
movzx edi, byte [rbp - 0x28]
add edx, r8d
cmp rdx, 0x10000
jb 0x140090dfb
mov rcx, qword [0x14023b460]
lea rax, [rbp + 0x47]
mov r9d, 1
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x27]
call fcn.140153970
mov r8d, dword [rbp - 1]
mov edx, dword [rbp - 0xd]
movzx ebx, byte [rbp - 0x27]
add edx, r8d
cmp rdx, 0x10000
jb 0x140090e2d
mov rcx, qword [0x14023b460]
lea rax, [rbp + 0x17]
mov r9d, 1
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x26]
call fcn.140153970
movzx eax, byte [rbp - 0x26]
shl eax, 8
or eax, ebx
shl eax, 8
or eax, edi
shl eax, 8
or eax, esi
mov rsi, qword [rsp + 0xc8]
jmp 0x140090fa6
mov eax, dword [rbp + 3]
test eax, eax
je 0x140090ec2
mov edx, eax
cmp rax, 0x10000
jb 0x140090e7d
mov rcx, qword [0x14023b460]
lea rax, [rbp + 0x17]
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x21]
call fcn.140153970
mov r8d, dword [rbp - 0x21]
test r8d, r8d
je 0x140090fa4
lea ecx, [r8 - 4]
movzx edx, cl
lea eax, [r8 - 0x400]
and eax, 0xff00
lea ecx, [r8 - 0x4000000]
and ecx, 0xff000000
or eax, edx
or eax, ecx
lea ecx, [r8 - 0x40000]
and ecx, 0xff0000
or eax, ecx
jmp 0x140090fa6
mov eax, dword [rbp + 7]
test eax, eax
je 0x140090f05
mov edx, eax
cmp rax, 0x10000
jb 0x140090ef2
mov rcx, qword [0x14023b460]
lea rax, [rbp + 0x17]
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x21]
call fcn.140153970
mov eax, dword [rbp - 0x21]
test eax, eax
je 0x140090fa4
ror eax, 0x18
jmp 0x140090fa6
mov eax, dword [rbp + 0xb]
test eax, eax
je 0x140090f43
mov edx, eax
cmp rax, 0x10000
jb 0x140090f35
mov rcx, qword [0x14023b460]
lea rax, [rbp + 0x17]
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x21]
call fcn.140153970
mov eax, dword [rbp - 0x21]
test eax, eax
je 0x140090fa4
xor eax, 0xcdcd00
jmp 0x140090fa6
movdqa xmm0, xmmword [0x14020a920]
xor edx, edx
movdqu xmmword [rbp - 0x19], xmm0
mov dword [rbp - 9], 0x93b692fd
mov word [rbp - 5], __WSAFDIsSet
mov byte [rbp - 3], 1
nop dword [rax]
nop word [rax + rax]
lea eax, [rdx - 0x33]
xor byte [rbp + rdx - 0x19], al
inc rdx
cmp rdx, 0x15
jb 0x140090f70
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp - 0x19]
mov byte [rbp - 3], 0
call fcn.14009d760
lea rdx, [0x14009d930]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor eax, eax
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140154010
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret