Function at 0x140036fa0
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 [0x1400be080]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov r15, r8
mov qword [rbp - 0x48], rdx
mov r13, rcx
mov qword [rbp - 0x78], rdx
mov qword [rbp + 0x88], r8
xor edi, edi
mov dword [rbp - 0x70], edi
mov dword [rsp + 0x38], 0xe9f1eaa2
mov dword [rsp + 0x3c], 0xefe3fbed
mov word [rsp + 0x40], 0xb1
mov byte [rsp + 0x42], 1
mov ecx, edi
nop dword [rax + rax]
lea eax, [rcx - 0x7c]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 9
jb 0x140037010
mov byte [rsp + 0x42], 0
mov dword [rbp - 0x78], 0xeae7eba2
mov dword [rbp - 0x74], 0x100b4ed
mov dword [rsp + 0x68], 0xf4e3f6a2
mov dword [rsp + 0x6c], 0xe5e5e0fb
mov dword [rsp + 0x70], 0xb3e9e5
mov byte [rsp + 0x74], 1
mov dword [rsp + 0x48], 0xebefe3a2
mov dword [rsp + 0x4c], 0xb6eee0ed
mov word [rsp + 0x50], 0x100
mov dword [rsp + 0x58], 0xe2f6fcf0
mov dword [rsp + 0x5c], 0xe7e3efb5
mov word [rsp + 0x60], 0xe9
mov byte [rsp + 0x62], 1
mov rcx, rdi
nop word [rax + rax]
lea eax, [rcx - 0x7c]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 8
jb 0x140037090
mov byte [rsp + 0x51], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x40]
call fcn.140019b40
nop
cmp byte [rsp + 0x62], 0
je 0x1400370e5
mov rcx, rdi
nop dword [rax + rax]
lea eax, [rcx - 0x7c]
xor byte [rsp + rcx + 0x58], al
inc rcx
cmp rcx, 9
jb 0x1400370d0
mov byte [rsp + 0x62], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x61]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x68]
call fcn.140019b40
nop
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x68]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp + 0xa0]
call fcn.1400197b0
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140037157
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037151
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037151
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008f720
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140037196
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037190
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037190
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008f720
nop
mov rdx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x1400371a3
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
lea rcx, [rbp + 0xa0]
call fcn.140014da0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x40]
call fcn.14002d7f0
nop
lea rdx, [r13 + 0x238]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400371f9
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140014da0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x20]
call fcn.14002d430
nop
mov rdx, r13
cmp qword [r13 + 0x18], 0x10
jb 0x14003723f
mov rdx, qword [r13]
mov r8, qword [r13 + 0x10]
mov rcx, rax
call fcn.140014da0
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], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x38]
lea rdx, [rbp + 0xe0]
lea rcx, [rbp]
call fcn.140017b70
nop
lea rdx, [r13 + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400372ac
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140014da0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x120], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x130], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8, qword [rbp + 0x18]
cmp r8, 0x10
jb 0x1400372f2
inc r8
mov rdx, qword [rbp]
lea rcx, [rbp]
call fcn.1400172d0
movdqa xmm0, xmmword [0x1400aee90]
movdqu xmmword [rbp + 0x10], xmm0
mov byte [rbp], 0
mov r8, qword [rbp + 0xf8]
cmp r8, 0x10
jb 0x140037326
inc r8
mov rdx, qword [rbp + 0xe0]
lea rcx, [rbp + 0xe0]
call fcn.1400172d0
movdqa xmm0, xmmword [0x1400aee90]
movdqu xmmword [rbp + 0xf0], xmm0
mov byte [rbp + 0xe0], 0
mov r8, qword [rbp + 0x38]
cmp r8, 0x10
jb 0x140037357
inc r8
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x20]
call fcn.1400172d0
movdqa xmm0, xmmword [0x1400aee90]
movdqu xmmword [rbp + 0x30], xmm0
mov byte [rbp + 0x20], 0
mov r8, qword [rbp - 0x28]
cmp r8, 0x10
jb 0x140037383
inc r8
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.1400172d0
nop
mov r8, qword [rbp + 0x58]
cmp r8, 0x10
jb 0x14003739d
inc r8
mov rdx, qword [rbp + 0x40]
lea rcx, [rbp + 0x40]
call fcn.1400172d0
movdqa xmm0, xmmword [0x1400aee90]
movdqu xmmword [rbp + 0x50], xmm0
mov byte [rbp + 0x40], 0
mov r8, qword [rbp - 0x50]
cmp r8, 0x10
jb 0x1400373c9
inc r8
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x68]
call fcn.1400172d0
nop
mov r8, qword [rbp + 0xb8]
cmp r8, 0x10
jb 0x1400373ec
inc r8
mov rdx, qword [rbp + 0xa0]
lea rcx, [rbp + 0xa0]
call fcn.1400172d0
movdqa xmm0, xmmword [0x1400aee90]
movdqu xmmword [rbp + 0xb0], xmm0
mov byte [rbp + 0xa0], 0
lea rax, [rbp - 0x68]
mov qword [rbp + 0x80], rax
lea rdx, [r13 + 0x80]
lea rcx, [rbp - 0x68]
call fcn.140015060
mov rbx, rax
lea rdx, [rbp + 0x120]
lea rcx, [rbp - 0x40]
call fcn.140015060
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0xc0]
call fcn.14003d710
nop
mov qword [rbp + 0x78], rdi
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x90]
call fcn.140030140
nop
mov dword [rsp + 0x38], 0xf4f5e0e9
mov dword [rsp + 0x3c], 0xefeee9
mov byte [rsp + 0x40], 1
mov rcx, rdi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x7c]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 7
jb 0x140037490
mov byte [rsp + 0x40], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3f]
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0xa0]
call fcn.140019b40
nop
mov rbx, qword [rsp + 0x38]
movzx ecx, byte [rbp + 0x90]
test cl, cl
jne 0x1400374ed
mov byte [rbp + 0x90], 1
call fcn.140018de0
mov qword [rbp + 0x98], rax
movzx ecx, byte [rbp + 0x90]
jmp 0x1400374f4
mov rax, qword [rbp + 0x98]
cmp cl, 1
jne 0x14003750b
lea rdx, [rbp + 0xa0]
mov rcx, rax
call fcn.1400333d0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
movdqa xmm1, xmmword [0x1400aee90]
movdqu xmmword [rbp + 0x110], xmm1
mov byte [rbp + 0x100], 0
mov dword [rbp - 0x70], 0x2ffc00
cmp byte [rbx], 3
jne 0x14003754a
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x100]
cmp rax, rdx
je 0x140037568
jmp 0x14003754d
mov rdx, rdi
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14003755b
mov rdx, qword [rdx]
lea rcx, [rbp + 0x100]
call fcn.140017260
nop
mov r8, qword [rbp + 0xb8]
cmp r8, 0x10
jb 0x14003758b
inc r8
mov rdx, qword [rbp + 0xa0]
lea rcx, [rbp + 0xa0]
call fcn.1400172d0
movdqa xmm0, xmmword [0x1400aee90]
movdqu xmmword [rbp + 0xb0], xmm0
mov byte [rbp + 0xa0], 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.1400328e0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.14008f728
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 0x14003762a
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.140058b70
mov r12, rsi
cmp rsi, r14
je 0x1400376b1
movzx edi, byte [r12]
lea rdx, [0x140039760]
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 + 0x68]
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 0x140037653
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
movdqa xmm1, xmmword [0x1400aee90]
movdqu xmmword [rbp + 0xb0], xmm1
mov byte [rbp + 0xa0], 0
mov dword [rbp - 0x70], 0x1ffc04
xor eax, eax
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rax
mov rcx, qword [rbp + 0x1c8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140037721
mov rax, qword [rbp + 0x198]
mov r8, qword [rax]
test r8, r8
je 0x140037721
mov rax, qword [rbp + 0x178]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x1c0]
cmovb r8, qword [rbp + 0x1c0]
sub r8, rdx
jmp 0x14003775b
test cl, 4
jne 0x140037751
mov rax, qword [rbp + 0x190]
mov rcx, qword [rax]
test rcx, rcx
je 0x140037751
mov rax, qword [rbp + 0x170]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x1a8]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x14003775b
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x14003776d
lea rcx, [rbp + 0xa0]
call fcn.140017260
nop
lea rdx, [0x1400be028]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x1400be028]
lea rcx, [rbp + 0xa0]
mov rbx, qword [rbp + 0xa0]
mov rdi, qword [rbp + 0xb8]
cmp rdi, 0x10
cmovae rcx, rbx
mov r8, qword [rbp + 0xb0]
cmp r8, qword [0x1400be038]
jne 0x1400377bf
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400377bf
xor r12b, r12b
jmp 0x1400377c2
mov r12b, 1
cmp rdi, 0x10
jb 0x1400377fc
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400377f4
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400377f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14008f720
test r12b, r12b
je 0x140037820
lea r8, [rbp + 0x100]
lea rdx, str.Signature_checksum_failed._Request_was_tampered_with_or_session_ended_most_likely.__echo:__echo_Message:
lea rcx, [rbp - 0x68]
call fcn.1400178e0
mov rcx, rax
call fcn.1400386d0
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x68]
call fcn.14001ae10
mov rdx, rax
mov rcx, r13
call fcn.14003c0e0
mov dword [rsp + 0x38], 0xe4e5f0f7
mov dword [rsp + 0x3c], 0xf9faed
mov byte [rsp + 0x40], 1
xor edi, edi
mov ecx, edi
nop word [rax + rax]
lea eax, [rcx - 0x7c]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 7
jb 0x140037860
mov byte [rsp + 0x40], dil
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3f]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x68]
call fcn.140019b40
nop
movzx ecx, byte [rbp + 0x90]
test cl, cl
jne 0x1400378b5
mov byte [rbp + 0x90], 1
call fcn.140018de0
mov qword [rbp + 0x98], rax
movzx ecx, byte [rbp + 0x90]
jmp 0x1400378bc
mov rax, qword [rbp + 0x98]
cmp cl, 1
jne 0x1400378d2
lea rdx, [rbp - 0x68]
mov rcx, rax
call fcn.1400333d0
mov rcx, rax
jmp 0x1400378d7
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + 8]
cmp byte [rcx], 4
cmovne rax, rdi
movzx ebx, byte [rax]
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140037923
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003791e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003791e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008f720
test bl, bl
je 0x140037e6e
mov dword [rsp + 0x48], 0xf3e8eae7
mov dword [rsp + 0x4c], 0xf8fee7ed
mov word [rsp + 0x50], 0x100
mov rcx, rdi
nop word [rax + rax]
lea eax, [rcx - 0x7c]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 8
jb 0x140037950
mov byte [rsp + 0x51], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x68]
call fcn.140019b40
nop
mov rbx, qword [rsp + 0x38]
movzx ecx, byte [rbp + 0x90]
test cl, cl
jne 0x1400379aa
mov byte [rbp + 0x90], 1
call fcn.140018de0
mov qword [rbp + 0x98], rax
movzx ecx, byte [rbp + 0x90]
jmp 0x1400379b1
mov rax, qword [rbp + 0x98]
cmp cl, 1
jne 0x1400379c5
lea rdx, [rbp - 0x68]
mov rcx, rax
call fcn.1400333d0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1400aee90]
movdqu xmmword [rbp - 0x10], xmm1
mov byte [rbp - 0x20], 0
mov dword [rbp - 0x70], 0x1ffd7a
cmp byte [rbx], 3
jne 0x1400379f8
mov rdx, qword [rbx + 8]
lea rax, [rbp - 0x20]
cmp rax, rdx
je 0x140037a13
jmp 0x1400379fb
mov rdx, rdi
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140037a09
mov rdx, qword [rdx]
lea rcx, [rbp - 0x20]
call fcn.140017260
nop
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0xa0]
call fcn.140039780
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x140037a63
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037a5d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037a5d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008f720
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140037aa1
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037a9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037a9c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008f720
movdqa xmm0, xmmword [0x1400aee90]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], rdi
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 0x14003808b
mov qword [rbp - 0x80], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x140037b1c
mov qword [rsp + 0x78], rdi
mov r8d, reloc.WS2_32.dll_recv
mov rdx, r12
lea rcx, [rsp + 0x68]
call sub.VCRUNTIME140.dll_memmove
jmp 0x140037b70
mov rax, rdi
or rax, 0xf
cmp rax, rbx
ja 0x140037b37
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 + 0x68]
call fcn.1400199a0
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], rbx
lea r8, [rdi + 1]
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rdi, [rsp + 0x68]
mov r8, qword [rsp + 0x68]
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
cmovae rdi, r8
add rdi, qword [rsp + 0x78]
lea r12, [rsp + 0x68]
cmp rdx, 0x10
cmovae r12, r8
mov r13, qword [rbp - 0x48]
xor ebx, ebx
mov qword [r13], rbx
mov qword [r13 + 8], rbx
mov qword [r13 + 0x10], rbx
sub rdi, r12
je 0x140037be9
mov rdx, rdi
mov rcx, r13
call fcn.14001b610
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 - 0x80]
mov r8, qword [rsp + 0x68]
xor ebx, ebx
cmp rdx, 0x10
jb 0x140037c22
inc rdx
mov rax, r8
cmp rdx, 0x1000
jb 0x140037c1a
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037c1a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.14008f720
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0x10
jb 0x140037c78
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037c73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037c73
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008f720
mov qword [rbp + 0xb0], rbx
mov qword [rbp + 0xb8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xa0], 0
test rsi, rsi
je 0x140037cca
sub r14, rsi
cmp r14, 0x1000
jb 0x140037cbe
add r14, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x140037d62
mov rsi, rcx
mov rdx, r14
mov rcx, rsi
call fcn.14008f720
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.140032b50
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 0x140037d6f
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037d69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037d69
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.14008f720
nop
movzx edx, byte [rbp + 0x90]
lea rcx, [rbp + 0x98]
call fcn.140015f40
nop
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x10
jb 0x140037dc7
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037dc2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037dc2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008f720
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 0x140037e25
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037e1f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037e1f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008f720
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x140037e5b
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140037e56
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140037e67
mov rcx, r8
call fcn.14008f720
mov qword [r15 + 0x10], rbx
mov rax, r13
jmp 0x14003804e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rbx, qword [rbp - 0x48]
mov qword [rbx], rdi
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], rdi
test rsi, rsi
je 0x140037eb6
sub r14, rsi
cmp r14, 0x1000
jb 0x140037eaa
add r14, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x140037f4e
mov rsi, rcx
mov rdx, r14
mov rcx, rsi
call fcn.14008f720
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.140032b50
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 0x140037f5b
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037f55
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037f55
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.14008f720
nop
movzx edx, byte [rbp + 0x90]
lea rcx, [rbp + 0x98]
call fcn.140015f40
nop
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x10
jb 0x140037fb3
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037fae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037fae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008f720
mov qword [rbp + 0xd0], rdi
mov qword [rbp + 0xd8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xc0], 0
mov rdx, qword [rbp + 0x138]
cmp rdx, 0x10
jb 0x140038011
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003800b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003800b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008f720
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x140038047
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140038042
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140038084
mov rcx, r8
call fcn.14008f720
mov qword [r15 + 0x10], rdi
mov rax, rbx
mov byte [r15], 0
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.14008f700
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.140003060
nop
int3