Function at 0x1400280e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x250]
sub rsp, 0x350
mov rax, qword [0x1400a51c0]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov r15, r8
mov rdi, rdx
mov qword [rbp - 0x28], rdx
mov r13, rcx
mov qword [rsp + 0x68], rdx
mov qword [rbp + 0x88], r8
xor esi, esi
mov dword [rbp - 0x70], esi
mov dword [rsp + 0x38], 0xe3fbe4ac
mov dword [rsp + 0x3c], 0xf5f9fdeb
mov word [rsp + 0x40], 0xaf
mov byte [rsp + 0x42], 1
mov ecx, esi
nop dword [rax]
lea eax, [rcx - 0x76]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 9
jb 0x140028150
mov byte [rsp + 0x42], 0
mov dword [rsp + 0x68], 0xe0ede5ac
mov dword [rsp + 0x6c], 0x100b2eb
mov dword [rsp + 0x70], 0xfee9f8ac
mov dword [rsp + 0x74], 0xffffe6fd
mov dword [rsp + 0x78], 0xa9f7fb
mov byte [rsp + 0x7c], 1
mov dword [rsp + 0x48], 0xe1e5edac
mov dword [rsp + 0x4c], 0xacf4e6eb
mov word [rsp + 0x50], 0x100
mov dword [rsp + 0x58], 0xe8fcf2fe
mov dword [rsp + 0x5c], 0xfdf9e9b3
mov word [rsp + 0x60], 0xf7
mov byte [rsp + 0x62], 1
mov rcx, rsi
nop dword [rax + rax]
lea eax, [rcx - 0x76]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 8
jb 0x1400281d0
mov byte [rsp + 0x51], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x20]
call fcn.1400182e0
nop
cmp byte [rsp + 0x62], 0
je 0x140028225
mov rcx, rsi
nop dword [rax + rax]
lea eax, [rcx - 0x76]
xor byte [rsp + rcx + 0x58], al
inc rcx
cmp rcx, 9
jb 0x140028210
mov byte [rsp + 0x62], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x61]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x68]
call fcn.1400182e0
nop
lea r9, [rbp - 0x20]
lea r8, [rbp - 0x68]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp - 0x48]
call fcn.140024fb0
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140028294
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002828e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002828e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e0f0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x1400282d3
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400282cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400282cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e0f0
nop
mov rdx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x1400282e0
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
lea rcx, [rbp - 0x48]
call fcn.140008f90
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x40]
call fcn.14001fdc0
nop
lea rdx, [r13 + 0x238]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140028333
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140008f90
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x20]
call fcn.14001fb20
nop
mov rdx, r13
cmp qword [r13 + 0x18], 0x10
jb 0x14002837a
mov rdx, qword [r13]
mov r8, qword [r13 + 0x10]
mov rcx, rax
call fcn.140008f90
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xa0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xb0], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rax, [rsp + 0x38]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400283d0
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0xa0]
call fcn.140008f90
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xe0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf0], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [r13 + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140028436
mov rdx, qword [rdx]
lea rcx, [rbp + 0xe0]
call fcn.140008f90
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x120], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x130], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8, qword [rbp + 0xf8]
cmp r8, 0x10
jb 0x140028489
inc r8
mov rdx, qword [rbp + 0xe0]
lea rcx, [rbp + 0xe0]
call fcn.140009680
movdqa xmm0, xmmword [0x140083fc0]
movdqu xmmword [rbp + 0xf0], xmm0
mov byte [rbp + 0xe0], 0
mov r8, qword [rbp + 0xb8]
cmp r8, 0x10
jb 0x1400284c3
inc r8
mov rdx, qword [rbp + 0xa0]
lea rcx, [rbp + 0xa0]
call fcn.140009680
movdqa xmm0, xmmword [0x140083fc0]
movdqu xmmword [rbp + 0xb0], xmm0
mov byte [rbp + 0xa0], 0
mov r8, qword [rbp + 0x38]
cmp r8, 0x10
jb 0x1400284f4
inc r8
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x20]
call fcn.140009680
movdqa xmm0, xmmword [0x140083fc0]
movdqu xmmword [rbp + 0x30], xmm0
mov byte [rbp + 0x20], 0
mov r8, qword [rbp - 8]
cmp r8, 0x10
jb 0x140028520
inc r8
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x20]
call fcn.140009680
nop
mov r8, qword [rbp + 0x58]
cmp r8, 0x10
jb 0x14002853a
inc r8
mov rdx, qword [rbp + 0x40]
lea rcx, [rbp + 0x40]
call fcn.140009680
movdqa xmm0, xmmword [0x140083fc0]
movdqu xmmword [rbp + 0x50], xmm0
mov byte [rbp + 0x40], 0
mov r8, qword [rbp - 0x50]
cmp r8, 0x10
jb 0x140028566
inc r8
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x68]
call fcn.140009680
nop
mov r8, qword [rbp - 0x30]
cmp r8, 0x10
jb 0x140028580
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.140009680
movdqa xmm0, xmmword [0x140083fc0]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
lea rax, [rbp - 0x68]
mov qword [rbp + 0x80], rax
lea rdx, [r13 + 0x80]
lea rcx, [rbp - 0x68]
call fcn.1400073e0
mov rbx, rax
lea rdx, [rbp + 0x120]
lea rcx, [rbp - 0x20]
call fcn.1400073e0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0xc0]
call fcn.14002d1d0
nop
mov qword [rbp + 0x78], rsi
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x90]
call fcn.140022500
nop
mov dword [rsp + 0x38], 0xfeffeee7
mov dword [rsp + 0x3c], 0xf5e8ef
mov byte [rsp + 0x40], 1
mov rcx, rsi
nop
lea eax, [rcx - 0x76]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 7
jb 0x140028610
mov byte [rsp + 0x40], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3f]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x48]
call fcn.1400182e0
nop
mov rbx, qword [rsp + 0x38]
movzx ecx, byte [rbp + 0x90]
test cl, cl
jne 0x14002866a
mov byte [rbp + 0x90], 1
call fcn.140020fb0
mov qword [rbp + 0x98], rax
movzx ecx, byte [rbp + 0x90]
jmp 0x140028671
mov rax, qword [rbp + 0x98]
cmp cl, 1
jne 0x140028685
lea rdx, [rbp - 0x48]
mov rcx, rax
call fcn.140025e00
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
movdqa xmm1, xmmword [0x140083fc0]
movdqu xmmword [rbp + 0x110], xmm1
mov byte [rbp + 0x100], 0
mov dword [rbp - 0x70], 0x17ff00
cmp byte [rbx], 3
jne 0x1400286c4
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x100]
cmp rax, rdx
je 0x1400286e2
jmp 0x1400286c7
mov rdx, rsi
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400286d5
mov rdx, qword [rdx]
lea rcx, [rbp + 0x100]
call fcn.140008ce0
nop
mov r8, qword [rbp - 0x30]
cmp r8, 0x10
jb 0x1400286fc
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.140009680
movdqa xmm0, xmmword [0x140083fc0]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x140]
call sub.VCRUNTIME140.dll_memset
mov edx, 1
lea rcx, [rbp + 0x140]
call fcn.140025160
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.14007e0b4
mov rsi, rax
mov qword [rbp + 0xe0], rax
lea r14, [rax + 0x20]
mov qword [rbp + 0xf0], r14
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0xe8], r14
lea r8, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0x10
cmovae r8, qword [rbp + 0xc0]
lea rcx, [r13 + 0x258]
cmp qword [rcx + 0x18], 0x10
jb 0x140028795
mov rcx, qword [rcx]
mov qword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], rsi
mov r9, qword [rbp + 0xd0]
mov rdx, qword [r13 + 0x268]
call fcn.1400333e0
mov r12, rsi
cmp rsi, r14
je 0x140028822
nop
movzx edi, byte [r12]
lea rdx, [0x14002a540]
lea rcx, [rbp + 0x150]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
mov byte [rcx + rbx + 0x58], Ordinal_50
mov edx, 2
lea rcx, [rsp + 0x70]
call sub.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__
mov rdx, qword [rax + 8]
mov r8, qword [rax]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
call r8
mov edx, edi
mov rcx, rbx
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___int____ptr64]
inc r12
cmp r12, r14
jne 0x1400287c0
mov rdi, qword [rbp - 0x28]
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.140024ca0
mov rdx, rax
mov rcx, r13
call fcn.14002be10
mov dword [rsp + 0x38], 0xeeeffef9
mov dword [rsp + 0x3c], 0xe3fceb
mov byte [rsp + 0x40], 1
xor r12d, r12d
mov ecx, r12d
nop dword [rax]
lea eax, [rcx - 0x76]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 7
jb 0x140028860
mov byte [rsp + 0x40], r12b
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3f]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x68]
call fcn.1400182e0
nop
movzx ecx, byte [rbp + 0x90]
test cl, cl
jne 0x1400288b5
mov byte [rbp + 0x90], 1
call fcn.140020fb0
mov qword [rbp + 0x98], rax
movzx ecx, byte [rbp + 0x90]
jmp 0x1400288bc
mov rax, qword [rbp + 0x98]
cmp cl, 1
jne 0x1400288d2
lea rdx, [rbp - 0x68]
mov rcx, rax
call fcn.140025e00
mov rcx, rax
jmp 0x1400288d7
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + 8]
cmp byte [rcx], 4
cmovne rax, r12
movzx ebx, byte [rax]
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140028923
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002891e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002891e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e0f0
test bl, bl
je 0x140028e69
mov dword [rsp + 0x48], 0xf9e2e4e9
mov dword [rsp + 0x4c], 0xe2e4e1eb
mov word [rsp + 0x50], 0x100
mov rcx, r12
nop word [rax + rax]
lea eax, [rcx - 0x76]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 8
jb 0x140028950
mov byte [rsp + 0x51], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x68]
call fcn.1400182e0
nop
mov rbx, qword [rsp + 0x38]
movzx ecx, byte [rbp + 0x90]
test cl, cl
jne 0x1400289aa
mov byte [rbp + 0x90], 1
call fcn.140020fb0
mov qword [rbp + 0x98], rax
movzx ecx, byte [rbp + 0x90]
jmp 0x1400289b1
mov rax, qword [rbp + 0x98]
cmp cl, 1
jne 0x1400289c5
lea rdx, [rbp - 0x68]
mov rcx, rax
call fcn.140025e00
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
movdqa xmm1, xmmword [0x140083fc0]
movdqu xmmword [rbp + 0x10], xmm1
mov byte [rbp], 0
mov dword [rbp - 0x70], 0xfff5e
cmp byte [rbx], 3
jne 0x1400289f8
mov rdx, qword [rbx + 8]
lea rax, [rbp]
cmp rax, rdx
je 0x140028a13
jmp 0x1400289fb
mov rdx, r12
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140028a09
mov rdx, qword [rdx]
lea rcx, [rbp]
call fcn.140008ce0
nop
lea rdx, [rbp]
lea rcx, [rbp + 0xa0]
call fcn.14002a560
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x140028a63
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028a5d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140028a5d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e0f0
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140028aa1
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028a9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140028a9c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e0f0
movdqa xmm0, xmmword [0x140083fc0]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
mov rdi, qword [rbp + 0xb0]
lea r12, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0x10
cmovae r12, qword [rbp + 0xa0]
movabs rbx, 0x7fffffffffffffff
cmp rdi, rbx
ja 0x140029082
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x140028b1a
mov qword [rbp - 0x80], rdi
mov r8d, reloc.WS2_32.dll_recv
mov rdx, r12
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memmove
jmp 0x140028b6d
mov rax, rdi
or rax, 0xf
cmp rax, rbx
ja 0x140028b35
mov rbx, rax
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmp rax, rcx
cmovb rbx, rcx
mov rdx, rbx
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140009650
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], rbx
lea r8, [rdi + 1]
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea rdi, [rsp + 0x70]
mov r8, qword [rsp + 0x70]
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
cmovae rdi, r8
add rdi, qword [rbp - 0x80]
lea r12, [rsp + 0x70]
cmp rdx, 0x10
cmovae r12, r8
mov r13, qword [rbp - 0x28]
xor ebx, ebx
mov qword [r13], rbx
mov qword [r13 + 8], rbx
mov qword [r13 + 0x10], rbx
sub rdi, r12
je 0x140028be5
mov rdx, rdi
mov rcx, r13
call fcn.14000d200
mov rbx, qword [r13]
mov r8, rdi
mov rdx, r12
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rdi]
mov qword [r13 + 8], rax
mov rdx, qword [rbp - 0x78]
mov r8, qword [rsp + 0x70]
xor ebx, ebx
cmp rdx, 0x10
jb 0x140028c1e
inc rdx
mov rax, r8
cmp rdx, 0x1000
jb 0x140028c16
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140028c16
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.14007e0f0
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0x10
jb 0x140028c73
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028c6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140028c6e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e0f0
mov qword [rbp + 0xb0], rbx
mov qword [rbp + 0xb8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xa0], 0
test rsi, rsi
je 0x140028cc5
sub r14, rsi
cmp r14, 0x1000
jb 0x140028cb9
add r14, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x140028d5d
mov rsi, rcx
mov rdx, r14
mov rcx, rsi
call fcn.14007e0f0
nop
mov rax, qword [rbp + 0x140]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x140], rax
mov rax, qword [rbp + 0x140]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x13c], edx
lea rcx, [rbp + 0x158]
call fcn.140018cf0
lea rcx, [rbp + 0x160]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x1d8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x118]
cmp rdx, 0x10
jb 0x140028d6a
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028d64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140028d64
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14007e0f0
nop
movzx edx, byte [rbp + 0x90]
lea rcx, [rbp + 0x98]
call fcn.140027b70
nop
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x10
jb 0x140028dc2
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028dbd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140028dbd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e0f0
mov qword [rbp + 0xd0], rbx
mov qword [rbp + 0xd8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xc0], 0
mov rdx, qword [rbp + 0x138]
cmp rdx, 0x10
jb 0x140028e20
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028e1a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140028e1a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e0f0
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x140028e56
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140028e51
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140028e62
mov rcx, r8
call fcn.14007e0f0
mov qword [r15 + 0x10], rbx
mov rax, r13
jmp 0x140029045
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov qword [rdi], r12
mov qword [rdi + 8], r12
mov qword [rdi + 0x10], r12
test rsi, rsi
je 0x140028ead
sub r14, rsi
cmp r14, 0x1000
jb 0x140028ea1
add r14, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x140028f45
mov rsi, rcx
mov rdx, r14
mov rcx, rsi
call fcn.14007e0f0
nop
mov rax, qword [rbp + 0x140]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x140], rax
mov rax, qword [rbp + 0x140]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x13c], edx
lea rcx, [rbp + 0x158]
call fcn.140018cf0
lea rcx, [rbp + 0x160]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x1d8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x118]
cmp rdx, 0x10
jb 0x140028f52
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028f4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140028f4c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14007e0f0
nop
movzx edx, byte [rbp + 0x90]
lea rcx, [rbp + 0x98]
call fcn.140027b70
nop
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x10
jb 0x140028faa
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028fa5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140028fa5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e0f0
mov qword [rbp + 0xd0], r12
mov qword [rbp + 0xd8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xc0], 0
mov rdx, qword [rbp + 0x138]
cmp rdx, 0x10
jb 0x140029008
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029002
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140029002
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e0f0
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x14002903e
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140029039
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002907b
mov rcx, r8
call fcn.14007e0f0
mov qword [r15 + 0x10], r12
mov rax, rdi
mov byte [r15], 0
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.14007ea20
mov rbx, qword [rsp + 0x3a8]
add rsp, 0x350
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140001a50
nop
int3