Function at 0x1800c4cf0
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 [0x180229ec0]
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 [0x18020cea0]
movdqa xmmword [rbp + 0x130], xmm1
mov byte [rbp + 0x120], 0
mov qword [rbp + 0x140], 0
lea rax, [0x180229108]
mov r14, qword [0x180229118]
test r14, r14
jne 0x1800c4de4
mov rdx, qword [0x1802290f0]
lea rcx, [rbp + 0x100]
call fcn.1800a4440
lea rdx, [rbp + 0x100]
cmp qword [rbp + 0x118], 0xf
cmova rdx, qword [rbp + 0x100]
mov r8, qword [rbp + 0x110]
lea rcx, [0x180229108]
call fcn.18000c240
mov r14, qword [0x180229118]
lea rax, [0x180229108]
cmp qword [rbp + 0x110], 0
jne 0x1800c4f17
xor sil, sil
mov rdi, qword [0x1802290f0]
mov rbx, rdi
mov r15, qword [0x1802290f8]
cmp rdi, r15
je 0x1800c4e68
mov r12, qword [reloc.WS2_32.dll_ntohs]
mov r13, qword [0x180229108]
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 0x1800c4e3c
mov rcx, qword [rbx]
cmp r8, r14
jne 0x1800c4e4f
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1800c4e4f
mov sil, 1
jmp 0x1800c4e58
test sil, sil
jne 0x1800c4fd5
add rbx, 0x48
cmp rbx, r15
lea rax, [0x180229108]
jne 0x1800c4e20
lea rsi, [0x180229108]
lea rax, [rbp + 0x100]
cmp rax, rdi
je 0x1800c4e98
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1800c4e88
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rbp + 0x100]
call fcn.18000c240
lea rdx, [rdi + 0x20]
lea rax, [rbp + 0x120]
cmp rax, rdx
je 0x1800c4ec2
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1800c4eb6
mov rdx, qword [rdx]
lea rcx, [rbp + 0x120]
call fcn.18000c240
mov rcx, qword [rbp + 0x140]
test rcx, rcx
je 0x1800c4ed4
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 0x1800c4eea
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.18000c240
mov r15, qword [rbp + 0xb0]
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0xc0]
call fcn.18000a270
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.18001d470
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.1800cb520
mov edx, eax
mov esi, 4
mov edi, 0x1ff
mov r14d, 0x16d
test eax, eax
jne 0x1800c503f
mov ecx, dword [rbp + 0xf0]
test cl, 1
mov eax, edi
cmovne eax, r14d
mov dword [rsp + 0x44], eax
bt ecx, 0xa
jae 0x1800c5031
mov eax, dword [rbp + 0xf4]
cmp eax, 0xa000000c
jne 0x1800c5023
mov eax, esi
jmp 0x1800c5064
mov rdx, rbx
lea rcx, [rbp + 0x100]
call fcn.1800a4440
lea rsi, [0x180229108]
cmp rsi, rbx
je 0x1800c5009
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x1800c4ffe
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rsi
call fcn.18000c240
cmp qword [rbp + 0x110], 0
jne 0x1800c4f10
mov rdi, qword [0x1802290f0]
jmp 0x1800c4e6f
cmp eax, 0xa0000003
jne 0x1800c5031
mov eax, 0xa
jmp 0x1800c5064
movzx eax, cl
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x1800c5064
mov dword [rsp + 0x44], 0xffff
sub eax, 2
je 0x1800c505f
sub eax, 1
je 0x1800c505f
sub eax, 0x32
je 0x1800c505f
cmp eax, 0x46
je 0x1800c505f
xor eax, eax
jmp 0x1800c5064
mov eax, 1
mov dword [rsp + 0x40], edx
lea r12, [0x180229658]
mov qword [rsp + 0x48], r12
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
test eax, eax
je 0x1800c5196
cmp eax, 1
sete bl
lea rcx, [rbp + 0x70]
call fcn.18001b9c0
test bl, bl
je 0x1800c5102
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.18001d470
nop
lea rcx, [rbp + 0x70]
cmp qword [rbp + 0x88], 7
cmova rcx, qword [rbp + 0x70]
call fcn.1800cb388
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x1800c5da4
lea rcx, [rbp + 0x70]
call fcn.18001b9c0
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.18001d470
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.1800cb520
mov r8d, eax
test eax, eax
jne 0x1800c51c1
mov edx, dword [rbp + 0xf0]
test dl, 1
mov ecx, edi
cmovne ecx, r14d
mov dword [rsp + 0x44], ecx
bt edx, 0xa
jae 0x1800c51b3
mov eax, dword [rbp + 0xf4]
cmp eax, 0xa000000c
jne 0x1800c51a5
mov eax, esi
jmp 0x1800c51e6
mov bl, 1
test edx, edx
jne 0x1800c5d53
jmp 0x1800c508d
cmp eax, 0xa0000003
jne 0x1800c51b3
mov eax, 0xa
jmp 0x1800c51e6
movzx eax, dl
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x1800c51e6
mov dword [rsp + 0x44], 0xffff
sub eax, 2
je 0x1800c51e1
sub eax, 1
je 0x1800c51e1
sub eax, 0x32
je 0x1800c51e1
cmp eax, 0x46
je 0x1800c51e1
xor eax, eax
jmp 0x1800c51e6
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 0x1800c5324
cmp eax, 1
setne bl
lea rcx, [rbp + 0x70]
call fcn.18001b9c0
mov rdi, 0xffffffffffffffff
test bl, bl
je 0x1800c5a38
movdqa xmm0, xmmword [str._t0_5842:8_N_r]
movdqu xmmword [rbp + 0x90], xmm0
mov byte [rbp + 0xa0], 1
xor edx, edx
mov ecx, edx
nop dword [rax]
lea eax, [rcx + 0x55]
xor byte [rbp + rcx + 0x90], al
inc rcx
cmp rcx, 0xf
jb 0x1800c5240
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 0x1800c5270
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r13
cmp rax, rbx
jb 0x1800c5db9
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 0x1800c5375
mov r14, r12
or r14, 0xf
cmp r14, rcx
jbe 0x1800c5334
mov r14, rcx
lea rax, [r8 + 0x27]
mov rcx, rax
call fcn.1800cbf7c
test rax, rax
je 0x1800c5a2c
lea r15, [rax + 0x27]
and r15, 0xffffffffffffffe0
mov qword [r15 - 8], rax
mov rax, qword [rsp + 0x40]
jmp 0x1800c536e
xor bl, bl
test r8d, r8d
jne 0x1800c5d69
jmp 0x1800c5209
cmp r14, r9
cmovb r14, r9
lea rcx, [r14 + 1]
cmp rcx, 0x1000
jb 0x1800c5357
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800c5d7f
jmp 0x1800c5300
test rcx, rcx
je 0x1800c536b
call fcn.1800cbf7c
mov r15, rax
mov rax, qword [rsp + 0x40]
jmp 0x1800c536e
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.18001d470
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.1800cb520
mov r8d, eax
test eax, eax
jne 0x1800c5464
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 0x1800c5456
mov eax, dword [rbp + 0x164]
cmp eax, 0xa000000c
je 0x1800c5489
cmp eax, 0xa0000003
jne 0x1800c5456
lea esi, [r8 + 0xa]
jmp 0x1800c5489
movzx esi, dl
and esi, 0x10
or esi, 0x20
shr esi, 4
jmp 0x1800c5489
mov dword [rsp + 0x44], 0xffff
sub eax, 2
je 0x1800c5484
sub eax, 1
je 0x1800c5484
sub eax, 0x32
je 0x1800c5484
cmp eax, 0x46
je 0x1800c5484
xor esi, esi
jmp 0x1800c5489
mov esi, 1
mov dword [rsp + 0x40], r8d
lea rax, [0x180229658]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
test esi, esi
je 0x1800c57ed
cmp esi, 1
sete bl
lea rcx, [rbp + 0x90]
call fcn.18001b9c0
lea rsi, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
test bl, bl
je 0x1800c56fc
movdqa xmm0, xmmword [0x1801e10f0]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x1801e1150]
movdqa xmmword [rsp + 0x60], xmm1
movdqa xmm0, xmmword [0x1801e1240]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x1801e1260]
movdqa xmmword [rbp - 0x80], xmm1
movdqa xmm0, xmmword [0x1801e1230]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x1801e1220]
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmm0, xmmword [0x1801e1210]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x1801e1250]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmm0, xmmword [0x1801e11f0]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x1801e1200]
movdqa xmmword [rbp - 0x20], xmm1
movdqa xmm0, xmmword [0x1801e1170]
movdqa xmmword [rbp - 0x10], xmm0
movdqa xmm1, xmmword [0x1801e1180]
movdqa xmmword [rbp], xmm1
movdqa xmm0, xmmword [0x1801e1140]
movdqa xmmword [rbp + 0x10], xmm0
movdqa xmm1, xmmword [str.HGI_]
movdqa xmmword [rbp + 0x20], xmm1
movdqa xmm0, xmmword [0x1801e1160]
movdqa xmmword [rbp + 0x30], xmm0
movdqa xmm1, xmmword [0x1801e11d0]
movdqa xmmword [rbp + 0x40], xmm1
mov word [rbp + 0x50], 0x100
xor edx, edx
mov ecx, edx
nop dword [rax + rax]
lea eax, [rcx + 0x55]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 0x100
jb 0x1800c55b0
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 0x1800c55e6
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x90]
call fcn.18000d700
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.1800a2ae0
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.180099fb0
lea rdx, [0x18000d060]
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.18002f830
test rax, rax
jne 0x1800c56e3
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.1800a7b20
nop
lea rcx, [rbp + 0x90]
call fcn.180009f50
movdqa xmm0, xmmword [0x1801e0e30]
movdqu xmmword [rbp + 0x90], xmm0
mov byte [rbp + 0xa0], 1
xor ecx, ecx
nop word [rax + rax]
lea eax, [rcx + 0x55]
xor byte [rbp + rcx + 0x90], al
inc rcx
cmp rcx, 0xf
jb 0x1800c5720
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 0x1800c5750
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r12
cmp rax, rbx
jb 0x1800c5dbf
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 0x1800c583c
mov rsi, r15
or rsi, 0xf
cmp rsi, rcx
jbe 0x1800c57fd
mov rsi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1800cbf7c
test rax, rax
je 0x1800c59d4
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x1800c5838
mov bl, 1
test r8d, r8d
jne 0x1800c5d85
jmp 0x1800c54b3
cmp rsi, 0x16
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmovb rsi, rax
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x1800c5826
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800c5d9e
jmp 0x1800c57ce
test rcx, rcx
je 0x1800c5835
call fcn.1800cbf7c
mov r14, rax
jmp 0x1800c5838
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.1800a2ae0
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 0x1800c58f9
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
lea rcx, [rbp + 0x170]
call fcn.180099fb0
lea rdx, [0x18000d060]
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.18002f830
test rax, rax
jne 0x1800c594d
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.180020db0
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 0x1800c59e0
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c59db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800c59db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800cbd7c
movdqa xmm0, xmmword [0x18020cea0]
movdqu xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x70], 0
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x1800c5a38
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c5a33
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800c5a33
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800cbd7c
mov rcx, qword [rbp + 0x140]
mov qword [rbp + 0x60], rcx
test rcx, rcx
je 0x1800c5bb7
mov ecx, dword [0x18022ee00]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x18022e4a4], ecx
jg 0x1800c5dc5
mov rbx, qword [0x18022dae8]
test rbx, rbx
jne 0x1800c5a9a
mov rax, qword [rbp + 0x60]
mov rbx, qword [rax]
test rbx, rbx
je 0x1800c5b1c
mov rbx, qword [rbx + 0x38]
mov qword [0x18022dae8], rbx
lea rax, [0x180229b30]
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, [0x1800a2540]
lea r12, [0x180000000]
mov rax, qword [0x18022de60]
test rax, rax
je 0x1800c5b50
mov edx, r14d
cmp rax, r13
je 0x1800c5b43
inc ecx
mov edx, ecx
mov rax, qword [r12 + rcx*8 + 0x22de60]
test rax, rax
jne 0x1800c5b04
jmp 0x1800c5b50
lea rcx, [rbp + 0xc0]
call fcn.180009f50
nop
lea rcx, [rbp + 0x100]
call fcn.180021140
nop
mov rcx, r15
call fcn.180009f50
jmp 0x1800c5d04
mov rax, qword [r12 + rdx*8 + 0x22e180]
test rax, rax
jne 0x1800c5b79
mov rcx, r13
call fcn.1800c85d0
mov rcx, qword [0x18022de50]
mov qword [r12 + rcx*8 + 0x22de60], r13
mov qword [r12 + rcx*8 + 0x22e180], rax
inc rcx
mov qword [0x18022de50], 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 [0x18022e4a0], al
mov rcx, qword [rbp + 0x140]
jmp 0x1800c5bc1
movzx eax, byte [0x18022e4a0]
xor r14d, r14d
test al, al
je 0x1800c5bd2
mov byte [0x18022c757], 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 0x1800c5bf0
mov qword [rbp + 0xb8], rdi
xor r8d, r8d
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x70]
call fcn.18001d470
nop
mov qword [rbp + 0xb0], 0
lea rax, [0x180229658]
mov qword [rbp + 0xb8], rax
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x70]
call fcn.1800c88d0
cmp dword [rbp + 0xb0], 0
jne 0x1800c5d3b
lea rcx, [rbp + 0x70]
call fcn.18001b9c0
nop
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0xf
jbe 0x1800c5c98
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c5c93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800c5c93
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800cbd7c
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.180021140
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0xf
jbe 0x1800c5cf4
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x1800c5cef
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800c5d34
mov rcx, r8
call fcn.1800cbd7c
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.1800cbe10
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.18002f390
nop
lea r8, [rbp + 0x70]
lea rdx, [rsp + 0x40]
lea rcx, str.exists
call fcn.18002f390
nop
lea r8, [rbp + 0x70]
lea rdx, [rsp + 0x40]
lea rcx, str.exists
call fcn.18002f390
nop
call fcn.1800028f0
nop
lea r8, [rbp + 0x90]
lea rdx, [rsp + 0x40]
lea rcx, str.exists
call fcn.18002f390
nop
call fcn.1800028f0
nop
shr rdx, 0x20
lea r8, [rbp + 0x70]
lea rcx, str.create_directory
call fcn.18002f450
nop
call fcn.180002990
nop
call fcn.180002990
nop
lea rcx, [0x18022e4a4]
call fcn.1800cbf04
cmp dword [0x18022e4a4], 0xffffffff
jne 0x1800c5a73
lea rcx, [0x180123060]
call fcn.1800cc460
lea rcx, [0x18022e4a4]
call fcn.1800cbe98
jmp 0x1800c5a73