Function at 0x180001ce0
Capabilities:
Encode data using xor
Read .ini file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x390]
sub rsp, 0x490
movaps xmmword [rsp + 0x480], xmm6
mov rax, qword [0x18005a080]
xor rax, rsp
mov qword [rbp + 0x370], rax
mov r13, rdx
mov r12, rcx
xor edi, edi
mov dword [rsp + 0x30], edi
movsd xmm0, qword [str.hVYYP_]
movsd qword [rbp - 0x48], xmm0
mov eax, dword [str.USW_plnas:]
mov dword [rbp - 0x40], eax
mov ebx, dword [0x18005a0d0]
cmp byte [0x18004fc1b], dil
je 0x180001e90
mov r8d, edi
cmp ebx, 2
jl 0x180001e52
movdqa xmm4, xmmword [0x180051a90]
movdqa xmm2, xmmword [0x180051840]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180051870]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800518d0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1800518f0]
movd xmm0, dword [str.hVYYP_]
xorps xmm2, xmm0
movd dword [rbp - 0x48], xmm2
movdqa xmm3, xmmword [0x180051850]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180051870]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800518d0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1800518f0]
movd xmm0, dword [rbp - 0x44]
xorps xmm2, xmm0
movd dword [rbp - 0x44], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x48]
add r9, rax
nop dword [rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x180001e60
mov eax, dword [str.pln8]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x18004fcd4]
mov byte [rsp + 0x30], 0x44
xor byte [rsp + 0x31], 0x35
xor byte [rsp + 0x32], 0x36
xor byte [rsp + 0x33], 0x37
xor al, 0x38
mov byte [rsp + 0x34], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea rax, [rsp + 0x30]
mov r15, 0xffffffffffffffff
mov r8, r15
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x180001ee0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.180004930
nop
movups xmm0, xmmword [0x18004fc30]
movups xmmword [rbp - 0x30], xmm0
movzx eax, byte [0x18004fc40]
mov byte [rbp - 0x20], al
mov r8d, edi
cmp ebx, 2
jl 0x180002055
movdqa xmm5, xmmword [0x180051840]
movdqa xmm4, xmmword [0x180051a90]
movdqa xmm6, xmmword [0x180051870]
movdqa xmm0, xmmword [0x1800518f0]
movdqa xmmword [rbp + 0x30], xmm0
lea rcx, [rbp - 0x2c]
mov edx, dword [rbp + 0x30]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800518d0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800518d0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x180001f50
cmp r8d, 0x11
jge 0x180002090
movsxd rax, r8d
lea r9, [rbp - 0x30]
add r9, rax
nop
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x11
jl 0x180002060
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x68]
call fcn.180004540
nop
lea rcx, [rbp - 0x48]
mov r8, r15
nop word [rax + rax]
inc r8
cmp byte [rcx + r8], 0
jne 0x1800020b0
lea rdx, [rbp - 0x48]
mov rcx, rax
call fcn.180004220
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x60], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], recv
mov byte [rax], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x180002131
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000212c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000212c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004c45c
movdqa xmm0, xmmword [0x180051830]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x180002182
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000217d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000217d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004c45c
movdqa xmm0, xmmword [0x180051830]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
lea r10, [rbp + 0x50]
mov eax, dword [0x18004fc28]
mov dword [rbp - 0x48], eax
movzx eax, byte [0x18004fc2c]
cmp qword [rbp + 0x68], 0xf
jbe 0x1800021b4
mov r10, qword [rbp + 0x50]
mov byte [rbp - 0x48], 0x4b
xor byte [rbp - 0x47], 0x35
xor byte [rbp - 0x46], 0x36
xor byte [rbp - 0x45], 0x37
xor al, 0x38
mov byte [rbp - 0x44], al
mov eax, dword [str.WSQ7]
mov dword [rsp + 0x30], eax
cmp byte [0x18004fc27], 0
je 0x1800022a0
cmp ebx, 2
jl 0x180002263
movdqa xmm3, xmmword [0x180051840]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x180051a90]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x180051a90]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x180051870]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800518d0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1800518f0]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
jmp 0x1800022a0
lea r9, [rsp + 0x30]
mov r8d, edi
nop dword [rax + rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x180002270
mov qword [rsp + 0x28], r10
mov dword [rsp + 0x20], 0xff
lea r9, [rbp + 0x270]
xor r8d, r8d
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], rdi
mov qword [rbp], rdi
lea rax, [rbp + 0x270]
mov r8, r15
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1800022e0
lea rdx, [rbp + 0x270]
lea rcx, [rbp - 0x18]
call fcn.180004930
nop
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov rsi, rdi
mov qword [rbp - 0x20], rdi
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x170]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x18004fda8]
mov qword [rbp + 0x170], rax
lea rax, [0x18004fca8]
mov qword [rbp + 0x180], rax
lea rcx, [rbp + 0x208]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x30], 0x28
xor r8d, r8d
lea rdx, [rbp + 0x188]
lea rcx, [rbp + 0x170]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x170]
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 + 0x170], rax
mov rax, qword [rbp + 0x170]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x16c], edx
lea rax, [rbp + 0x188]
mov qword [rbp - 0x48], rax
lea rcx, [rbp + 0x188]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x188], rax
lea rdx, [rbp - 0x18]
cmp qword [rbp], 0xf
cmova rdx, qword [rbp - 0x18]
xor r9d, r9d
mov r8, qword [rbp - 8]
lea rcx, [rbp + 0x188]
call fcn.1800042d0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], rdi
mov qword [rbp + 0x20], recv
mov byte [rbp + 8], 0
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x170]
call fcn.180004ed0
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
mov rdi, qword [rbp - 0x28]
test al, al
je 0x1800024c7
cmp qword [rbp + 0x18], 0
je 0x18000249f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r14, rax
lea rbx, [rbp + 8]
cmp qword [rbp + 0x20], 0xf
cmova rbx, qword [rbp + 8]
mov dword [rax], 0
mov r8d, 0xa
lea rdx, [rbp - 0x48]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
cmp rbx, qword [rbp - 0x48]
je 0x180002520
cmp dword [r14], 0x22
je 0x180002512
mov dword [rsp + 0x30], eax
cmp rdi, rsi
je 0x180002486
mov dword [rdi], eax
add rdi, 4
mov qword [rbp - 0x28], rdi
jmp 0x18000249f
lea r8, [rsp + 0x30]
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.180005220
mov rsi, qword [rbp - 0x20]
mov rdi, qword [rbp - 0x28]
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x170]
call fcn.180004ed0
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
jne 0x180002426
lea rdx, [rbp - 0x18]
mov r9, qword [rbp - 0x18]
mov r10, qword [rbp]
cmp r10, 0xf
cmova rdx, r9
mov r8, qword [rbp - 8]
test r8, r8
je 0x18000252e
lea rax, [r8 - 1]
mov rcx, r15
cmp rax, r15
cmovb rcx, rax
add rcx, rdx
cmp byte [rcx], 0x2d
je 0x18000250d
nop word [rax + rax]
cmp rcx, rdx
je 0x18000252e
dec rcx
cmp byte [rcx], 0x2d
jne 0x180002500
sub rcx, rdx
jmp 0x180002531
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
int3
mov rcx, r15
inc rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
cmp r8, rcx
jb 0x180002b26
sub r8, rcx
cmp r8, 0xffffffffffffffff
cmovb r15, r8
lea rdx, [rbp - 0x18]
cmp r10, 0xf
cmova rdx, r9
add rdx, rcx
mov r8, r15
lea rcx, [rsp + 0x78]
call fcn.180004930
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r14, rax
lea rbx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
cmova rbx, qword [rsp + 0x78]
mov dword [rax], 0
mov r8d, 0xa
lea rdx, [rbp - 0x48]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
cmp rbx, qword [rbp - 0x48]
jne 0x1800025bb
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
int3
cmp dword [r14], 0x22
jne 0x1800025cf
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
mov dword [rsp + 0x30], eax
cmp rdi, rsi
je 0x1800025e4
mov dword [rdi], eax
add rdi, 4
mov qword [rbp - 0x28], rdi
jmp 0x1800025f9
lea r8, [rsp + 0x30]
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.180005220
mov rsi, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x180002638
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002633
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180002633
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004c45c
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov ecx, reloc.WS2_32.dll_recv
call fcn.18004c420
mov rdi, rax
mov qword [rbp + 0x30], rax
lea r15, [rax + 0x10]
mov qword [rbp + 0x40], r15
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rbp + 0x38], r15
mov r14, qword [rbp - 0x30]
mov eax, dword [r14]
sub eax, 0x1f4
mov dword [rdi], eax
mov eax, dword [r14 + 4]
sub eax, 0x1f4
mov dword [rdi + 4], eax
mov eax, dword [r14 + 8]
sub eax, 0x1f4
mov dword [rdi + 8], eax
mov eax, dword [r14 + 0xc]
sub eax, 0x1f4
mov dword [rdi + 0xc], eax
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x18004fda8]
mov qword [rbp + 0x70], rax
lea rax, [0x18004fca8]
mov qword [rbp + 0x80], rax
lea rcx, [rbp + 0x108]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x30], 0x3c
xor r8d, r8d
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0x70]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x70]
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 + 0x70], rax
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x6c], edx
lea rcx, [rbp + 0x88]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x88], rax
xor eax, eax
mov qword [rbp + 0xf0], rax
mov dword [rbp + 0xf8], eax
mov ebx, eax
nop dword [rax + rax]
mov edx, dword [rdi + rbx*4]
lea rcx, [rbp + 0x80]
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]
cmp rbx, 3
jae 0x180002762
lea rcx, [rbp + 0x80]
call fcn.180004670
inc rbx
cmp rbx, 4
jl 0x180002740
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], 0
mov ecx, recv
mov qword [rsp + 0x50], rcx
mov byte [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x3e
movups xmmword [rbp - 0x48], xmm0
xor edx, edx
mov r8d, dword [rbp + 0xf8]
mov eax, r8d
and al, 0x22
cmp al, 2
je 0x1800027d9
mov rax, qword [rbp + 0xc8]
mov rbx, qword [rax]
test rbx, rbx
je 0x1800027d9
mov rax, qword [rbp + 0xa8]
mov r9, qword [rax]
cmp rbx, qword [rbp + 0xf0]
cmovb rbx, qword [rbp + 0xf0]
sub rbx, r9
mov rdx, r9
jmp 0x180002813
test r8b, 4
jne 0x180002846
mov rax, qword [rbp + 0xc0]
mov r8, qword [rax]
xor ebx, ebx
test r8, r8
je 0x18000280f
mov rax, qword [rbp + 0xa0]
mov r9, qword [rax]
mov rax, qword [rbp + 0xd8]
movsxd rbx, dword [rax]
add rbx, r8
sub rbx, r9
mov rdx, r9
jmp 0x180002813
mov r9, qword [rbp - 0x48]
test rdx, rdx
je 0x180002846
cmp rbx, rcx
lea rcx, [rsp + 0x38]
ja 0x180002839
mov qword [rsp + 0x48], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + rbx + 0x38], 0
jmp 0x180002841
mov rdx, rbx
call fcn.180004d20
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x38]
cmp r12, rax
je 0x1800028a7
mov rdx, qword [r12 + 0x18]
cmp rdx, 0xf
jbe 0x180002888
mov rcx, qword [r12]
inc rdx
cmp rdx, 0x1000
jb 0x180002883
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800028d7
mov rcx, r8
call fcn.18004c45c
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [r12], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [r12 + 0x10], xmm1
mov ecx, recv
mov byte [rsp + 0x38], 0
cmp rcx, 0xf
jbe 0x1800028e3
lea rdx, [rcx + 1]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800028de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800028de
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004c45c
mov eax, dword [r14 + 0x10]
cdq
sub eax, edx
sar eax, 1
mov dword [r13], eax
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x70], r12
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x6c], edx
lea rcx, [rbp + 0x88]
call fcn.180003e90
lea rcx, [rbp + 0x90]
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 + 0x108]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
test rdi, rdi
je 0x18000297b
sub r15, rdi
sar r15, 2
lea rdx, [r15*4]
cmp rdx, 0x1000
jb 0x180002972
add rdx, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x1800029b4
mov rdi, rcx
mov rcx, rdi
call fcn.18004c45c
nop
mov rdx, qword [rbp + 0x20]
cmp rdx, 0xf
jbe 0x1800029c0
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800029bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800029bb
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.18004c45c
xor ebx, ebx
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x20], recv
mov byte [rbp + 8], bl
mov rax, qword [rbp + 0x170]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x170], r12
mov rax, qword [rbp + 0x170]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x16c], edx
lea rcx, [rbp + 0x188]
call fcn.180003e90
lea rcx, [rbp + 0x190]
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 + 0x208]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
test r14, r14
je 0x180002a68
sub rsi, r14
sar rsi, 2
lea rdx, [rsi*4]
mov rax, r14
cmp rdx, 0x1000
jb 0x180002a5f
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180002a5f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.18004c45c
nop
mov rdx, qword [rbp]
cmp rdx, 0xf
jbe 0x180002aa6
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002aa1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180002aa1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004c45c
mov qword [rbp - 8], rbx
mov qword [rbp], recv
mov byte [rbp - 0x18], 0
mov rdx, qword [rbp + 0x68]
cmp rdx, 0xf
jbe 0x180002af4
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002aef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180002aef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004c45c
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.18004c400
mov rbx, qword [rsp + 0x4e0]
movaps xmm6, xmmword [rsp + 0x480]
add rsp, 0x490
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180004410
nop
int3