Function at 0x1400310c0
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 - 0x378]
sub rsp, 0x478
mov rax, qword [0x1400ba180]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov r13, r9
mov r12, r8
mov qword [rbp + 8], rdx
mov r15, rcx
mov qword [rbp], rcx
mov qword [rbp + 0x20], rdx
mov qword [rbp + 0x190], r8
mov qword [rbp + 0x198], r9
mov rsi, qword [rbp + 0x3e0]
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x1a0], rsi
mov rbx, qword [rbp + 0x3e8]
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x1a8], rbx
mov dword [rsp + 0x58], 0
call fcn.140033790
mov rdi, rax
mov dword [rbp - 0x58], 0x352d367e
mov dword [rbp - 0x54], 0x3b372f39
mov word [rbp - 0x50], 0x5d
mov byte [rbp - 0x4e], 1
mov dword [rbp - 0x70], 0x363b377e
mov dword [rbp - 0x6c], 0x1006039
mov dword [rbp + 0x1c8], 0x283f2a7e
mov dword [rbp + 0x1cc], 0x3131342f
mov dword [rbp + 0x1d0], 0x5f0509
mov byte [rbp + 0x1d4], 1
mov dword [rsp + 0x60], 0x35353a7e
mov dword [rsp + 0x64], 0x2f272928
mov dword [rsp + 0x68], 0x1005c05
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1400311b4
mov rdx, qword [rsi]
xor r8d, r8d
mov rcx, rdi
call fcn.1400322c0
mov rsi, rax
mov dword [rbp - 0x78], 0x3f353b7e
mov dword [rbp - 0x74], 0x1006025
mov rdx, r13
cmp qword [r13 + 0x18], 0x10
jb 0x1400311de
mov rdx, qword [r13]
xor r8d, r8d
mov rcx, rdi
call fcn.1400322c0
mov r14, rax
mov dword [rbp - 0x68], 0x293b297e
mov dword [rbp - 0x64], 0x622d303d
mov word [rbp - 0x60], 0x100
mov dword [rsp + 0x48], 0x393f2e7e
mov dword [rsp + 0x4c], 0x633935
mov byte [rsp + 0x50], 1
mov dword [rsp + 0x70], 0x3e2a202c
mov dword [rsp + 0x74], 0x3d3b2a61
mov dword [rsp + 0x78], 0x80d0e08
mov word [rsp + 0x7c], 0x100
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x40]
call fcn.14001e6b0
nop
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x140031257
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, rax
call fcn.1400069b0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1f8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x208], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rbp - 0x68]
lea rdx, [rbp + 0x1f8]
lea rcx, [rbp + 0x30]
call fcn.14001dce0
nop
mov r8, r14
mov rdx, rax
lea rcx, [rbp + 0x170]
call fcn.140001cd0
nop
lea r8, [rbp - 0x78]
mov rdx, rax
lea rcx, [rbp + 0x150]
call fcn.14001dbc0
nop
mov r8, rsi
mov rdx, rax
lea rcx, [rbp + 0x130]
call fcn.140001cd0
mov rsi, rax
cmp byte [rsp + 0x6b], 0
je 0x140031305
xor ecx, ecx
nop word [rax + rax]
lea eax, [rcx + 0x58]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 0xa
jb 0x1400312f0
mov byte [rsp + 0x6b], 0
lea r9, [rbp + 0x1b0]
lea r8, [rsp + 0x6a]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x238]
call fcn.140001650
nop
lea r8, [rbp + 0x238]
mov rdx, rsi
lea rcx, [rbp + 0x70]
call fcn.14001db50
nop
lea rcx, [rbp + 0x238]
call fcn.140003fc0
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140031351
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp + 0x70]
call fcn.1400069b0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rbp + 0x1c8]
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x110]
call fcn.14001e3f0
nop
lea r8, [r15 + 0x238]
mov rdx, rax
lea rcx, [rbp + 0xf0]
call fcn.140001c60
nop
lea r8, [rbp - 0x70]
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.14001dbc0
nop
mov r8, r15
mov rdx, rax
lea rcx, [rbp + 0xb0]
call fcn.140001c60
nop
lea r8, [rbp - 0x58]
mov rdx, rax
lea rcx, [rbp + 0x90]
call fcn.14001df80
nop
lea r8, [r15 + 0x20]
mov rdx, rax
lea rcx, [rbp + 0x238]
call fcn.140001c60
nop
lea rcx, [rbp + 0x90]
call fcn.140003fc0
nop
lea rcx, [rbp + 0xb0]
call fcn.140003fc0
nop
lea rcx, [rbp + 0xd0]
call fcn.140003fc0
nop
lea rcx, [rbp + 0xf0]
call fcn.140003fc0
nop
lea rcx, [rbp + 0x110]
call fcn.140003fc0
nop
lea rcx, [rbp - 0x20]
call fcn.140003fc0
nop
lea rcx, [rbp + 0x70]
call fcn.140003fc0
nop
lea rcx, [rbp + 0x130]
call fcn.140003fc0
nop
lea rcx, [rbp + 0x150]
call fcn.140003fc0
nop
lea rcx, [rbp + 0x170]
call fcn.140003fc0
nop
lea rcx, [rbp + 0x30]
call fcn.140003fc0
nop
mov rdx, qword [rbp + 0x210]
cmp rdx, 0x10
jb 0x1400314c9
inc rdx
mov rcx, qword [rbp + 0x1f8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400314c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400314c3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140081950
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140031507
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031502
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140031502
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140081950
movdqa xmm0, xmmword [0x1400869b0]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov rcx, rdi
call fcn.140033770
lea rax, [rbp + 0x1f8]
mov qword [rbp + 0x28], rax
lea rdx, [r15 + 0x80]
lea rcx, [rbp + 0x1f8]
call fcn.1400031f0
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x1d8], xmm0
xor r15d, r15d
mov qword [rbp + 0x1e8], r15
mov qword [rbp + 0x1f0], r15
lea rsi, [rbp + 0x238]
cmp qword [rbp + 0x250], 0x10
cmovae rsi, qword [rbp + 0x238]
movabs rbx, 0x7fffffffffffffff
mov rdi, qword [rbp + 0x248]
cmp rdi, rbx
ja 0x140032037
mov qword [rbp + 0x1f0], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x1400315ba
mov qword [rbp + 0x1e8], rdi
lea r8d, [r15 + 0x10]
mov rdx, rsi
lea rcx, [rbp + 0x1d8]
call sub.VCRUNTIME140.dll_memmove
jmp 0x140031618
mov rax, rdi
or rax, 0xf
cmp rax, rbx
ja 0x1400315d5
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, [rbp + 0x1d8]
call fcn.140006610
mov qword [rbp + 0x1d8], rax
mov qword [rbp + 0x1e8], rdi
mov qword [rbp + 0x1f0], rbx
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
mov r8, r14
lea rdx, [rbp + 0x1d8]
lea rcx, [rbp + 0x218]
call fcn.14002ecd0
nop
mov qword [rbp + 0x68], r15
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x218]
lea rcx, [rbp + 0x1b8]
call fcn.140021a50
nop
mov dword [rsp + 0x30], 0x28293c35
mov dword [rsp + 0x34], 0x3b3a3d
mov byte [rsp + 0x38], 1
mov rcx, r15
nop dword [rax + rax]
lea eax, [rcx + 0x58]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x140031670
mov byte [rsp + 0x38], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x1d8], xmm0
mov qword [rbp + 0x1e8], 7
mov qword [rbp + 0x1f0], reloc.WS2_32.dll_ntohs
mov eax, dword [rsp + 0x30]
mov dword [rbp + 0x1d8], eax
movzx eax, word [rsp + 0x34]
mov word [rbp + 0x1dc], ax
movzx eax, byte [rsp + 0x36]
mov byte [rbp + 0x1de], al
mov rbx, qword [rsp + 0x30]
movzx ecx, byte [rbp + 0x1b8]
test cl, cl
jne 0x1400316f2
mov byte [rbp + 0x1b8], 1
call fcn.140020300
mov qword [rbp + 0x1c0], rax
movzx ecx, byte [rbp + 0x1b8]
jmp 0x1400316f9
mov rax, qword [rbp + 0x1c0]
cmp cl, 1
jne 0x140031710
lea rdx, [rbp + 0x1d8]
mov rcx, rax
call fcn.140025470
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f8], xmm0
movdqa xmm1, xmmword [0x1400869b0]
movdqu xmmword [rbp + 0x208], xmm1
mov byte [rbp + 0x1f8], 0
mov dword [rsp + 0x58], 0x7d8000
cmp byte [rbx], 3
jne 0x140031750
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x1f8]
cmp rax, rdx
je 0x14003176e
jmp 0x140031753
mov rdx, r15
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140031761
mov rdx, qword [rdx]
lea rcx, [rbp + 0x1f8]
call fcn.140006a40
nop
mov r8, qword [rbp + 0x1f0]
cmp r8, 0x10
jb 0x140031791
inc r8
mov rdx, qword [rbp + 0x1d8]
lea rcx, [rbp + 0x1d8]
call fcn.1400096e0
mov qword [rbp + 0x1e8], r15
mov qword [rbp + 0x1f0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x1d8], 0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x260]
call sub.VCRUNTIME140.dll_memset
mov edx, 1
lea rcx, [rbp + 0x260]
call fcn.1400246e0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x1d8], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.140081914
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 + 0x218]
cmp qword [rbp + 0x230], 0x10
cmovae r8, qword [rbp + 0x218]
mov rax, qword [rbp]
lea rcx, [rax + 0x258]
cmp qword [rcx + 0x18], 0x10
jb 0x140031836
mov rcx, qword [rcx]
mov qword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], r14
mov r9, qword [rbp + 0x228]
mov rdx, qword [rax + 0x268]
call fcn.140036df0
mov rsi, r14
cmp r14, r15
je 0x1400318bc
nop
movzx edi, byte [rsi]
lea rdx, [0x14002a8c0]
lea rcx, [rbp + 0x270]
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 rsi
cmp rsi, r15
jne 0x140031860
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x1400869b0]
movdqu xmmword [rbp - 0x30], xmm1
mov byte [rbp - 0x40], 0
mov dword [rsp + 0x58], 0x7b8020
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rax
mov rcx, qword [rbp + 0x2e8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140031923
mov rax, qword [rbp + 0x2b8]
mov r8, qword [rax]
test r8, r8
je 0x140031923
mov rax, qword [rbp + 0x298]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x2e0]
cmovb r8, qword [rbp + 0x2e0]
sub r8, rdx
jmp 0x14003195d
test cl, 4
jne 0x140031953
mov rax, qword [rbp + 0x2b0]
mov rcx, qword [rax]
test rcx, rcx
je 0x140031953
mov rax, qword [rbp + 0x290]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x2c8]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x14003195d
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x14003196c
lea rcx, [rbp - 0x40]
call fcn.140006a40
nop
lea rdx, [0x1400ba0e0]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x1400ba0e0]
lea rcx, [rbp - 0x40]
mov rbx, qword [rbp - 0x40]
mov rdi, qword [rbp - 0x28]
cmp rdi, 0x10
cmovae rcx, rbx
mov r8, qword [rbp - 0x30]
cmp r8, qword [0x1400ba0f0]
jne 0x1400319b2
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400319b2
xor sil, sil
jmp 0x1400319b5
mov sil, 1
cmp rdi, 0x10
jb 0x1400319ef
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400319e7
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400319e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140081950
test sil, sil
je 0x140031a13
lea r8, [rbp + 0x1f8]
lea rdx, str.Signature_checksum_failed._Request_was_tampered_with_or_session_ended_most_likely.__echo:__echo_Message:
lea rcx, [rbp + 0x30]
call fcn.140001d40
mov rcx, rax
call fcn.140029840
lea rdx, [rbp + 0x1b8]
lea rcx, [rsp + 0x70]
call fcn.140024220
mov rdx, rax
mov rcx, qword [rbp]
call fcn.14002cfe0
mov dword [rsp + 0x48], 0x2b293c2a
mov dword [rsp + 0x4c], 0x3a2d3333
mov word [rsp + 0x50], 0x100
xor ecx, ecx
nop dword [rax]
lea eax, [rcx + 0x58]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 8
jb 0x140031a50
mov byte [rsp + 0x51], 0
movdqa xmm0, xmmword [0x140087f30]
movdqu xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], reloc.WS2_32.dll_ntohs
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x40], rax
mov dword [rsp + 0x58], 0x7b80d0
movzx edx, byte [rbp + 0x1b8]
test dl, dl
jne 0x140031ab5
mov byte [rbp + 0x1b8], 1
call fcn.140020300
mov r8, rax
mov qword [rbp + 0x1c0], rax
movzx edx, byte [rbp + 0x1b8]
jmp 0x140031abc
mov r8, qword [rbp + 0x1c0]
cmp dl, 1
jne 0x140031add
lea rdx, [rbp - 0x40]
mov rcx, r8
call fcn.140025470
mov r8, qword [rbp + 0x1c0]
movzx edx, byte [rbp + 0x1b8]
jmp 0x140031ae2
mov rax, qword [rsp + 0x30]
cmp byte [rax], 0
je 0x140031b9e
mov dword [rsp + 0x30], 0x2b293c2a
mov dword [rsp + 0x34], 0x3a2d3333
mov word [rsp + 0x38], 0x100
xor ecx, ecx
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx + 0x58]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 8
jb 0x140031b10
mov byte [rsp + 0x39], 0
movdqa xmm0, xmmword [0x140087f30]
movdqu xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x20], rax
mov dword [rsp + 0x58], 0x7b8cd1
test dl, dl
jne 0x140031b6c
mov byte [rbp + 0x1b8], 1
call fcn.140020300
mov r8, rax
mov qword [rbp + 0x1c0], rax
movzx edx, byte [rbp + 0x1b8]
cmp dl, 1
jne 0x140031b7f
lea rdx, [rbp - 0x20]
mov rcx, r8
call fcn.140025470
jmp 0x140031b84
mov rax, qword [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140024220
nop
mov ebx, 0x7b8cd3
movzx edi, byte [rsp + 0x70]
jmp 0x140031c04
mov word [rsp + 0x40], 0x100
mov dil, 3
mov byte [rsp + 0x70], dil
xorps xmm0, xmm0
movups xmmword [rbp + 0x1c8], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.140081914
mov rbx, rax
lea rax, [rbp + 0x1b0]
mov qword [rbp + 0x1c8], rax
mov qword [rbp + 0x1d0], rbx
mov byte [rsp + 0x41], 0
lea r9, [rbp - 0x48]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140001650
nop
mov qword [rsp + 0x78], rbx
lea rax, [rsp + 0x70]
mov ebx, 0x7bb0d4
xorps xmm0, xmm0
mov rsi, qword [rbp + 8]
movups xmmword [rsi], xmm0
xor ecx, ecx
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], cl
bts ebx, 9
mov dword [rsp + 0x58], ebx
cmp byte [rax], 3
jne 0x140031c31
mov rdx, qword [rax + 8]
jmp 0x140031c34
mov rdx, rcx
cmp rsi, rdx
je 0x140031c4f
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140031c47
mov rdx, qword [rdx]
mov rcx, rsi
call fcn.140006a40
btr ebx, 9
or ebx, 0x108
test bl, 4
je 0x140031c70
and ebx, 0xfffffffb
movzx edx, dil
lea rcx, [rsp + 0x78]
call fcn.140028ca0
nop
test bl, 2
je 0x140031c88
and ebx, 0xfffffffd
movzx edx, byte [rsp + 0x60]
lea rcx, [rsp + 0x68]
call fcn.140028ca0
nop
test bl, 1
je 0x140031cdf
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x140031ccb
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031cc6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140031cc6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140081950
xor edi, edi
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x20], dil
jmp 0x140031ce1
xor edi, edi
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140031d1f
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031d1a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140031d1a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140081950
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x40], 0
test r14, r14
je 0x140031d68
sub r15, r14
cmp r15, 0x1000
jb 0x140031d5c
add r15, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x140031e00
mov r14, rcx
mov rdx, r15
mov rcx, r14
call fcn.140081950
nop
mov rax, qword [rbp + 0x260]
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 + 0x260], rax
mov rax, qword [rbp + 0x260]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x25c], edx
lea rcx, [rbp + 0x278]
call fcn.140004030
lea rcx, [rbp + 0x280]
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 + 0x2f8]
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 + 0x210]
cmp rdx, 0x10
jb 0x140031e0d
inc rdx
mov rcx, qword [rbp + 0x1f8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031e07
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140031e07
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.140081950
nop
movzx edx, byte [rbp + 0x1b8]
lea rcx, [rbp + 0x1c0]
call fcn.140028ca0
nop
mov rdx, qword [rbp + 0x230]
cmp rdx, 0x10
jb 0x140031e65
inc rdx
mov rcx, qword [rbp + 0x218]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031e60
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140031e60
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140081950
mov qword [rbp + 0x228], rdi
mov qword [rbp + 0x230], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x218], 0
mov rax, qword [rbp + 0x250]
cmp rax, 0x10
jb 0x140031ec4
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0x238]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031ebe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140031ebe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140081950
nop
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x140031f00
mov rcx, qword [r12]
inc rdx
cmp rdx, 0x1000
jb 0x140031efb
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003201b
mov rcx, r8
call fcn.140081950
mov qword [r12 + 0x10], rdi
mov qword [r12 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r12], 0
mov rdx, qword [r13 + 0x18]
cmp rdx, 0x10
jb 0x140031f4e
mov rcx, qword [r13]
inc rdx
cmp rdx, 0x1000
jb 0x140031f49
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140032022
mov rcx, r8
call fcn.140081950
mov qword [r13 + 0x10], rdi
mov qword [r13 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r13], 0
mov rbx, qword [rbp + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140031f9d
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140031f98
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140032029
mov rcx, r8
call fcn.140081950
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rbx, qword [rbp + 0x18]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140031fe6
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140031fe1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140032030
mov rcx, r8
call fcn.140081950
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rax, rsi
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.140081e90
add rsp, 0x478
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.1400065c0
int3