Function at 0x140006480
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 - 0x240]
sub rsp, 0x340
movaps xmmword [rsp + 0x330], xmm6
mov rax, qword [0x140084180]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov r14, r8
mov rsi, rdx
mov qword [rbp - 0x78], rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
lea rcx, [rbp + 0x200]
call fcn.1400021c0
nop
mov eax, dword [0x1400703bc]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x1400703c0]
mov byte [rsp + 0x30], 0x2e
xor byte [rsp + 0x31], 0x39
xor byte [rsp + 0x32], 0x3a
xor byte [rsp + 0x33], 0x3b
xor al, 0x3c
mov byte [rsp + 0x34], al
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
mov r13, qword [rbp + 0x210]
sub rax, r13
cmp rax, 1
jb 0x140007251
lea rax, [rbp + 0x200]
cmp qword [rbp + 0x218], 0xf
cmova rax, qword [rbp + 0x200]
mov qword [rbp + 0x1b0], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea r12, [r13 + 1]
mov edi, reloc.WS2_32.dll_ntohs
lea r15, [rsp + 0x40]
cmp r12, rdi
jbe 0x1400065ec
mov rdi, r12
or rdi, 0xf
cmp rdi, rcx
jbe 0x14000659f
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14005f820
test rax, rax
je 0x1400065d1
lea r15, [rax + 0x27]
and r15, 0xffffffffffffffe0
mov qword [r15 - 8], rax
jmp 0x1400065e0
mov ecx, reloc.WS2_32.dll_shutdown
cmp rdi, rcx
cmovb rdi, rcx
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x1400065b9
mov r15, rbx
jmp 0x1400065e7
cmp rcx, 0x1000
jb 0x1400065d8
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140007257
jmp 0x140006584
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005f820
mov r15, rax
mov rax, qword [rbp + 0x1b0]
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], rdi
mov r8, r13
mov rdx, rax
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
mov byte [r15 + r13], 0x5c
mov byte [r15 + r12], 0
mov r12, qword [rbp - 0x78]
mov rdx, r12
cmp qword [r12 + 0x18], 0xf
jbe 0x140006621
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
lea rcx, [rsp + 0x40]
call fcn.14000d7c0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140006670
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.14000d7c0
xorps xmm0, xmm0
movups xmmword [rbp + 0x1e0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1e0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1f0], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140006702
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400066fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400066fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005fab0
movdqa xmm0, xmmword [0x140070ad0]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14000675d
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006750
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006750
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005fab0
movdqa xmm0, xmmword [0x140070ad0]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp + 0xa0]
call sub.VCRUNTIME140.dll_memset
lea rdi, [rbp + 0x1e0]
cmp qword [rbp + 0x1f8], 0xf
cmova rdi, qword [rbp + 0x1e0]
lea rax, [0x140000000]
lea rax, [rax + 0x7083c]
mov qword [rbp + 0xa0], rax
lea rcx, [rbp + 0x150]
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], reloc.WS2_32.dll_ntohs
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xa0], r15
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x9c], edx
lea rcx, [rbp + 0xb0]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea r13, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0xb0], r13
mov byte [rbp + 0x12c], 0
mov byte [rbp + 0x121], 0
lea rcx, [rbp + 0xb0]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x130], rbx
mov rax, qword [0x14008b750]
mov qword [rbp + 0x124], rax
mov qword [rbp + 0x118], rbx
mov r8d, 1
mov rdx, rdi
lea rcx, [rbp + 0xb0]
call fcn.14000d850
test rax, rax
jne 0x14000689b
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xa0]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xa0], r15
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x9c], edx
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xa0]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
je 0x140006a92
movups xmm0, xmmword [str.XSWYY]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [0x140070890]
movups xmmword [rsp + 0x70], xmm1
movzx eax, word [0x1400708a0]
mov word [rbp - 0x80], ax
cmp dword [0x1400841d8], 2
jl 0x140006a34
movdqa xmm4, xmmword [0x140070ae0]
movdqa xmm3, xmmword [0x140070b40]
movdqa xmm5, xmmword [0x140070b00]
movdqa xmm0, xmmword [0x140070b30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x64]
movdqa xmm6, xmmword [0x140070b10]
mov edx, dword [rsp + 0x40]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 8]
cmp ebx, 0x20
jl 0x140006950
cmp eax, 0x22
jge 0x140006a6c
movsxd rax, ebx
lea r8, [rsp + 0x60]
add r8, rax
nop
mov eax, 0x4ec4ec4f
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
add al, 0x38
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x22
jl 0x140006a40
lea rdx, [rsp + 0x60]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000ded0
lea rdx, [0x14000e0b0]
mov rcx, rax
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x1400070cc
mov qword [rsp + 0x40], rbx
mov word [rsp + 0x48], 1
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
mov rcx, qword [rbp + rcx + 0xe8]
mov qword [rbp + 0x1b0], rcx
test rcx, rcx
sete byte [rbp + 0x1b8]
mov byte [rbp + 0x1b9], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x1c0], xmm0
mov qword [rbp + 0x1d0], rbx
mov qword [rbp + 0x1d8], rbx
movaps xmm0, xmmword [rbp + 0x1b0]
movaps xmmword [rbp + 0x1b0], xmm0
movaps xmm6, xmmword [rsp + 0x40]
test rcx, rcx
je 0x140006b3b
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
je 0x140006b21
mov byte [rbp + 0x1b9], al
mov rax, qword [rbp + 0x1b0]
mov byte [rbp + 0x1b8], 1
movaps xmm0, xmmword [rbp + 0x1b0]
jmp 0x140006b40
mov rax, rbx
mov qword [rbp + 0x1b0], rbx
mov byte [rbp + 0x1b8], 1
movaps xmm0, xmmword [rbp + 0x1b0]
jmp 0x140006b40
movq rax, xmm0
test rax, rax
movq rax, xmm6
jne 0x140006f66
test rax, rax
je 0x140006f6f
movdqa xmmword [rsp + 0x40], xmm6
movdqa xmmword [rbp + 0x1b0], xmm0
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0x1c0]
call fcn.14000f260
nop
lea rcx, [rbp + 0xb0]
call fcn.14000d560
test rax, rax
jne 0x140006bb2
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xa0]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov r15, qword [rsi + 0x10]
mov r9, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140006bc3
mov r9, qword [rsi]
lea rcx, [rbp + 0x1c0]
cmp qword [rbp + 0x1d8], 0xf
cmova rcx, qword [rbp + 0x1c0]
mov qword [rsp + 0x20], r15
xor r8d, r8d
mov rdx, qword [rbp + 0x1d0]
call fcn.14000e600
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140006c72
mov r12, qword [r14 + 0x10]
nop dword [rax + rax]
mov r9, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x140006c0d
mov r9, qword [r14]
mov qword [rsp + 0x20], r12
mov r8, r15
mov rdx, rdi
lea rcx, [rbp + 0x1c0]
call fcn.14000d620
mov r12, qword [r14 + 0x10]
lea r8, [rdi + r12]
mov r15, qword [rsi + 0x10]
mov r9, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140006c3d
mov r9, qword [rsi]
lea rcx, [rbp + 0x1c0]
cmp qword [rbp + 0x1d8], 0xf
cmova rcx, qword [rbp + 0x1c0]
mov qword [rsp + 0x20], r15
mov rdx, qword [rbp + 0x1d0]
call fcn.14000e600
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140006c00
mov r12, qword [rbp - 0x78]
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
lea rdi, [rbp + 0x1e0]
cmp qword [rbp + 0x1f8], 0xf
cmova rdi, qword [rbp + 0x1e0]
lea rax, [0x140000000]
lea rax, [rax + 0x707c4]
mov qword [rbp - 0x70], rax
lea rcx, [rbp + 0x38]
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], 0x1f
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x70], rsi
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x68]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
mov qword [rbp - 0x68], r13
mov byte [rbp + 0x14], 0
mov byte [rbp + 9], 0
lea rcx, [rbp - 0x68]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x18], rbx
mov rax, qword [0x14008b750]
mov qword [rbp + 0xc], rax
mov qword [rbp], rbx
mov r8d, 2
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.14000d850
test rax, rax
jne 0x140006d62
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x70], rsi
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x74], edx
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
je 0x140006f8d
movups xmm0, xmmword [0x140070398]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [0x1400703a8]
movups xmmword [rsp + 0x70], xmm1
movzx eax, word [0x1400703b8]
mov word [rbp - 0x80], ax
mov r8d, ebx
cmp dword [0x1400841d8], 2
jl 0x140006ef7
movdqa xmm4, xmmword [0x140070ae0]
movdqa xmm3, xmmword [0x140070b40]
movdqa xmm5, xmmword [0x140070b00]
movdqa xmm0, xmmword [0x140070b30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x64]
movdqa xmm6, xmmword [0x140070b10]
mov edx, dword [rsp + 0x40]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
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 xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
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, 0x20
jl 0x140006e10
cmp r8d, 0x22
jge 0x140006f40
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x22
jl 0x140006f10
lea rdx, [rsp + 0x60]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000ded0
lea rdx, [0x14000e0b0]
mov rcx, rax
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x140006fe8
test rax, rax
je 0x140006b57
mov qword [rbp + 0x1d0], rbx
mov qword [rbp + 0x1d8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x1c0], 0
jmp 0x140006b7e
lea rdx, [rbp + 0x1c0]
cmp qword [rbp + 0x1d8], 0xf
cmova rdx, qword [rbp + 0x1c0]
mov r8, qword [rbp + 0x1d0]
lea rcx, [rbp - 0x70]
call fcn.14000eee0
lea rcx, [rbp - 0x68]
call fcn.14000d560
test rax, rax
jne 0x140006fdf
mov rax, qword [rbp - 0x70]
movsxd r8, dword [rax + 4]
lea rcx, [rbp - 0x70]
add rcx, r8
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rcx, r12
call fcn.140005ab0
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x70], rsi
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x74], edx
mov qword [rbp - 0x68], r13
cmp qword [rbp + 0x18], 0
je 0x140007039
lea rcx, [rbp + 8]
mov rax, qword [rbp - 0x50]
cmp qword [rax], rcx
jne 0x140007039
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x20]
mov qword [rax], rcx
mov rax, qword [rbp - 0x30]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp - 0x18]
mov dword [rax], edx
cmp byte [rbp + 0x14], 0
je 0x140007048
lea rcx, [rbp - 0x68]
call fcn.14000d560
lea rcx, [rbp - 0x68]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x38]
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 + 0x1d8]
cmp rdx, 0xf
jbe 0x1400070ac
inc rdx
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400070a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400070a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005fab0
mov qword [rbp + 0x1d0], rbx
mov qword [rbp + 0x1d8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x1c0], 0
lea r15, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xa0], r15
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x9c], edx
mov qword [rbp + 0xb0], r13
cmp qword [rbp + 0x130], 0
je 0x140007141
lea rcx, [rbp + 0x120]
mov rax, qword [rbp + 0xc8]
cmp qword [rax], rcx
jne 0x140007141
mov rdx, qword [rbp + 0x140]
mov rcx, qword [rbp + 0x138]
mov qword [rax], rcx
mov rax, qword [rbp + 0xe8]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 0x100]
mov dword [rax], edx
cmp byte [rbp + 0x12c], 0
je 0x140007156
lea rcx, [rbp + 0xb0]
call fcn.14000d560
lea rcx, [rbp + 0xb0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0xb8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x150]
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 + 0x1f8]
cmp rdx, 0xf
jbe 0x1400071c3
inc rdx
mov rcx, qword [rbp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400071be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400071be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005fab0
movdqa xmm0, xmmword [0x140070ad0]
movdqu xmmword [rbp + 0x1f0], xmm0
mov byte [rbp + 0x1e0], 0
mov rax, qword [rbp + 0x218]
cmp rax, 0xf
jbe 0x14000721f
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0x200]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000721a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000721a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005fab0
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.14005f800
mov rbx, qword [rsp + 0x398]
movaps xmm6, xmmword [rsp + 0x330]
add rsp, 0x340
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140001dc0
nop
call fcn.140001d20
int3