Function at 0x180059ce0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov edx, dword [0x1802848b4]
mov rsi, rcx
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x18028aa10], edx
jle 0x180059d4e
lea rcx, [0x18028aa10]
call fcn.180249e18
cmp dword [0x18028aa10], 0xffffffff
jne 0x180059d4e
call fcn.180002cc0
lea rcx, [0x180269e90]
call fcn.18024a2cc
lea rcx, [0x18028aa10]
call fcn.180249db8
xor r12d, r12d
mov dword [rsp + 0x30], 0x71686ae3
mov word [rsp + 0x34], 0x75
movabs r9, 0xaaaaaaaaaaaaaaab
mov qword [rbp + 0x118], r12
mov rax, qword [rbp + 0x118]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x118]
mov rax, qword [rbp + 0x118]
movzx r8d, byte [rsp + rax + 0x31]
mov rax, r9
mul rcx
shr rdx, 4
movzx eax, dl
add al, al
add dl, al
mov rax, qword [rbp + 0x118]
shl dl, 3
sub cl, dl
mov edx, 0x1c32f009
sar edx, cl
xor dl, r8b
mov byte [rsp + rax + 0x31], dl
mov rax, qword [rbp + 0x118]
inc rax
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x118]
cmp rax, 4
jb 0x180059d80
mov qword [rsp + 0x210], r13
lea r8, [rsp + 0x31]
mov qword [rsp + 0x1d8], r14
lea rdx, [rsp + 0x60]
lea rcx, [0x18028a930]
mov qword [rsp + 0x1d0], r15
mov byte [rsp + 0x35], r12b
call fcn.180003fd0
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
sub rdi, rbx
je 0x18005a57d
movabs rax, 0x7fffffffffffffff
mov qword [rsp + 0x58], r12
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
cmp rdi, rax
ja 0x18005a5df
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.18023c020
mov rdx, rbx
mov r8, rdi
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call fcn.18024af30
lea rax, [rdi + rbx]
mov r15d, r12d
mov r14d, eax
mov qword [rsp + 0x50], rax
sub r14d, ebx
lea r13, [rsi + 0x3b18]
sub rax, rbx
mov dword [rbp + 0x120], r14d
cmp eax, 4
jae 0x180059e92
mov dword [r13], r12d
jmp 0x180059ecd
mov eax, dword [rbx]
mov dword [r13], eax
mov qword [rbp + 0x128], 1
mov qword [rbp + 0x118], 3
mov rcx, qword [rbp + 0x118]
mov rax, qword [rbp + 0x128]
add rcx, rax
mov qword [rbp + 0x118], rcx
mov r15, qword [rbp + 0x118]
mov qword [rbp + 0x128], 0x1af
mov qword [rbp + 0x118], 0x51
mov rcx, qword [rbp + 0x118]
mov rax, qword [rbp + 0x128]
add rcx, rax
mov qword [rbp + 0x118], rcx
mov rcx, qword [rbp + 0x118]
add ecx, r15d
cmp ecx, r14d
ja 0x180059f64
mov edx, r15d
mov r15d, ecx
add rdx, qword [rsp + 0x48]
je 0x180059f64
mov qword [rbp + 0x128], 0x135
mov qword [rbp + 0x118], 0xcb
mov rcx, qword [rbp + 0x118]
mov rax, qword [rbp + 0x128]
add rcx, rax
mov qword [rbp + 0x118], rcx
sub rsi, rdx
mov rcx, qword [rbp + 0x118]
nop
movzx eax, byte [rdx]
mov byte [rsi + rdx + 0x3d9c], al
lea rdx, [rdx + 1]
sub rcx, 1
jne 0x180059f50
lea rdx, [r13 + 0x10]
lea rcx, [rsp + 0x38]
call fcn.18023a640
mov rcx, qword [r13 + 0x10]
mov rax, qword [rcx + 8]
mov qword [rax], r12
mov rdi, qword [rcx]
test rdi, rdi
je 0x180059fb1
nop word [rax + rax]
mov rbx, qword [rdi]
lea rcx, [rdi + 0x10]
call fcn.18002dc80
mov edx, 0x118
mov rcx, rdi
call fcn.180249cb8
mov rdi, rbx
test rbx, rbx
jne 0x180059f90
mov rax, qword [r13 + 0x10]
xor edi, edi
mov ecx, r15d
mov ebx, r14d
mov qword [rax], rax
mov rax, qword [r13 + 0x10]
mov qword [rax + 8], rax
lea rax, [rcx + 2]
mov qword [r13 + 0x18], rdi
cmp rax, rbx
jbe 0x180059fda
movzx edx, di
jmp 0x18005a017
mov rax, qword [rsp + 0x48]
movzx edx, word [rcx + rax]
mov qword [rbp + 0x128], rdi
mov qword [rbp + 0x118], 2
mov rcx, qword [rbp + 0x118]
mov rax, qword [rbp + 0x128]
add rcx, rax
mov qword [rbp + 0x118], rcx
mov rax, qword [rbp + 0x118]
add r15d, eax
movzx eax, dx
mov esi, edi
mov dword [rbp + 0x118], edi
mov dword [rbp + 0x128], eax
test eax, eax
je 0x18005a44c
mov ecx, 0x18
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], rdi
call fcn.180249f28
mov ecx, r15d
xorps xmm0, xmm0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp - 0x48], rax
lea rax, [rcx + 1]
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x20], 0xf
mov byte [rbp - 0x38], r12b
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], rdi
movdqa xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], rdi
mov byte [rbp - 0x60], r12b
mov qword [rbp - 0x58], rdi
mov byte [rbp - 0x50], r12b
cmp rax, rbx
jbe 0x18005a095
mov byte [rbp - 8], r12b
jmp 0x18005a0c9
mov rax, qword [rsp + 0x48]
movzx ecx, byte [rcx + rax]
mov byte [rbp - 8], cl
mov qword [rsp + 0x20], 1
mov qword [rsp + 0x28], rdi
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x20]
add rcx, rax
mov qword [rsp + 0x20], rcx
mov rax, qword [rsp + 0x20]
add r15d, eax
mov qword [rsp + 0x28], 0x6d
mov qword [rsp + 0x20], 0x13
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
add rcx, rax
mov qword [rsp + 0x20], rcx
mov r8, qword [rsp + 0x20]
add r8d, r15d
cmp r8d, r14d
ja 0x18005a151
mov edx, r15d
mov r15d, r8d
add rdx, qword [rsp + 0x48]
je 0x18005a151
mov qword [rsp + 0x28], 0x2b
lea r8, [rbp - 7]
mov qword [rsp + 0x20], 0x55
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
add rcx, rax
mov qword [rsp + 0x20], rcx
sub r8, rdx
mov rcx, qword [rsp + 0x20]
nop word [rax + rax]
movzx eax, byte [rdx]
mov byte [rdx + r8], al
lea rdx, [rdx + 1]
sub rcx, 1
jne 0x18005a140
mov qword [rsp + 0x28], 0xb
mov qword [rsp + 0x20], 5
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
add rcx, rax
mov qword [rsp + 0x20], rcx
mov r8, qword [rsp + 0x20]
add r8d, r15d
cmp r8d, r14d
ja 0x18005a1d1
mov edx, r15d
mov r15d, r8d
add rdx, qword [rsp + 0x48]
je 0x18005a1d1
mov qword [rsp + 0x28], 7
lea r8, [rbp + 0x79]
mov qword [rsp + 0x20], 9
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
add rcx, rax
mov qword [rsp + 0x20], rcx
sub r8, rdx
mov rcx, qword [rsp + 0x20]
nop
movzx eax, byte [rdx]
mov byte [r8 + rdx], al
lea rdx, [rdx + 1]
sub rcx, 1
jne 0x18005a1c0
mov rax, qword [rsp + 0x38]
mov rbx, qword [rax]
cmp rbx, rax
je 0x18005a311
mov qword [rsp + 0x20], 0x33
lea rdx, [rbp - 7]
mov qword [rsp + 0x28], 0x4d
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
add rcx, rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbx + 0x69]
mov rax, qword [rsp + 0x20]
movzx r8d, byte [rdx]
cmp byte [rcx], r8b
jne 0x18005a303
inc rcx
inc rdx
sub rax, 1
jne 0x18005a213
mov qword [rsp + 0x28], 8
lea rdx, [rbp + 0x79]
mov qword [rsp + 0x20], 8
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
add rcx, rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbx + 0xe9]
mov rax, qword [rsp + 0x20]
movzx r8d, byte [rdx]
cmp byte [rcx], r8b
jne 0x18005a303
inc rcx
inc rdx
sub rax, 1
jne 0x18005a260
mov r14, qword [r13 + 0x10]
movabs rax, 0xea0ea0ea0ea0ea
cmp qword [r13 + 0x18], rax
je 0x18005a5eb
mov ecx, 0x118
call fcn.180249f28
lea r8, [rbx + 0x10]
mov rdi, rax
lea rdx, [rax + 0x10]
call fcn.180241e90
inc qword [r13 + 0x18]
lea rcx, [rbx + 0x10]
mov rdx, qword [r14 + 8]
mov qword [rdi], r14
mov qword [rdi + 8], rdx
mov qword [r14 + 8], rdi
mov qword [rdx], rdi
mov rdx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rdx], rax
mov rdx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
dec qword [rsp + 0x40]
call fcn.18002dc80
mov edx, 0x118
mov rcx, rbx
call fcn.180249cb8
mov esi, dword [rbp + 0x118]
mov r14d, dword [rbp + 0x120]
jmp 0x18005a392
mov rbx, qword [rbx]
cmp rbx, qword [rsp + 0x38]
jne 0x18005a1e2
mov rdi, qword [r13 + 0x10]
movabs rax, 0xea0ea0ea0ea0ea
cmp qword [r13 + 0x18], rax
je 0x18005a5eb
mov ecx, 0x118
call fcn.180249f28
lea r8, [rbp - 0x60]
mov rbx, rax
lea rdx, [rax + 0x10]
call fcn.180241e90
inc qword [r13 + 0x18]
lea rdx, [rbp + 0xb0]
mov rcx, qword [rdi + 8]
mov qword [rbx + 8], rcx
mov qword [rbx], rdi
mov qword [rdi + 8], rbx
mov qword [rcx], rbx
mov rcx, r13
mov rax, qword [r13 + 0x10]
mov rbx, qword [rax + 8]
call fcn.18002fb30
mov rdx, rax
lea rcx, [rbx + 0x10]
call fcn.18002e7e0
mov rax, qword [r13 + 0x10]
mov rcx, qword [rax + 8]
add rcx, 0x10
cmp byte [rcx], r12b
je 0x18005a392
call fcn.18002e0b0
mov rcx, qword [rbp + 0x90]
test rcx, rcx
je 0x18005a3e8
mov rdx, qword [rbp + 0xa0]
mov rax, rcx
sub rdx, rcx
cmp rdx, 0x1000
jb 0x18005a3cd
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005a5e5
call fcn.180249cb8
xorps xmm0, xmm0
xor edi, edi
movdqa xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], rdi
jmp 0x18005a3ea
xor edi, edi
mov rbx, qword [rbp - 0x10]
test rbx, rbx
je 0x18005a422
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18005a422
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18005a422
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
lea rcx, [rbp - 0x38]
call fcn.18023c0a0
lea rcx, [rbp - 0x48]
call fcn.18023a7a0
inc esi
mov dword [rbp + 0x118], esi
cmp esi, dword [rbp + 0x128]
jge 0x18005a44c
mov ebx, r14d
jmp 0x18005a030
mov rax, qword [rsp + 0x38]
mov rbx, qword [rax]
cmp rbx, rax
je 0x18005a4ee
nop dword [rax]
mov rcx, qword [rbx + 0x28]
mov rax, qword [rcx + 8]
mov qword [rax], rdi
mov rcx, qword [rcx]
test rcx, rcx
je 0x18005a488
mov rdi, qword [rcx]
mov edx, 0x18
call fcn.180249cb8
mov rcx, rdi
test rdi, rdi
jne 0x18005a473
mov rax, qword [rbx + 0x28]
mov qword [rax], rax
mov rax, qword [rbx + 0x28]
mov qword [rax + 8], rax
mov qword [rbx + 0x30], rdi
movzx ecx, byte [rbx + 0x68]
sub ecx, 1
je 0x18005a4b3
sub ecx, 1
je 0x18005a4b3
sub ecx, 1
je 0x18005a4b3
cmp ecx, 1
jne 0x18005a4e0
lea rdx, [rsp + 0x78]
lea rcx, [rbx + 0x10]
call fcn.18002f660
cmp qword [rax + 0x18], 0x10
jb 0x18005a4cb
mov rax, qword [rax]
mov rdx, rax
mov rcx, r13
call fcn.18002d280
lea rcx, [rsp + 0x78]
call fcn.18023c0a0
mov rbx, qword [rbx]
cmp rbx, qword [rsp + 0x38]
jne 0x18005a460
mov rcx, r13
call fcn.1800305f0
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + 8]
mov qword [rax], rdi
mov rdi, qword [rcx]
test rdi, rdi
je 0x18005a531
nop word [rax + rax]
mov rbx, qword [rdi]
lea rcx, [rdi + 0x10]
call fcn.18002dc80
mov edx, 0x118
mov rcx, rdi
call fcn.180249cb8
mov rdi, rbx
test rbx, rbx
jne 0x18005a510
mov rcx, qword [rsp + 0x38]
mov edx, 0x118
call fcn.180249cb8
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x18005a578
mov rdx, qword [rsp + 0x58]
mov rax, rcx
sub rdx, rcx
cmp rdx, 0x1000
jb 0x18005a573
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005a5d9
call fcn.180249cb8
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x18005a5b3
mov rdx, qword [rsp + 0x70]
mov rax, rbx
sub rdx, rbx
cmp rdx, 0x1000
jb 0x18005a5ab
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005a5d9
mov rcx, rbx
call fcn.180249cb8
mov r15, qword [rsp + 0x1d0]
mov r14, qword [rsp + 0x1d8]
mov r13, qword [rsp + 0x210]
add rsp, 0x1e0
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1802514a4
int3
call fcn.18023c000
int3
call fcn.1802514a4
int3
lea rcx, str.list_too_long
call fcn.18024894c
int3