Function at 0x140046010
Capabilities:
Contain obfuscated stackstrings
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 - 0x210]
sub rsp, 0x310
mov rax, qword [0x1400c6080]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov r15, r8
mov qword [rbp - 0x40], rdx
mov r13, rcx
mov qword [rsp + 0x70], rdx
mov qword [rbp + 0x48], r8
xor edi, edi
mov dword [rbp - 0x64], edi
mov dword [rsp + 0x30], 0x352d367e
mov dword [rsp + 0x34], 0x3b372f39
mov word [rsp + 0x38], 0x5d
mov byte [rsp + 0x3a], 1
mov ecx, edi
nop word [rax + rax]
lea eax, [rcx + 0x58]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 9
jb 0x140046080
mov byte [rsp + 0x3a], 0
mov dword [rsp + 0x70], 0x363b377e
mov dword [rsp + 0x74], 0x1006039
mov dword [rsp + 0x40], 0x283f2a7e
mov dword [rsp + 0x44], 0x3131342f
mov dword [rsp + 0x48], 0x5f0509
mov byte [rsp + 0x4c], 1
mov dword [rsp + 0x78], 0x37333f7e
mov dword [rsp + 0x7c], 0x623a3439
mov word [rbp - 0x80], 0x100
mov dword [rbp - 0x78], 0x3e2a202c
mov dword [rbp - 0x74], 0x33373b61
mov word [rbp - 0x70], 5
mov byte [rbp - 0x6e], 1
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 8]
call fcn.14003b040
nop
mov rdx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x140046110
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
mov rcx, rax
call fcn.140037af0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x28], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x18]
call fcn.14003b4a0
nop
lea rdx, [r13 + 0x238]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140046162
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140037af0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x70], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0xa0]
call fcn.14003aaf0
nop
mov rdx, r13
cmp qword [r13 + 0x18], 0x10
jb 0x1400461ac
mov rdx, qword [r13]
mov r8, qword [r13 + 0x10]
mov rcx, rax
call fcn.140037af0
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xd0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xc0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xd0], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0xc0]
lea rcx, [rbp - 0x60]
call fcn.1400388f0
nop
lea rdx, [r13 + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140046219
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140037af0
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
mov r8, qword [rbp - 0x48]
cmp r8, 0x10
jb 0x14004625f
inc r8
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x60]
call fcn.140037be0
movdqa xmm0, xmmword [0x1400b6640]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
mov r8, qword [rbp + 0xd8]
cmp r8, 0x10
jb 0x140046293
inc r8
mov rdx, qword [rbp + 0xc0]
lea rcx, [rbp + 0xc0]
call fcn.140037be0
movdqa xmm0, xmmword [0x1400b6640]
movdqu xmmword [rbp + 0xd0], xmm0
mov byte [rbp + 0xc0], 0
mov r8, qword [rbp + 0xb8]
cmp r8, 0x10
jb 0x1400462cd
inc r8
mov rdx, qword [rbp + 0xa0]
lea rcx, [rbp + 0xa0]
call fcn.140037be0
movdqa xmm0, xmmword [0x1400b6640]
movdqu xmmword [rbp + 0xb0], xmm0
mov byte [rbp + 0xa0], 0
mov r8, qword [rbp + 0x78]
cmp r8, 0x10
jb 0x1400462ff
inc r8
mov rdx, qword [rbp + 0x60]
lea rcx, [rbp + 0x60]
call fcn.140037be0
nop
mov r8, qword [rbp]
cmp r8, 0x10
jb 0x140046319
inc r8
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 0x18]
call fcn.140037be0
movdqa xmm0, xmmword [0x1400b6640]
movdqu xmmword [rbp - 8], xmm0
mov byte [rbp - 0x18], 0
mov r8, qword [rbp - 0x20]
cmp r8, 0x10
jb 0x140046345
inc r8
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x38]
call fcn.140037be0
nop
mov r8, qword [rbp + 0x20]
cmp r8, 0x10
jb 0x14004635f
inc r8
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 8]
call fcn.140037be0
movdqa xmm0, xmmword [0x1400b6640]
movdqu xmmword [rbp + 0x18], xmm0
mov byte [rbp + 8], 0
lea rax, [rbp - 0x38]
mov qword [rsp + 0x60], rax
lea rdx, [r13 + 0x80]
lea rcx, [rbp - 0x38]
call fcn.140037450
mov rbx, rax
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x60]
call fcn.140037450
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x80]
call fcn.14004cb70
nop
mov qword [rbp + 0x40], rdi
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 8]
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x50]
call fcn.14003e750
nop
mov dword [rsp + 0x30], 0x28293c35
mov dword [rsp + 0x34], 0x3b3a3d
mov byte [rsp + 0x38], 1
mov rcx, rdi
nop dword [rax]
lea eax, [rcx + 0x58]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x1400463f0
mov byte [rsp + 0x38], 0
lea r9, [rbp - 0x68]
lea r8, [rsp + 0x37]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.140039670
nop
mov rbx, qword [rsp + 0x30]
movzx ecx, byte [rbp + 0x50]
test cl, cl
jne 0x14004643d
mov byte [rbp + 0x50], 1
call fcn.14003d000
mov qword [rbp + 0x58], rax
movzx ecx, byte [rbp + 0x50]
jmp 0x140046441
mov rax, qword [rbp + 0x58]
cmp cl, 1
jne 0x140046455
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.140042260
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
movdqa xmm1, xmmword [0x1400b6640]
movdqu xmmword [rbp + 0xb0], xmm1
mov byte [rbp + 0xa0], 0
mov dword [rbp - 0x64], 0x2fc00
cmp byte [rbx], 3
jne 0x140046494
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0xa0]
cmp rax, rdx
je 0x1400464b2
jmp 0x140046497
mov rdx, rdi
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400464a5
mov rdx, qword [rdx]
lea rcx, [rbp + 0xa0]
call fcn.140037990
nop
mov r8, qword [rbp - 0x48]
cmp r8, 0x10
jb 0x1400464cc
inc r8
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x60]
call fcn.140037be0
movdqa xmm0, xmmword [0x1400b6640]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x100]
call sub.VCRUNTIME140.dll_memset
mov edx, 1
lea rcx, [rbp + 0x100]
call fcn.1400413e0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.14009e8ec
mov rsi, rax
mov qword [rbp + 0xc0], rax
lea r14, [rax + 0x20]
mov qword [rbp + 0xd0], r14
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0xc8], r14
lea r8, [rbp + 0x80]
cmp qword [rbp + 0x98], 0x10
cmovae r8, qword [rbp + 0x80]
lea rcx, [r13 + 0x258]
cmp qword [rcx + 0x18], 0x10
jb 0x140046565
mov rcx, qword [rcx]
mov qword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], rsi
mov r9, qword [rbp + 0x90]
mov rdx, qword [r13 + 0x268]
call fcn.140053b70
mov r12, rsi
cmp rsi, r14
je 0x1400465ee
nop
movzx edi, byte [r12]
lea rdx, [0x140048640]
lea rcx, [rbp + 0x110]
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 + 0x40]
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 0x140046590
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x1400b6640]
movdqu xmmword [rbp - 0x50], xmm1
mov byte [rbp - 0x60], 0
mov dword [rbp - 0x64], 0x1fc04
xor eax, eax
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rax
mov rcx, qword [rbp + 0x188]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140046655
mov rax, qword [rbp + 0x158]
mov r8, qword [rax]
test r8, r8
je 0x140046655
mov rax, qword [rbp + 0x138]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x180]
cmovb r8, qword [rbp + 0x180]
sub r8, rdx
jmp 0x14004668f
test cl, 4
jne 0x140046685
mov rax, qword [rbp + 0x150]
mov rcx, qword [rax]
test rcx, rcx
je 0x140046685
mov rax, qword [rbp + 0x130]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x168]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x14004668f
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x14004669e
lea rcx, [rbp - 0x60]
call fcn.140037990
nop
lea rdx, [section..data]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [section..data]
lea rcx, [rbp - 0x60]
mov rbx, qword [rbp - 0x60]
mov rdi, qword [rbp - 0x48]
cmp rdi, 0x10
cmovae rcx, rbx
mov r8, qword [rbp - 0x50]
cmp r8, qword [0x1400c6010]
jne 0x1400466e4
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400466e4
xor r12b, r12b
jmp 0x1400466e7
mov r12b, 1
cmp rdi, 0x10
jb 0x140046721
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140046719
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140046719
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14009e120
test r12b, r12b
je 0x140046745
lea r8, [rbp + 0xa0]
lea rdx, str.Signature_checksum_failed._Request_was_tampered_with_or_session_ended_most_likely.__echo:__echo_Message:
lea rcx, [rbp + 8]
call fcn.140038690
mov rcx, rax
call fcn.1400475c0
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.140040f20
mov rdx, rax
mov rcx, r13
call fcn.14004ae80
mov dword [rsp + 0x30], 0x38392c2b
mov dword [rsp + 0x34], 0x2d2e39
mov byte [rsp + 0x38], 1
xor edi, edi
mov ecx, edi
nop word [rax + rax]
lea eax, [rcx + 0x58]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x140046780
mov byte [rsp + 0x38], dil
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 7
mov ecx, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x58], rcx
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x40], eax
movzx eax, word [rsp + 0x34]
mov word [rsp + 0x44], ax
movzx eax, byte [rsp + 0x36]
mov byte [rsp + 0x46], al
cmp byte [rbp + 0x50], 0
jne 0x1400467e3
mov byte [rbp + 0x50], 1
call fcn.14003d000
mov qword [rbp + 0x58], rax
mov rcx, qword [rsp + 0x58]
cmp byte [rbp + 0x50], 1
jne 0x140046801
lea rdx, [rsp + 0x40]
mov rcx, qword [rbp + 0x58]
call fcn.140042260
mov rdx, rax
mov rcx, qword [rsp + 0x58]
jmp 0x140046806
mov rdx, qword [rsp + 0x30]
lea rax, [rdx + 8]
cmp byte [rdx], 4
cmovne rax, rdi
movzx ebx, byte [rax]
cmp rcx, 0x10
jb 0x140046850
lea rdx, [rcx + 1]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004684b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004684b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009e120
test bl, bl
je 0x140046d73
mov dword [rsp + 0x60], 0x2f34363b
mov dword [rsp + 0x64], 0x2c2a3339
mov word [rsp + 0x68], 0x100
mov rcx, rdi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x58]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 8
jb 0x140046880
mov byte [rsp + 0x69], 0
movdqa xmm0, xmmword [0x1400a4160]
movdqu xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x60], rax
mov rbx, qword [rsp + 0x30]
cmp byte [rbp + 0x50], 0
jne 0x1400468cb
mov byte [rbp + 0x50], 1
call fcn.14003d000
mov qword [rbp + 0x58], rax
cmp byte [rbp + 0x50], 1
jne 0x1400468e1
lea rdx, [rbp - 0x60]
mov rcx, qword [rbp + 0x58]
call fcn.140042260
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x1400b6640]
movdqu xmmword [rsp + 0x50], xmm1
mov byte [rsp + 0x40], 0
mov dword [rbp - 0x64], 0x1fd7a
cmp byte [rbx], 3
jne 0x140046918
mov rdx, qword [rbx + 8]
lea rax, [rsp + 0x40]
cmp rax, rdx
je 0x140046934
jmp 0x14004691b
mov rdx, rdi
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140046929
mov rdx, qword [rdx]
lea rcx, [rsp + 0x40]
call fcn.140037990
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x60]
call fcn.140048660
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140046984
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004697e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004697e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009e120
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x1400469c2
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400469bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400469bd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009e120
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x60], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdi
mov rdi, qword [rbp + 0x70]
lea r12, [rbp + 0x60]
cmp qword [rbp + 0x78], 0x10
cmovae r12, qword [rbp + 0x60]
movabs rbx, 0x7fffffffffffffff
cmp rdi, rbx
ja 0x140046f8a
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x140046a32
mov qword [rsp + 0x50], rdi
mov r8d, reloc.WS2_32.dll_recv
mov rdx, r12
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memmove
jmp 0x140046a87
mov rax, rdi
or rax, 0xf
cmp rax, rbx
ja 0x140046a4d
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 + 0x40]
call fcn.140037b80
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rbx
lea r8, [rdi + 1]
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rdi, [rsp + 0x40]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
cmovae rdi, r8
add rdi, qword [rsp + 0x50]
lea r12, [rsp + 0x40]
cmp rdx, 0x10
cmovae r12, r8
mov r13, qword [rbp - 0x40]
xor ebx, ebx
mov qword [r13], rbx
mov qword [r13 + 8], rbx
mov qword [r13 + 0x10], rbx
sub rdi, r12
je 0x140046b02
mov rdx, rdi
mov rcx, r13
call fcn.140042590
mov rbx, qword [r13]
mov r8, rdi
mov rdx, r12
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + rbx]
mov qword [r13 + 8], rax
mov rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x40]
xor ebx, ebx
cmp rdx, 0x10
jb 0x140046b3b
inc rdx
mov rax, r8
cmp rdx, 0x1000
jb 0x140046b33
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140046b33
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.14009e120
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x140046b8c
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046b87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140046b87
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009e120
mov qword [rbp + 0x70], rbx
mov qword [rbp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x60], 0
test rsi, rsi
je 0x140046bd5
sub r14, rsi
cmp r14, 0x1000
jb 0x140046bc9
add r14, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x140046c6d
mov rsi, rcx
mov rdx, r14
mov rcx, rsi
call fcn.14009e120
nop
mov rax, qword [rbp + 0x100]
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 + 0x100], rax
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0xfc], edx
lea rcx, [rbp + 0x118]
call fcn.140036e00
lea rcx, [rbp + 0x120]
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 + 0x198]
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 + 0xb8]
cmp rdx, 0x10
jb 0x140046c7a
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046c74
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140046c74
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.14009e120
nop
movzx edx, byte [rbp + 0x50]
lea rcx, [rbp + 0x58]
call fcn.140045aa0
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 0x10
jb 0x140046ccc
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046cc7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140046cc7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009e120
mov qword [rbp + 0x90], rbx
mov qword [rbp + 0x98], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x80], 0
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0x10
jb 0x140046d2a
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046d24
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140046d24
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009e120
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x140046d60
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140046d5b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140046d6c
mov rcx, r8
call fcn.14009e120
mov qword [r15 + 0x10], rbx
mov rax, r13
jmp 0x140046f4d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rbx, qword [rbp - 0x40]
mov qword [rbx], rdi
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], rdi
test rsi, rsi
je 0x140046dbb
sub r14, rsi
cmp r14, 0x1000
jb 0x140046daf
add r14, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x140046e53
mov rsi, rcx
mov rdx, r14
mov rcx, rsi
call fcn.14009e120
nop
mov rax, qword [rbp + 0x100]
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 + 0x100], rax
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0xfc], edx
lea rcx, [rbp + 0x118]
call fcn.140036e00
lea rcx, [rbp + 0x120]
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 + 0x198]
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 + 0xb8]
cmp rdx, 0x10
jb 0x140046e60
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046e5a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140046e5a
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.14009e120
nop
movzx edx, byte [rbp + 0x50]
lea rcx, [rbp + 0x58]
call fcn.140045aa0
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 0x10
jb 0x140046eb2
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046ead
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140046ead
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009e120
mov qword [rbp + 0x90], rdi
mov qword [rbp + 0x98], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x80], 0
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0x10
jb 0x140046f10
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046f0a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140046f0a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009e120
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x140046f46
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140046f41
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140046f83
mov rcx, r8
call fcn.14009e120
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 + 0x200]
xor rcx, rsp
call fcn.14009e030
mov rbx, qword [rsp + 0x368]
add rsp, 0x310
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.14002cd00
nop