Function at 0x140021040
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x388]
sub rsp, 0x488
mov rax, qword [0x140094088]
xor rax, rsp
mov qword [rbp + 0x370], rax
mov rbx, r9
mov qword [rbp - 0x30], rbx
mov r13, r8
mov r12, rdx
mov rsi, rcx
mov qword [rbp - 0x38], rcx
mov qword [rbp + 0x1a8], rdx
mov qword [rbp + 0x1b0], r8
mov qword [rbp + 0x1b8], rbx
mov rdi, qword [rbp + 0x3f0]
mov qword [rbp - 0x28], rdi
mov qword [rbp + 0x1c0], rdi
xor r15d, r15d
mov dword [rsp + 0x40], r15d
lea rcx, [rbp + 0x230]
call fcn.140028f50
nop
mov dword [rbp - 0x70], 0x352d367e
mov dword [rbp - 0x6c], 0x3b372f39
mov word [rbp - 0x68], 0x5d
mov byte [rbp - 0x66], 1
mov dword [rsp + 0x78], 0x363b377e
mov dword [rsp + 0x7c], 0x1006039
mov dword [rbp + 0x1d8], 0x283f2a7e
mov dword [rbp + 0x1dc], 0x3131342f
mov dword [rbp + 0x1e0], 0x5f0509
mov byte [rbp + 0x1e4], 1
mov dword [rsp + 0x70], 0x322d317e
mov dword [rsp + 0x74], 0x1006038
mov dword [rbp - 0x80], 0x3a373c7e
mov dword [rbp - 0x7c], 0x633135
mov byte [rbp - 0x78], 1
mov dword [rsp + 0x40], 0x223f327e
mov word [rsp + 0x44], 0x61
mov byte [rsp + 0x46], 1
mov dword [rsp + 0x68], 0x283b297e
mov dword [rsp + 0x6c], 0x100602f
mov dword [rbp - 0x60], 0x3e292c7e
mov dword [rbp - 0x5c], 0x323f332e
mov dword [rbp - 0x58], 0x1005c05
mov dword [rbp - 0x50], 0x3e2a202c
mov dword [rbp - 0x4c], 0x383b2f61
mov dword [rbp - 0x48], 0x6161209
mov word [rbp - 0x44], reloc.WLDAP32.dll_Ordinal_22
mov byte [rbp - 0x42], 1
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0xa0]
call fcn.14000fdf0
nop
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x1400211a8
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, rax
call fcn.140018080
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x90], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x68]
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x60]
call fcn.14000f200
nop
mov rdx, r13
cmp qword [r13 + 0x18], 0x10
jb 0x1400211fd
mov rdx, qword [r13]
mov r8, qword [r13 + 0x10]
mov rcx, rax
call fcn.140018080
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x20]
call fcn.14000f0e0
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140021247
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.140018080
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x48]
lea rcx, [rbp]
call fcn.14000f320
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140021293
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.140018080
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1f0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x200], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0x1f0]
lea rcx, [rbp + 0xc8]
call fcn.14000f200
nop
lea rdx, [rbp + 0x230]
cmp qword [rbp + 0x248], 0x10
cmovae rdx, qword [rbp + 0x230]
mov r8, qword [rbp + 0x240]
mov rcx, rax
call fcn.140018080
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rbp + 0x1d8]
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x188]
call fcn.14000fcc0
nop
lea r8, [rsi + 0x238]
mov rdx, rax
lea rcx, [rbp + 0x168]
call fcn.14000eea0
nop
lea r8, [rsp + 0x78]
mov rdx, rax
lea rcx, [rbp + 0x148]
call fcn.14000f200
nop
mov r8, rsi
mov rdx, rax
lea rcx, [rbp + 0x128]
call fcn.14000eea0
nop
lea r8, [rbp - 0x70]
mov rdx, rax
lea rcx, [rbp + 0x108]
call fcn.14000fa00
nop
lea r8, [rsi + 0x20]
mov rdx, rax
lea rcx, [rbp + 0x250]
call fcn.14000eea0
nop
lea rcx, [rbp + 0x108]
call fcn.140006e40
nop
lea rcx, [rbp + 0x128]
call fcn.140006e40
nop
lea rcx, [rbp + 0x148]
call fcn.140006e40
nop
lea rcx, [rbp + 0x168]
call fcn.140006e40
nop
lea rcx, [rbp + 0x188]
call fcn.140006e40
nop
lea rcx, [rbp - 0x20]
call fcn.140006e40
nop
lea rcx, [rbp + 0xc8]
call fcn.140006e40
nop
mov rdx, qword [rbp + 0x208]
cmp rdx, 0x10
jb 0x14002143c
inc rdx
mov rcx, qword [rbp + 0x1f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021436
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140021436
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073ccc
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x14002147a
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021475
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140021475
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073ccc
movdqa xmm0, xmmword [0x140087890]
movdqu xmmword [rbp + 0x10], xmm0
mov byte [rbp], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400214cc
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400214c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400214c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073ccc
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x14002150a
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021505
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140021505
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073ccc
movdqa xmm0, xmmword [0x140087890]
movdqu xmmword [rbp + 0x30], xmm0
mov byte [rbp + 0x20], 0
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x14002155a
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021554
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140021554
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073ccc
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x140021598
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021593
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140021593
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073ccc
movdqa xmm0, xmmword [0x140087890]
movdqu xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x60], 0
mov rdx, qword [rbp + 0x98]
cmp rdx, 0x10
jb 0x1400215ee
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400215e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400215e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073ccc
nop
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0x10
jb 0x140021632
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002162d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002162d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073ccc
movdqa xmm0, xmmword [0x140087890]
movdqu xmmword [rbp + 0xb0], xmm0
mov byte [rbp + 0xa0], 0
lea rax, [rbp - 0x20]
mov qword [rbp + 0xc0], rax
lea rdx, [rsi + 0x80]
lea rcx, [rbp - 0x20]
call fcn.140006fe0
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
lea rsi, [rbp + 0x250]
cmp qword [rbp + 0x268], 0x10
cmovae rsi, qword [rbp + 0x250]
movabs rbx, 0x7fffffffffffffff
mov rdi, qword [rbp + 0x260]
cmp rdi, rbx
ja 0x1400220af
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x1400216d3
mov qword [rsp + 0x58], rdi
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rsi
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll_memmove
jmp 0x140021729
mov rax, rdi
or rax, 0xf
cmp rax, rbx
ja 0x1400216ee
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 + 0x48]
call fcn.140008360
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rbx
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
mov r8, r14
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x210]
call fcn.1400220c0
nop
mov qword [rbp + 0x100], r15
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0xc8]
lea rdx, [rbp + 0x210]
lea rcx, [rbp + 0x1c8]
call fcn.1400132f0
nop
mov dword [rsp + 0x30], 0x28293c35
mov dword [rsp + 0x34], 0x3b3a3d
mov byte [rsp + 0x38], 1
mov rcx, r15
lea eax, [rcx + 0x58]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x140021780
mov byte [rsp + 0x38], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x48], eax
movzx eax, word [rsp + 0x34]
mov word [rsp + 0x4c], ax
movzx eax, byte [rsp + 0x36]
mov byte [rsp + 0x4e], al
movzx ecx, byte [rbp + 0x1c8]
test cl, cl
jne 0x1400217f1
mov byte [rbp + 0x1c8], 1
call fcn.140011ba0
mov qword [rbp + 0x1d0], rax
movzx ecx, byte [rbp + 0x1c8]
jmp 0x1400217f8
mov rax, qword [rbp + 0x1d0]
cmp cl, 1
jne 0x14002180c
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.140016ec0
jmp 0x140021811
mov rax, qword [rsp + 0x30]
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f0], xmm0
movdqa xmm1, xmmword [0x140087890]
movdqu xmmword [rbp + 0x200], xmm1
mov byte [rbp + 0x1f0], 0
mov dword [rsp + 0x40], 0xfd80
cmp byte [rax], 3
jne 0x140021851
mov rdx, qword [rax + 8]
lea rax, [rbp + 0x1f0]
cmp rax, rdx
je 0x14002186f
jmp 0x140021854
mov rdx, r15
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140021862
mov rdx, qword [rdx]
lea rcx, [rbp + 0x1f0]
call fcn.140018110
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400218af
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400218aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400218aa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073ccc
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x270]
call sub.VCRUNTIME140.dll_memset
mov edx, 1
lea rcx, [rbp + 0x270]
call fcn.140015f80
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x1d8], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.140073a40
mov r14, rax
mov qword [rbp + 0x1d8], rax
lea r15, [rax + 0x20]
mov qword [rbp + 0x1e8], r15
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0x1e0], r15
lea r8, [rbp + 0x210]
cmp qword [rbp + 0x228], 0x10
cmovae r8, qword [rbp + 0x210]
mov rax, qword [rbp - 0x38]
lea rcx, [rax + 0x258]
cmp qword [rcx + 0x18], 0x10
jb 0x14002194e
mov rcx, qword [rcx]
mov qword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], r14
mov r9, qword [rbp + 0x220]
mov rdx, qword [rax + 0x268]
call fcn.1400293c0
mov rsi, r14
cmp r14, r15
je 0x1400219db
nop word [rax + rax]
movzx edi, byte [rsi]
lea rdx, [0x14001be90]
lea rcx, [rbp + 0x280]
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 rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov byte [rdx + rax + 0x58], Ordinal_50
mov edx, 2
lea rcx, [rbp - 0x50]
call sub.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__
mov r8, qword [rax]
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
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 rsi
cmp rsi, r15
jne 0x140021980
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x140087890]
movdqu xmmword [rsp + 0x58], xmm1
mov byte [rsp + 0x48], 0
mov dword [rsp + 0x40], 0xfb82
xor eax, eax
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rax
mov rcx, qword [rbp + 0x2f8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140021a44
mov rax, qword [rbp + 0x2c8]
mov r8, qword [rax]
test r8, r8
je 0x140021a44
mov rax, qword [rbp + 0x2a8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x2f0]
cmovb r8, qword [rbp + 0x2f0]
sub r8, rdx
jmp 0x140021a7c
test cl, 4
jne 0x140021a74
mov rax, qword [rbp + 0x2c0]
mov rcx, qword [rax]
test rcx, rcx
je 0x140021a74
mov rax, qword [rbp + 0x2a0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x2d8]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x140021a7c
mov r8, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x140021a8c
lea rcx, [rsp + 0x48]
call fcn.140018110
nop
lea rdx, [section..data]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [section..data]
lea rcx, [rsp + 0x48]
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x60]
cmp rdi, 0x10
cmovae rcx, rbx
mov r8, qword [rsp + 0x58]
cmp r8, qword [0x140094010]
jne 0x140021ad6
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140021ad6
xor sil, sil
jmp 0x140021ad9
mov sil, 1
cmp rdi, 0x10
jb 0x140021b13
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140021b0b
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140021b0b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140073ccc
test sil, sil
je 0x140021b3a
lea r8, [rbp + 0x1f0]
lea rdx, str.Signature_checksum_failed._Request_was_tampered_with_or_session_ended_most_likely.__echo:__echo_Message:
lea rcx, [rbp + 0xc8]
call fcn.14000ef80
mov rcx, rax
call fcn.14001ae10
lea rdx, [rbp + 0x1c8]
lea rcx, [rbp - 0x50]
call fcn.140015ac0
mov rdx, rax
mov rdi, qword [rbp - 0x38]
mov rcx, rdi
call fcn.14001dad0
mov dword [rsp + 0x30], 0x38392c2b
mov dword [rsp + 0x34], 0x2d2e39
mov byte [rsp + 0x38], 1
xor esi, esi
mov ecx, esi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x58]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x140021b80
mov byte [rsp + 0x38], sil
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], 7
mov ecx, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x60], rcx
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x48], eax
movzx eax, word [rsp + 0x34]
mov word [rsp + 0x4c], ax
movzx eax, byte [rsp + 0x36]
mov byte [rsp + 0x4e], al
cmp byte [rbp + 0x1c8], 0
jne 0x140021bec
mov byte [rbp + 0x1c8], 1
call fcn.140011ba0
mov qword [rbp + 0x1d0], rax
mov rcx, qword [rsp + 0x60]
cmp byte [rbp + 0x1c8], 1
jne 0x140021c10
lea rdx, [rsp + 0x48]
mov rcx, qword [rbp + 0x1d0]
call fcn.140016ec0
mov rdx, rax
mov rcx, qword [rsp + 0x60]
jmp 0x140021c15
mov rdx, qword [rsp + 0x30]
lea rax, [rdx + 8]
cmp byte [rdx], 4
cmovne rax, rsi
movzx ebx, byte [rax]
cmp rcx, 0x10
jb 0x140021c5f
lea rdx, [rcx + 1]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021c5a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140021c5a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073ccc
test bl, bl
je 0x140021d4d
mov dword [rsp + 0x40], 0x343c3731
mov word [rsp + 0x44], 0x100
mov rcx, rsi
nop dword [rax]
lea eax, [rcx + 0x58]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 4
jb 0x140021c80
mov byte [rsp + 0x45], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], 4
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x48], eax
cmp byte [rbp + 0x1c8], 0
jne 0x140021cd3
mov byte [rbp + 0x1c8], 1
call fcn.140011ba0
mov qword [rbp + 0x1d0], rax
cmp byte [rbp + 0x1c8], 1
jne 0x140021cef
lea rdx, [rsp + 0x48]
mov rcx, qword [rbp + 0x1d0]
call fcn.140016ec0
jmp 0x140021cf4
mov rax, qword [rsp + 0x30]
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.140015ac0
mov rdx, rax
mov rcx, rdi
call fcn.14001db80
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140021d4d
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021d47
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140021d47
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073ccc
nop
test r14, r14
je 0x140021d86
sub r15, r14
cmp r15, 0x1000
jb 0x140021d7a
add r15, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x140021e1e
mov r14, rcx
mov rdx, r15
mov rcx, r14
call fcn.140073ccc
nop
mov rax, qword [rbp + 0x270]
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 + 0x270], rax
mov rax, qword [rbp + 0x270]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x26c], edx
lea rcx, [rbp + 0x288]
call fcn.1400164e0
lea rcx, [rbp + 0x290]
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 + 0x308]
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 + 0x208]
cmp rdx, 0x10
jb 0x140021e2b
inc rdx
mov rcx, qword [rbp + 0x1f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021e25
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140021e25
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.140073ccc
nop
movzx edx, byte [rbp + 0x1c8]
lea rcx, [rbp + 0x1d0]
call fcn.1400192f0
nop
mov rdx, qword [rbp + 0x228]
cmp rdx, 0x10
jb 0x140021e83
inc rdx
mov rcx, qword [rbp + 0x210]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021e7e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140021e7e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073ccc
mov qword [rbp + 0x220], rsi
mov qword [rbp + 0x228], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x210], 0
mov rax, qword [rbp + 0x268]
cmp rax, 0x10
jb 0x140021ee2
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0x250]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021edc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140021edc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073ccc
nop
mov rdx, qword [rbp + 0x248]
cmp rdx, 0x10
jb 0x140021f26
inc rdx
mov rcx, qword [rbp + 0x230]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021f21
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140021f21
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073ccc
mov qword [rbp + 0x240], rsi
mov qword [rbp + 0x248], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x230], 0
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x140021f7b
mov rcx, qword [r12]
inc rdx
cmp rdx, 0x1000
jb 0x140021f76
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140022093
mov rcx, r8
call fcn.140073ccc
mov qword [r12 + 0x10], rsi
mov qword [r12 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r12], 0
mov rdx, qword [r13 + 0x18]
cmp rdx, 0x10
jb 0x140021fc9
mov rcx, qword [r13]
inc rdx
cmp rdx, 0x1000
jb 0x140021fc4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002209a
mov rcx, r8
call fcn.140073ccc
mov qword [r13 + 0x10], rsi
mov qword [r13 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r13], 0
mov rbx, qword [rbp - 0x30]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140022018
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140022013
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400220a1
mov rcx, r8
call fcn.140073ccc
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rbx, qword [rbp - 0x28]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140022061
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14002205c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400220a8
mov rcx, r8
call fcn.140073ccc
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.140074150
add rsp, 0x488
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
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 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.140001c20
int3