Function at 0x1800c97c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x180230100]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov r15, rcx
mov qword [rbp + 0xb0], rcx
mov qword [rbp + 0x68], rcx
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
mov qword [rbp + 0x110], 0
mov qword [rbp + 0x118], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x100], 0
movups xmmword [rbp + 0x120], xmm0
movdqa xmm1, xmmword [0x180212870]
movdqa xmmword [rbp + 0x130], xmm1
mov byte [rbp + 0x120], 0
mov qword [rbp + 0x140], 0
lea rax, [0x18022f108]
mov r14, qword [0x18022f118]
test r14, r14
jne 0x1800c98b4
mov rdx, qword [0x18022f0f0]
lea rcx, [rbp + 0x100]
call fcn.1800a8300
lea rdx, [rbp + 0x100]
cmp qword [rbp + 0x118], 0xf
cmova rdx, qword [rbp + 0x100]
mov r8, qword [rbp + 0x110]
lea rcx, [0x18022f108]
call fcn.18000c2c0
mov r14, qword [0x18022f118]
lea rax, [0x18022f108]
cmp qword [rbp + 0x110], 0
jne 0x1800c99e7
xor sil, sil
mov rdi, qword [0x18022f0f0]
mov rbx, rdi
mov r15, qword [0x18022f0f8]
cmp rdi, r15
je 0x1800c9938
mov r12, qword [reloc.WS2_32.dll_ntohs]
mov r13, qword [0x18022f108]
nop dword [rax]
mov rdx, rax
cmp r12, 0xf
cmova rdx, r13
mov r8, qword [rbx + 0x10]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1800c990c
mov rcx, qword [rbx]
cmp r8, r14
jne 0x1800c991f
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1800c991f
mov sil, 1
jmp 0x1800c9928
test sil, sil
jne 0x1800c9aa5
add rbx, 0x48
cmp rbx, r15
lea rax, [0x18022f108]
jne 0x1800c98f0
lea rsi, [0x18022f108]
lea rax, [rbp + 0x100]
cmp rax, rdi
je 0x1800c9968
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1800c9958
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rbp + 0x100]
call fcn.18000c2c0
lea rdx, [rdi + 0x20]
lea rax, [rbp + 0x120]
cmp rax, rdx
je 0x1800c9992
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1800c9986
mov rdx, qword [rdx]
lea rcx, [rbp + 0x120]
call fcn.18000c2c0
mov rcx, qword [rbp + 0x140]
test rcx, rcx
je 0x1800c99a4
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 0x40]
mov qword [rbp + 0x140], rcx
test rcx, rcx
je 0x1800c99ba
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
lea rdx, [rbp + 0x100]
cmp qword [rbp + 0x118], 0xf
cmova rdx, qword [rbp + 0x100]
mov r8, qword [rbp + 0x110]
mov rcx, rsi
call fcn.18000c2c0
mov r15, qword [rbp + 0xb0]
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0xc0]
call fcn.18000a2f0
nop
lea rax, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0xf
cmova rax, qword [rbp + 0xc0]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0xd0]
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x70]
call fcn.18001ed80
nop
lea rcx, [rbp + 0x70]
cmp qword [rbp + 0x88], 7
cmova rcx, qword [rbp + 0x70]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0xe0]
call fcn.1800cfff0
mov edx, eax
mov esi, 4
mov edi, 0x1ff
mov r14d, 0x16d
test eax, eax
jne 0x1800c9b0f
mov ecx, dword [rbp + 0xf0]
test cl, 1
mov eax, edi
cmovne eax, r14d
mov dword [rsp + 0x44], eax
bt ecx, 0xa
jae 0x1800c9b01
mov eax, dword [rbp + 0xf4]
cmp eax, 0xa000000c
jne 0x1800c9af3
mov eax, esi
jmp 0x1800c9b34
mov rdx, rbx
lea rcx, [rbp + 0x100]
call fcn.1800a8300
lea rsi, [0x18022f108]
cmp rsi, rbx
je 0x1800c9ad9
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x1800c9ace
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rsi
call fcn.18000c2c0
cmp qword [rbp + 0x110], 0
jne 0x1800c99e0
mov rdi, qword [0x18022f0f0]
jmp 0x1800c993f
cmp eax, 0xa0000003
jne 0x1800c9b01
mov eax, 0xa
jmp 0x1800c9b34
movzx eax, cl
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x1800c9b34
mov dword [rsp + 0x44], 0xffff
sub eax, 2
je 0x1800c9b2f
sub eax, 1
je 0x1800c9b2f
sub eax, 0x32
je 0x1800c9b2f
cmp eax, 0x46
je 0x1800c9b2f
xor eax, eax
jmp 0x1800c9b34
mov eax, 1
mov dword [rsp + 0x40], edx
lea r12, [0x18022f650]
mov qword [rsp + 0x48], r12
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
test eax, eax
je 0x1800c9c66
cmp eax, 1
sete bl
lea rcx, [rbp + 0x70]
call fcn.18001c120
test bl, bl
je 0x1800c9bd2
lea rax, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0xf
cmova rax, qword [rbp + 0xc0]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0xd0]
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x70]
call fcn.18001ed80
nop
lea rcx, [rbp + 0x70]
cmp qword [rbp + 0x88], 7
cmova rcx, qword [rbp + 0x70]
call fcn.1800cfe58
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x1800ca874
lea rcx, [rbp + 0x70]
call fcn.18001c120
lea rax, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0xf
cmova rax, qword [rbp + 0xc0]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0xd0]
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x70]
call fcn.18001ed80
nop
lea rcx, [rbp + 0x70]
cmp qword [rbp + 0x88], 7
cmova rcx, qword [rbp + 0x70]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0xe0]
call fcn.1800cfff0
mov r8d, eax
test eax, eax
jne 0x1800c9c91
mov edx, dword [rbp + 0xf0]
test dl, 1
mov ecx, edi
cmovne ecx, r14d
mov dword [rsp + 0x44], ecx
bt edx, 0xa
jae 0x1800c9c83
mov eax, dword [rbp + 0xf4]
cmp eax, 0xa000000c
jne 0x1800c9c75
mov eax, esi
jmp 0x1800c9cb6
mov bl, 1
test edx, edx
jne 0x1800ca823
jmp 0x1800c9b5d
cmp eax, 0xa0000003
jne 0x1800c9c83
mov eax, 0xa
jmp 0x1800c9cb6
movzx eax, dl
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x1800c9cb6
mov dword [rsp + 0x44], 0xffff
sub eax, 2
je 0x1800c9cb1
sub eax, 1
je 0x1800c9cb1
sub eax, 0x32
je 0x1800c9cb1
cmp eax, 0x46
je 0x1800c9cb1
xor eax, eax
jmp 0x1800c9cb6
mov eax, 1
mov dword [rsp + 0x40], r8d
mov qword [rsp + 0x48], r12
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
test eax, eax
je 0x1800c9df4
cmp eax, 1
setne bl
lea rcx, [rbp + 0x70]
call fcn.18001c120
mov rdi, 0xffffffffffffffff
test bl, bl
je 0x1800ca508
movdqa xmm0, xmmword [0x1801e6830]
movdqu xmmword [rbp + 0x90], xmm0
mov byte [rbp + 0xa0], 1
xor edx, edx
mov ecx, edx
nop dword [rax]
lea eax, [rcx - 0x6b]
xor byte [rbp + rcx + 0x90], al
inc rcx
cmp rcx, 0xf
jb 0x1800c9d10
mov byte [rbp + 0xa0], dl
mov r13, qword [rbp + 0xd0]
lea rax, [rbp + 0x90]
mov rbx, rdi
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], dl
jne 0x1800c9d40
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r13
cmp rax, rbx
jb 0x1800ca889
lea rax, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0xf
cmova rax, qword [rbp + 0xc0]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
mov qword [rbp + 0xf0], rdx
mov qword [rbp + 0xf8], rdx
lea r12, [rbx + r13]
mov r14d, reloc.WS2_32.dll_ntohs
lea r15, [rbp + 0xe0]
movabs r8, 0x8000000000000000
lea r9d, [r14 + 7]
cmp r12, r14
jbe 0x1800c9e45
mov r14, r12
or r14, 0xf
cmp r14, rcx
jbe 0x1800c9e04
mov r14, rcx
lea rax, [r8 + 0x27]
mov rcx, rax
call fcn.1800d0a4c
test rax, rax
je 0x1800ca4fc
lea r15, [rax + 0x27]
and r15, 0xffffffffffffffe0
mov qword [r15 - 8], rax
mov rax, qword [rsp + 0x40]
jmp 0x1800c9e3e
xor bl, bl
test r8d, r8d
jne 0x1800ca839
jmp 0x1800c9cd9
cmp r14, r9
cmovb r14, r9
lea rcx, [r14 + 1]
cmp rcx, 0x1000
jb 0x1800c9e27
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800ca84f
jmp 0x1800c9dd0
test rcx, rcx
je 0x1800c9e3b
call fcn.1800d0a4c
mov r15, rax
mov rax, qword [rsp + 0x40]
jmp 0x1800c9e3e
mov r15, rdx
mov qword [rbp + 0xe0], r15
mov qword [rbp + 0xf0], r12
mov qword [rbp + 0xf8], r14
mov r8, r13
mov rdx, rax
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [r15 + r13]
mov r8, rbx
lea rdx, [rbp + 0x90]
call sub.VCRUNTIME140.dll_memcpy
mov byte [r15 + r12], 0
lea rax, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0xf
cmova rax, qword [rbp + 0xe0]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0xf0]
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x90]
call fcn.18001ed80
nop
lea rcx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 7
cmova rcx, qword [rbp + 0x90]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x150]
call fcn.1800cfff0
mov r8d, eax
test eax, eax
jne 0x1800c9f34
mov edx, dword [rbp + 0x160]
test dl, 1
mov eax, 0x1ff
mov ecx, 0x16d
cmovne eax, ecx
mov dword [rsp + 0x44], eax
bt edx, 0xa
jae 0x1800c9f26
mov eax, dword [rbp + 0x164]
cmp eax, 0xa000000c
je 0x1800c9f59
cmp eax, 0xa0000003
jne 0x1800c9f26
lea esi, [r8 + 0xa]
jmp 0x1800c9f59
movzx esi, dl
and esi, 0x10
or esi, 0x20
shr esi, 4
jmp 0x1800c9f59
mov dword [rsp + 0x44], 0xffff
sub eax, 2
je 0x1800c9f54
sub eax, 1
je 0x1800c9f54
sub eax, 0x32
je 0x1800c9f54
cmp eax, 0x46
je 0x1800c9f54
xor esi, esi
jmp 0x1800c9f59
mov esi, 1
mov dword [rsp + 0x40], r8d
lea rax, [0x18022f650]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
test esi, esi
je 0x1800ca2bd
cmp esi, 1
sete bl
lea rcx, [rbp + 0x90]
call fcn.18001c120
lea rsi, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
test bl, bl
je 0x1800ca1cc
movdqa xmm0, xmmword [0x1801e6a60]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x1801e6ab0]
movdqa xmmword [rsp + 0x60], xmm1
movdqa xmm0, xmmword [0x1801e6ac0]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x1801e6af0]
movdqa xmmword [rbp - 0x80], xmm1
movdqa xmm0, xmmword [0x1801e6aa0]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x1801e6a90]
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmm0, xmmword [0x1801e69a0]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x1801e6900]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmm0, xmmword [0x1801e6960]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x1801e6970]
movdqa xmmword [rbp - 0x20], xmm1
movdqa xmm0, xmmword [0x1801e68b0]
movdqa xmmword [rbp - 0x10], xmm0
movdqa xmm1, xmmword [0x1801e68c0]
movdqa xmmword [rbp], xmm1
movdqa xmm0, xmmword [str._0__a____411_F]
movdqa xmmword [rbp + 0x10], xmm0
movdqa xmm1, xmmword [0x1801e6930]
movdqa xmmword [rbp + 0x20], xmm1
movdqa xmm0, xmmword [0x1801e6ad0]
movdqa xmmword [rbp + 0x30], xmm0
movdqa xmm1, xmmword [0x1801e6ae0]
movdqa xmmword [rbp + 0x40], xmm1
mov word [rbp + 0x50], 0x100
xor edx, edx
mov ecx, edx
nop dword [rax + rax]
lea eax, [rcx - 0x6b]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 0x100
jb 0x1800ca080
mov byte [rbp + 0x51], dl
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], rdx
mov qword [rbp + 0xa8], rdx
lea rax, [rsp + 0x50]
mov r8, rdi
inc r8
cmp byte [rax + r8], dl
jne 0x1800ca0b6
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x90]
call fcn.18000d780
nop
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x280]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0xf
cmova rdx, qword [rbp + 0xe0]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x3e]
lea rcx, [rbp + 0x280]
call fcn.1800a69a0
mov rax, qword [rbp + 0x280]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x280], rsi
mov rax, qword [rbp + 0x280]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x27c], edx
lea rdx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0xf
cmova rdx, qword [rbp + 0x90]
mov r8, qword [rbp + 0xa0]
lea rcx, [rbp + 0x280]
call fcn.18009de70
lea rdx, [0x18000d0e0]
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]
lea rcx, [rbp + 0x288]
call fcn.180032710
test rax, rax
jne 0x1800ca1b3
mov rax, qword [rbp + 0x280]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x280]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
lea rcx, [rbp + 0x280]
call fcn.1800ab9e0
nop
lea rcx, [rbp + 0x90]
call fcn.180009fd0
movdqa xmm0, xmmword [0x1801e6820]
movdqu xmmword [rbp + 0x90], xmm0
mov byte [rbp + 0xa0], 1
xor ecx, ecx
nop word [rax + rax]
lea eax, [rcx - 0x6b]
xor byte [rbp + rcx + 0x90], al
inc rcx
cmp rcx, 0xf
jb 0x1800ca1f0
mov byte [rbp + 0xa0], 0
mov r12, qword [rbp + 0xd0]
lea rax, [rbp + 0x90]
mov rbx, rdi
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800ca220
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r12
cmp rax, rbx
jb 0x1800ca88f
lea r13, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0xf
cmova r13, qword [rbp + 0xc0]
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x80], xmm1
lea r15, [r12 + rbx]
mov esi, reloc.WS2_32.dll_ntohs
lea r14, [rbp + 0x70]
cmp r15, rsi
jbe 0x1800ca30c
mov rsi, r15
or rsi, 0xf
cmp rsi, rcx
jbe 0x1800ca2cd
mov rsi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1800d0a4c
test rax, rax
je 0x1800ca4a4
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x1800ca308
mov bl, 1
test r8d, r8d
jne 0x1800ca855
jmp 0x1800c9f83
cmp rsi, 0x16
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmovb rsi, rax
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x1800ca2f6
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800ca86e
jmp 0x1800ca29e
test rcx, rcx
je 0x1800ca305
call fcn.1800d0a4c
mov r14, rax
jmp 0x1800ca308
xor r14d, r14d
mov qword [rbp + 0x70], r14
mov qword [rbp + 0x80], r15
mov qword [rbp + 0x88], rsi
mov r8, r12
mov rdx, r13
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [r14 + r12]
mov r8, rbx
lea rdx, [rbp + 0x90]
call sub.VCRUNTIME140.dll_memcpy
mov byte [r14 + r15], 0
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x170]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0xf
cmova rdx, qword [rbp + 0x70]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x3e]
lea rcx, [rbp + 0x170]
call fcn.1800a69a0
mov rax, qword [rbp + 0x170]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x170], rbx
mov rax, qword [rbp + 0x170]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x16c], edx
mov r15, qword [rbp + 0xb0]
mov rdx, r15
cmp qword [r15 + 0x18], 0xf
jbe 0x1800ca3c9
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
lea rcx, [rbp + 0x170]
call fcn.18009de70
lea rdx, [0x18000d0e0]
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]
lea rcx, [rbp + 0x178]
call fcn.180032710
test rax, rax
jne 0x1800ca41d
mov rax, qword [rbp + 0x170]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x170]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 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 + 0x170]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x170], rbx
mov rax, qword [rbp + 0x170]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x16c], edx
lea rcx, [rbp + 0x178]
call fcn.1800226c0
lea rcx, [rbp + 0x180]
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 + 0x218]
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 + 0x88]
cmp rdx, 0xf
jbe 0x1800ca4b0
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800ca4ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800ca4ab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d084c
movdqa xmm0, xmmword [0x180212870]
movdqu xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x70], 0
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x1800ca508
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800ca503
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800ca503
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d084c
mov rcx, qword [rbp + 0x140]
mov qword [rbp + 0x60], rcx
test rcx, rcx
je 0x1800ca687
mov ecx, dword [0x180234f70]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x180234614], ecx
jg 0x1800ca895
mov rbx, qword [0x180233c28]
test rbx, rbx
jne 0x1800ca56a
mov rax, qword [rbp + 0x60]
mov rbx, qword [rax]
test rbx, rbx
je 0x1800ca5ec
mov rbx, qword [rbx + 0x38]
mov qword [0x180233c28], rbx
lea rax, [0x18022fb20]
mov qword [rbp + 0xb0], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
lea rax, [rbp + 0x3c8]
movabs rcx, 0x1d0164d8541d
mov qword [rbp + 0x98], rcx
mov qword [rbp + 0xa0], rax
mov rsi, qword [rax]
xor rsi, rcx
mov qword [rbp + 0x90], rsi
xor r14d, r14d
mov qword [rax], r14
mov ecx, r14d
lea r13, [0x1800a6400]
lea r12, [0x180000000]
mov rax, qword [0x180233fd0]
test rax, rax
je 0x1800ca620
mov edx, r14d
cmp rax, r13
je 0x1800ca613
inc ecx
mov edx, ecx
mov rax, qword [r12 + rcx*8 + 0x233fd0]
test rax, rax
jne 0x1800ca5d4
jmp 0x1800ca620
lea rcx, [rbp + 0xc0]
call fcn.180009fd0
nop
lea rcx, [rbp + 0x100]
call fcn.180022a50
nop
mov rcx, r15
call fcn.180009fd0
jmp 0x1800ca7d4
mov rax, qword [r12 + rdx*8 + 0x2342f0]
test rax, rax
jne 0x1800ca649
mov rcx, r13
call fcn.1800cd0a0
mov rcx, qword [0x180233fc8]
mov qword [r12 + rcx*8 + 0x233fd0], r13
mov qword [r12 + rcx*8 + 0x2342f0], rax
inc rcx
mov qword [0x180233fc8], rcx
lea r9, [rbp + 0xb0]
lea r8, [rbp + 0xc0]
lea rdx, [rbp + 0x60]
mov rcx, rbx
call rax
nop
movabs rcx, 0x1d0164d8541d
xor rsi, rcx
lea rcx, [rbp + 0x3c8]
mov qword [rcx], rsi
mov byte [0x180234610], al
mov rcx, qword [rbp + 0x140]
jmp 0x1800ca691
movzx eax, byte [0x180234610]
xor r14d, r14d
test al, al
je 0x1800ca6a2
mov byte [0x18023298f], 1
mov rax, qword [rcx]
call qword [rax + 0x40]
lea rax, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0xf
cmova rax, qword [rbp + 0xc0]
mov qword [rbp + 0xb0], rax
inc rdi
cmp byte [rax + rdi], 0
jne 0x1800ca6c0
mov qword [rbp + 0xb8], rdi
xor r8d, r8d
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x70]
call fcn.18001ed80
nop
mov qword [rbp + 0xb0], 0
lea rax, [0x18022f650]
mov qword [rbp + 0xb8], rax
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x70]
call fcn.1800cd3a0
cmp dword [rbp + 0xb0], 0
jne 0x1800ca80b
lea rcx, [rbp + 0x70]
call fcn.18001c120
nop
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0xf
jbe 0x1800ca768
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800ca763
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800ca763
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d084c
mov qword [rbp + 0xd0], r14
mov qword [rbp + 0xd8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xc0], 0
lea rcx, [rbp + 0x100]
call fcn.180022a50
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0xf
jbe 0x1800ca7c4
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x1800ca7bf
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800ca804
mov rcx, r8
call fcn.1800d084c
mov qword [r15 + 0x10], r14
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r15], 0
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.1800d08e0
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea r8, [rbp + 0x70]
lea rdx, [rbp + 0xb0]
lea rcx, str.remove_all
call fcn.180032270
nop
lea r8, [rbp + 0x70]
lea rdx, [rsp + 0x40]
lea rcx, str.exists
call fcn.180032270
nop
lea r8, [rbp + 0x70]
lea rdx, [rsp + 0x40]
lea rcx, str.exists
call fcn.180032270
nop
call fcn.1800028f0
nop
lea r8, [rbp + 0x90]
lea rdx, [rsp + 0x40]
lea rcx, str.exists
call fcn.180032270
nop
call fcn.1800028f0
nop
shr rdx, 0x20
lea r8, [rbp + 0x70]
lea rcx, str.create_directory
call fcn.180032330
nop
call fcn.180002990
nop
call fcn.180002990
nop
lea rcx, [0x180234614]
call fcn.1800d09d4
cmp dword [0x180234614], 0xffffffff
jne 0x1800ca543
lea rcx, [0x180128230]
call fcn.1800d0f30
lea rcx, [0x180234614]
call fcn.1800d0968
jmp 0x1800ca543