Function at 0x1800f85b0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x338]
sub rsp, 0x400
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x1802407e8]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
mov r14, rcx
xor esi, esi
mov r15d, esi
mov dword [rbp - 0x38], esi
mov r12, qword [rdx]
mov r13, qword [rdx + 8]
cmp r12, r13
je 0x1800f9638
mov edx, dword [0x180248ca8]
mov rax, qword gs:[0x58]
lea rbx, [rax + rdx*8]
mov qword [rbp - 0x38], rbx
lea edi, [rsi + 0xf]
nop
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x1c0]
call fcn.1801a1dc0
mov rdx, r12
lea rcx, [rbp - 0x60]
call fcn.1800d9f00
mov rdx, rax
mov r8d, esi
mov r9, rsi
cmp qword [rax + 0x10], 0
jbe 0x1800f867c
mov rcx, qword [0x1802449e8]
movzx r10d, word [rcx + 0x60]
mov rcx, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x1800f8669
mov rcx, qword [rdx]
xor byte [r9 + rcx], r10b
inc r8d
inc r9
movsxd rax, r8d
cmp rax, qword [rdx + 0x10]
jb 0x1800f8650
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
movups xmm0, xmmword [rdx]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rdx + 0x10], rsi
mov qword [rdx + 0x18], rdi
mov byte [rdx], 0
mov rcx, rdx
call fcn.1800db3e0
nop
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rdx, qword [rsp + 0x30]
mov r8d, 1
lea rcx, [rbp + 0x1c0]
call fcn.1800e61c0
nop
lea rcx, [rsp + 0x30]
call fcn.1800db3e0
cmp qword [rbp + 0x250], 0
jne 0x1800f877c
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x1c0], rax
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x1bc], edx
lea rcx, [rbp + 0x1d0]
call fcn.1800e6110
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x1c0], rax
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx + 0x1bc], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x270], rax
lea rcx, [rbp + 0x270]
call fcn.1801798c8
nop
jmp 0x1800f962b
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], rsi
mov qword [rbp + 0x28], rdi
mov byte [rbp + 0x10], 0
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x1c0]
call fcn.1800fb530
lea rcx, [rbp + 0x1d0]
call fcn.1800e7ad0
test rax, rax
jne 0x1800f87f1
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
mov eax, 6
cmp qword [rbp + rcx + 0x208], 0
mov edx, 2
cmovne eax, edx
or eax, dword [rbp + rcx + 0x1d0]
and eax, 0x17
mov dword [rbp + rcx + 0x1d0], eax
mov edx, dword [rbp + rcx + 0x1d4]
and edx, eax
jne 0x1800f966e
mov rdx, r12
lea rcx, [rbp - 0x60]
call fcn.1800d9f00
mov rdx, rax
mov r8d, esi
mov r9, rsi
cmp qword [rax + 0x10], 0
jbe 0x1800f883b
nop dword [rax]
mov rcx, qword [0x1802449e8]
movzx eax, word [rcx + 0x60]
mov rcx, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x1800f8828
mov rcx, qword [rdx]
xor byte [rcx + r9], al
inc r8d
inc r9
movsxd rax, r8d
cmp rax, qword [rdx + 0x10]
jb 0x1800f8810
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], rsi
mov qword [rbp + 0x48], rsi
movups xmm0, xmmword [rdx]
movups xmmword [rbp + 0x30], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rbp + 0x40], xmm1
mov qword [rdx + 0x10], rsi
mov qword [rdx + 0x18], rdi
mov byte [rdx], 0
mov rcx, rdx
call fcn.1800db3e0
nop
mov rax, qword [rbp + 0x40]
lea r8, [rax - 0xc]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
cmp rax, r8
cmovb r8, rax
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0x10
cmovae rdx, qword [rbp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.1800dd050
bts r15d, 9
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x1800f88e6
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800f88e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800f96c0
call fcn.18015cb04
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp + 0x30], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rbp + 0x40], xmm1
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.1800db3e0
mov rax, qword [r14]
lea rcx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0x10
cmovae rcx, qword [rbp + 0x30]
call rax
test eax, eax
je 0x1800f89cd
lea rcx, [rbp + 0x30]
call fcn.1800db3e0
nop
lea rcx, [rbp + 0x10]
call fcn.1800db3e0
nop
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x1c0], rax
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x1bc], edx
lea rcx, [rbp + 0x1d0]
call fcn.1800e6110
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x1c0], rax
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx + 0x1bc], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x270], rax
lea rcx, [rbp + 0x270]
call fcn.1801798c8
nop
jmp 0x1800f962b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x190], xmm0
movups xmmword [rbp + 0x1a0], xmm0
mov qword [rbp + 0x1b0], rax
movdqa xmm0, xmmword [0x180217810]
mov dword [rbp + 0x60], 0x3172b4ee
mov rdi, qword [rbx]
mov eax, 0x56c
mov ecx, eax
mov eax, dword [rax + rdi]
mov ebx, 0x428
add rbx, rdi
test al, 1
jne 0x1800f8a58
or eax, 1
mov dword [rcx + rdi], eax
mov byte [rbx + 0x15], 1
lea rax, [rbx + 0x14]
lea rcx, [rbp + 0x64]
cmp rbx, rcx
ja 0x1800f8a3e
lea rcx, [rbp + 0x50]
cmp rax, rcx
jb 0x1800f8a3e
movups xmmword [rbx], xmm0
mov eax, dword [rbp + 0x60]
mov dword [rbx + 0x10], eax
mov byte [rbx + 0x14], reloc.WS2_32.dll___WSAFDIsSet
jmp 0x1800f8a4b
movups xmmword [rbx], xmm0
mov eax, dword [rbp + 0x60]
mov dword [rbx + 0x10], eax
mov byte [rbx + 0x14], reloc.WS2_32.dll___WSAFDIsSet
lea rcx, [0x1801e2db0]
call fcn.18015cf9c
nop
cmp byte [rbx + 0x15], 0
je 0x1800f8ab5
xor byte [rbx], 0xb3
xor byte [rbx + 1], 0x9f
xor byte [rbx + 2], 0x5b
xor byte [rbx + 3], 0x13
xor byte [rbx + 4], 0x97
xor byte [rbx + 5], 0x35
xor byte [rbx + 6], 0xa5
xor byte [rbx + 7], 0xd9
xor byte [rbx + 8], 0xb3
xor byte [rbx + 9], 0x9f
xor byte [rbx + 0xa], 0x5b
xor byte [rbx + 0xb], 0x13
xor byte [rbx + 0xc], 0x97
xor byte [rbx + 0xd], 0x35
xor byte [rbx + 0xe], 0xa5
xor byte [rbx + 0xf], 0xd9
xor byte [rbx + 0x10], 0xb3
xor byte [rbx + 0x11], 0x9f
xor byte [rbx + 0x12], 0x5b
xor byte [rbx + 0x13], 0x13
xor byte [rbx + 0x14], 0x97
mov byte [rbx + 0x15], 0
mov rdx, rbx
lea rcx, [rbp + 0x190]
call fcn.1800faf80
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x168], xmm0
movups xmmword [rbp + 0x178], xmm0
mov qword [rbp + 0x188], rax
movdqa xmm0, xmmword [0x180217020]
mov dword [rbp - 0x20], 0xfd8b9e88
mov dword [rbp - 0x1c], 0x3faa5f67
mov dword [rbp - 0x18], 0xee82a6c7
mov word [rbp - 0x14], 0x7767
mov eax, 0x4ac
mov edx, eax
mov eax, dword [rax + rdi]
mov ecx, 0x630
test al, 1
jne 0x1800f8b80
or eax, 1
mov dword [rdx + rdi], eax
lea rbx, [rcx + rdi]
mov byte [rbx + 0x1e], 1
lea rax, [rbx + 0x1d]
lea rcx, [rbp - 0x13]
cmp rbx, rcx
ja 0x1800f8b56
lea rcx, [rbp - 0x30]
cmp rax, rcx
jb 0x1800f8b56
movups xmmword [rbx], xmm0
movsd xmm0, qword [rbp - 0x20]
movsd qword [rbx + 0x10], xmm0
mov eax, dword [rbp - 0x18]
mov dword [rbx + 0x18], eax
movzx eax, word [rbp - 0x14]
mov word [rbx + 0x1c], ax
jmp 0x1800f8b71
movups xmmword [rbx], xmm0
movsd xmm0, qword [rbp - 0x20]
movsd qword [rbx + 0x10], xmm0
mov eax, dword [rbp - 0x18]
mov dword [rbx + 0x18], eax
movzx eax, word [rbp - 0x14]
mov word [rbx + 0x1c], ax
lea rcx, [0x1801e2d80]
call fcn.18015cf9c
nop
jmp 0x1800f8b84
lea rbx, [rcx + rdi]
cmp byte [rbx + 0x1e], 0
je 0x1800f8c05
xor byte [rbx], 0xe5
xor byte [rbx + 1], 0xfb
xor byte [rbx + 2], 0xa9
xor byte [rbx + 3], 0xc7
xor byte [rbx + 4], 0x45
xor byte [rbx + 5], 0x77
xor byte [rbx + 6], 0xf1
xor byte [rbx + 7], 0x61
xor byte [rbx + 8], 0xe5
xor byte [rbx + 9], 0xfb
xor byte [rbx + 0xa], 0xa9
xor byte [rbx + 0xb], 0xc7
xor byte [rbx + 0xc], 0x45
xor byte [rbx + 0xd], 0x77
xor byte [rbx + 0xe], 0xf1
xor byte [rbx + 0xf], 0x61
xor byte [rbx + 0x10], 0xe5
xor byte [rbx + 0x11], 0xfb
xor byte [rbx + 0x12], 0xa9
xor byte [rbx + 0x13], 0xc7
xor byte [rbx + 0x14], 0x45
xor byte [rbx + 0x15], 0x77
xor byte [rbx + 0x16], 0xf1
xor byte [rbx + 0x17], 0x61
xor byte [rbx + 0x18], 0xe5
xor byte [rbx + 0x19], 0xfb
xor byte [rbx + 0x1a], 0xa9
xor byte [rbx + 0x1b], 0xc7
xor byte [rbx + 0x1c], 0x45
xor byte [rbx + 0x1d], 0x77
mov byte [rbx + 0x1e], 0
mov rdx, rbx
lea rcx, [rbp + 0x168]
call fcn.1800faf80
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x140], xmm0
movups xmmword [rbp + 0x150], xmm0
mov qword [rbp + 0x160], rax
movdqa xmm0, xmmword [0x1802170a0]
mov dword [rbp], 0x130569af
mov dword [rbp + 4], 0x3f46d127
mov dword [rbp + 8], 0xc50ff
mov word [rbp + 0xc], 0xf927
mov eax, 0x4b4
mov edx, eax
mov eax, dword [rax + rdi]
mov ecx, 0x4f8
test al, 1
jne 0x1800f8cd0
or eax, 1
mov dword [rdx + rdi], eax
lea rbx, [rcx + rdi]
mov byte [rbx + 0x1e], 1
lea rax, [rbx + 0x1d]
lea rcx, [rbp + 0xd]
cmp rbx, rcx
ja 0x1800f8ca6
lea rcx, [rbp - 0x10]
cmp rax, rcx
jb 0x1800f8ca6
movups xmmword [rbx], xmm0
movsd xmm0, qword [rbp]
movsd qword [rbx + 0x10], xmm0
mov eax, dword [rbp + 8]
mov dword [rbx + 0x18], eax
movzx eax, word [rbp + 0xc]
mov word [rbx + 0x1c], ax
jmp 0x1800f8cc1
movups xmmword [rbx], xmm0
movsd xmm0, qword [rbp]
movsd qword [rbx + 0x10], xmm0
mov eax, dword [rbp + 8]
mov dword [rbx + 0x18], eax
movzx eax, word [rbp + 0xc]
mov word [rbx + 0x1c], ax
lea rcx, [0x1801e2d50]
call fcn.18015cf9c
nop
jmp 0x1800f8cd4
lea rbx, [rcx + rdi]
cmp byte [rbx + 0x1e], 0
je 0x1800f8d55
xor byte [rbx], 0xdd
xor byte [rbx + 1], 0xd
xor byte [rbx + 2], 0x27
xor byte [rbx + 3], 0x29
xor byte [rbx + 4], 5
xor byte [rbx + 5], 0xf9
xor byte [rbx + 6], 0x1d
xor byte [rbx + 7], 0x61
xor byte [rbx + 8], 0xdd
xor byte [rbx + 9], 0xd
xor byte [rbx + 0xa], 0x27
xor byte [rbx + 0xb], 0x29
xor byte [rbx + 0xc], 5
xor byte [rbx + 0xd], 0xf9
xor byte [rbx + 0xe], 0x1d
xor byte [rbx + 0xf], 0x61
xor byte [rbx + 0x10], 0xdd
xor byte [rbx + 0x11], 0xd
xor byte [rbx + 0x12], 0x27
xor byte [rbx + 0x13], 0x29
xor byte [rbx + 0x14], 5
xor byte [rbx + 0x15], 0xf9
xor byte [rbx + 0x16], 0x1d
xor byte [rbx + 0x17], 0x61
xor byte [rbx + 0x18], 0xdd
xor byte [rbx + 0x19], 0xd
xor byte [rbx + 0x1a], 0x27
xor byte [rbx + 0x1b], 0x29
xor byte [rbx + 0x1c], 5
xor byte [rbx + 0x1d], 0xf9
mov byte [rbx + 0x1e], 0
mov rdx, rbx
lea rcx, [rbp + 0x140]
call fcn.1800faf80
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
mov qword [rbp + 0x70], rsi
mov byte [rbp + 0x78], 0
movdqa xmmword [rbp + 0x80], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x90], xmm1
mov qword [rbp + 0xa0], rsi
mov byte [rbp + 0xa8], 0
movdqa xmmword [rbp + 0xb0], xmm0
mov byte [rbp + 0xc0], 0
mov qword [rbp + 0xc8], rsi
mov qword [rbp + 0xd0], rsi
mov byte [rbp + 0xd8], 0
lea rbx, [rbp + 0x10]
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
cmovae rbx, rax
nop dword [rax]
nop word [rax + rax]
lea rcx, [rbp + 0x10]
cmp rdx, 0x10
cmovae rcx, rax
mov rdx, qword [rbp + 0x20]
add rdx, rcx
mov qword [rsp + 0x28], rbx
lea r9, [rbp + 0x190]
lea r8, [rbp + 0x70]
mov rcx, rbx
call fcn.1800fc130
test al, al
je 0x1800f94d5
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
mov qword [rbp + 0xf0], rsi
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0xf8], rdi
mov byte [rbp + 0xe0], 0
movups xmmword [rbp + 0x100], xmm0
mov qword [rbp + 0x110], rsi
mov qword [rbp + 0x118], rdi
mov byte [rbp + 0x100], 0
movups xmmword [rbp + 0x120], xmm0
mov qword [rbp + 0x130], rsi
mov qword [rbp + 0x138], rdi
mov byte [rbp + 0x120], 0
mov rcx, qword [rbp + 0x88]
mov r8, qword [rbp + 0x80]
sub rcx, r8
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 1
lea rax, [rbp + 0xc8]
jbe 0x1800f8ebc
lea rax, [r8 + 0x18]
cmp byte [rax + 0x10], 0
je 0x1800f8ecc
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
jmp 0x1800f8ed2
movdqu xmmword [rsp + 0x50], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
cmp rdx, r8
jne 0x1800f8f07
mov qword [rsp + 0x40], rsi
mov rax, rdi
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x30], 0
jmp 0x1800f8f19
sub r8, rdx
lea rcx, [rsp + 0x30]
call fcn.1800dd050
mov rax, qword [rsp + 0x48]
lea rdx, [rsp + 0x30]
cmp rax, 0x10
cmovae rdx, qword [rsp + 0x30]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x1800f8f41
lea rcx, [rsp + 0x60]
call fcn.1800dd050
mov r8d, esi
mov r9, rsi
cmp qword [rsp + 0x70], 0
jbe 0x1800f8fa1
nop dword [rax]
nop word [rax + rax]
mov rax, qword [0x1802449e8]
movzx edx, word [rax + 0x60]
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rcx, qword [rsp + 0x60]
xor byte [rcx + r9], dl
inc r8d
lea r9, [r9 + 1]
movsxd rax, r8d
cmp rax, qword [rsp + 0x70]
jb 0x1800f8f70
movups xmm6, xmmword [rsp + 0x60]
movups xmmword [rbp - 0x80], xmm6
movups xmm7, xmmword [rsp + 0x70]
movups xmmword [rbp - 0x70], xmm7
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov byte [rsp + 0x60], 0
lea rcx, [rsp + 0x60]
call fcn.1800db3e0
movaps xmmword [rbp + 0xe0], xmm6
movaps xmmword [rbp + 0xf0], xmm7
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rdi
mov byte [rbp - 0x80], 0
lea rcx, [rbp - 0x80]
call fcn.1800db3e0
nop
lea rcx, [rsp + 0x30]
call fcn.1800db3e0
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0x10
cmovae rdx, qword [rbp + 0x10]
add rdx, qword [rbp + 0x20]
mov qword [rsp + 0x28], rbx
lea r9, [rbp + 0x168]
lea r8, [rbp + 0x70]
mov rcx, rbx
call fcn.1800fc130
mov rcx, qword [rbp + 0x88]
mov r8, qword [rbp + 0x80]
sub rcx, r8
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 1
lea rax, [rbp + 0xc8]
jbe 0x1800f9061
lea rax, [r8 + 0x18]
cmp byte [rax + 0x10], 0
je 0x1800f9071
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
jmp 0x1800f907a
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
cmp rdx, r8
jne 0x1800f90af
mov qword [rsp + 0x40], rsi
mov rax, rdi
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x30], 0
jmp 0x1800f90c1
sub r8, rdx
lea rcx, [rsp + 0x30]
call fcn.1800dd050
mov rax, qword [rsp + 0x48]
lea rdx, [rsp + 0x30]
cmp rax, 0x10
cmovae rdx, qword [rsp + 0x30]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rsi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x1800f90e6
lea rcx, [rbp - 0x80]
call fcn.1800dd050
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.1800f7e00
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1800f9120
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1800dd050
mov edx, esi
mov r8, rsi
cmp qword [rsp + 0x70], 0
jbe 0x1800f9180
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [0x1802449e8]
movzx ecx, word [rax + 0x60]
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rax, qword [rsp + 0x60]
xor byte [rax + r8], cl
inc edx
lea r8, [r8 + 1]
movsxd rax, edx
cmp rax, qword [rsp + 0x70]
jb 0x1800f9150
movups xmm6, xmmword [rsp + 0x60]
movups xmmword [rbp - 0x60], xmm6
movups xmm7, xmmword [rsp + 0x70]
movups xmmword [rbp - 0x50], xmm7
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov byte [rsp + 0x60], 0
lea rcx, [rsp + 0x60]
call fcn.1800db3e0
movaps xmmword [rbp + 0x100], xmm6
movaps xmmword [rbp + 0x110], xmm7
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], rdi
mov byte [rbp - 0x60], 0
lea rcx, [rbp - 0x60]
call fcn.1800db3e0
nop
lea rcx, [rsp + 0x30]
call fcn.1800db3e0
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0x10
cmovae rdx, qword [rbp + 0x10]
add rdx, qword [rbp + 0x20]
mov qword [rsp + 0x28], rbx
lea r9, [rbp + 0x140]
lea r8, [rbp + 0x70]
mov rcx, rbx
call fcn.1800fc130
mov rcx, qword [rbp + 0x88]
mov r8, qword [rbp + 0x80]
sub rcx, r8
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 1
lea rax, [rbp + 0xc8]
jbe 0x1800f9240
lea rax, [r8 + 0x18]
cmp byte [rax + 0x10], 0
je 0x1800f9250
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
jmp 0x1800f9259
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
cmp rdx, r8
jne 0x1800f928e
mov qword [rsp + 0x40], rsi
mov rax, rdi
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x30], 0
jmp 0x1800f92a0
sub r8, rdx
lea rcx, [rsp + 0x30]
call fcn.1800dd050
mov rax, qword [rsp + 0x48]
or r15d, 0x1ff
lea rdx, [rsp + 0x30]
cmp rax, 0x10
cmovae rdx, qword [rsp + 0x30]
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], rsi
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1800f92d0
lea rcx, [rbp - 0x60]
call fcn.1800dd050
lea rdx, [rbp - 0x60]
mov rcx, r14
call fcn.1800f7e00
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800f9310
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1800dd050
mov r8d, esi
mov r9, rsi
cmp qword [rsp + 0x70], 0
jbe 0x1800f9371
nop word [rax + rax]
mov rax, qword [0x1802449e8]
movzx edx, word [rax + 0x60]
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rcx, qword [rsp + 0x60]
xor byte [r9 + rcx], dl
inc r8d
lea r9, [r9 + 1]
movsxd rax, r8d
cmp rax, qword [rsp + 0x70]
jb 0x1800f9340
movups xmm7, xmmword [rsp + 0x60]
movups xmmword [rbp - 0x80], xmm7
movups xmm6, xmmword [rsp + 0x70]
movups xmmword [rbp - 0x70], xmm6
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov byte [rsp + 0x60], 0
lea rcx, [rsp + 0x60]
call fcn.1800db3e0
movaps xmmword [rbp + 0x120], xmm7
movaps xmmword [rbp + 0x130], xmm6
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rdi
mov byte [rbp - 0x80], 0
lea rcx, [rbp - 0x80]
call fcn.1800db3e0
nop
lea rcx, [rsp + 0x30]
call fcn.1800db3e0
mov rcx, qword [rbp + 0x88]
mov r8, qword [rbp + 0x80]
sub rcx, r8
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jne 0x1800f9408
mov rcx, qword [rbp + 0xc8]
lea r8, [rbp + 0xc8]
jmp 0x1800f940b
mov rcx, qword [r8]
sub rcx, qword [rbp + 0x70]
cmp byte [r8 + 0x10], 0
je 0x1800f9421
movups xmm0, xmmword [r8]
movups xmmword [rsp + 0x50], xmm0
jmp 0x1800f942a
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov rax, qword [rsp + 0x58]
sub rax, qword [rsp + 0x50]
add rax, rcx
add rbx, rax
mov rdi, qword [r14 + 0x88]
cmp rdi, qword [r14 + 0x90]
je 0x1800f948b
mov qword [rsp + 0x50], rdi
lea rdx, [rbp + 0xe0]
mov rcx, rdi
call fcn.1800d9f00
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x100]
call fcn.1800d9f00
nop
lea rcx, [rdi + 0x40]
lea rdx, [rbp + 0x120]
call fcn.1800d9f00
nop
add qword [r14 + 0x88], 0x60
jmp 0x1800f94a2
lea r8, [rbp + 0xe0]
mov rdx, rdi
lea rcx, [r14 + 0x80]
call fcn.1800efb90
nop
lea rcx, [rbp + 0x120]
call fcn.1800db3e0
lea rcx, [rbp + 0x100]
call fcn.1800db3e0
lea rcx, [rbp + 0xe0]
call fcn.1800db3e0
mov rdx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x10]
xor esi, esi
jmp 0x1800f8df0
call qword [r14 + 0x30]
nop
lea rcx, [rbp + 0x80]
call fcn.1800faec0
nop
lea rcx, [rbp + 0x140]
call fcn.1800fb4b0
mov rcx, qword [rbp + 0x160]
test rcx, rcx
je 0x1800f951c
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x1800f951c
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
nop
lea rcx, [rbp + 0x168]
call fcn.1800fb4b0
mov rcx, qword [rbp + 0x188]
test rcx, rcx
je 0x1800f9551
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x1800f9551
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
nop
lea rcx, [rbp + 0x190]
call fcn.1800fb4b0
mov rcx, qword [rbp + 0x1b0]
test rcx, rcx
je 0x1800f9586
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x1800f9586
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
nop
lea rcx, [rbp + 0x30]
call fcn.1800db3e0
nop
lea rcx, [rbp + 0x10]
call fcn.1800db3e0
nop
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x1c0], rax
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x1bc], edx
lea rcx, [rbp + 0x1d0]
call fcn.1800e6110
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x1c0], rax
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx + 0x1bc], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x270], rax
lea rcx, [rbp + 0x270]
call fcn.1801798c8
nop
mov rbx, qword [rbp - 0x38]
mov edi, reloc.WS2_32.dll_ntohs
add r12, 0x20
cmp r12, r13
jne 0x1800f8620
xor eax, eax
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.18015c7e0
lea r11, [rsp + 0x400]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test dl, 4
je 0x1800f967c
lea rbx, str.ios_base::badbit_set
jmp 0x1800f9691
test dl, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x50]
call fcn.1800d7ec0
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 0x60]
call fcn.1800d8740
lea rdx, [0x18023e250]
lea rcx, [rbp - 0x60]
call fcn.1801a14b4
nop
call fcn.1801b1ea0
int3