Function at 0x18005e7f0
Capabilities:
Encode data using xor

Disassembly:
push rdi
push r13
push r14
sub rsp, 0xe0
mov eax, dword [0x1800bba70]
xor edi, edi
mov r14, rdx
mov r13d, ecx
test al, 1
jne 0x18005e839
or eax, 1
mov qword [0x1800bba58], rdi
lea rcx, [0x1800953f0]
mov dword [0x1800bba70], eax
mov qword [0x1800bba60], rdi
mov qword [0x1800bba68], rdi
call fcn.180066f98
mov qword [rsp + 0x108], rbx
lea edx, [r13 + 0xa2b]
mov qword [rsp + 0xd8], rbp
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0xc8], r12
mov qword [rsp + 0xc0], r15
mov dword [rsp + 0x100], edx
cmp r13d, edx
jae 0x18005e8d9
mov r12, qword [rsp + 0x110]
mov r15, 0xffffffffffffffff
lea r8, [0x180000000]
movabs rbx, 0x320033005f0032
cmp r13d, 0x20f
ja 0x18005ec1f
je 0x18005ebf1
cmp r13d, 0xfd
ja 0x18005eb4e
je 0x18005eb2e
mov eax, r13d
sub eax, 0x54
je 0x18005eabd
sub eax, 0x44
je 0x18005e93b
sub eax, 0xf
je 0x18005e913
cmp eax, 0x36
jne 0x18005eeea
mov rax, qword [rsp + 0x70]
mov r15, qword [rsp + 0xc0]
mov r12, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0xd0]
mov rbp, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0x108]
add rsp, 0xe0
pop r14
pop r13
pop rdi
ret
mov r8d, 2
lea rdx, [0x18009bd78]
lea rcx, [rsp + 0x48]
call fcn.18006dbdc
mov qword [rsp + 0x4c], rbx
mov edx, dword [rsp + 0x100]
jmp 0x18005eeea
mov rsi, qword [r14 + 8]
mov ebp, edi
mov qword [rsp + 0x60], rsi
cmp ebp, 0x18
ja case.0x18005e965.2
mov eax, ebp
movzx eax, byte [r8 + rax + 0x5efec]
mov ecx, dword [r8 + rax*4 + 0x5efd0]
add rcx, r8
jmp rcx
cmp rsi, qword [r14 + 0x10]
ja 0x18005e97d
jae case.0x18005e965.2
cmp rsi, qword [r14 + 8]
jb case.0x18005e965.2
mov rcx, qword [r14]
mov rdx, rsi
call fcn.18006e628
lea r8, [0x180000000]
test rax, rax
je case.0x18005e965.2
mov qword [r14 + 0x10], rsi
mov qword [r14], rax
jmp case.0x18005e965.2
mov rcx, qword [r14]
cmp rcx, r15
je 0x18005e9b2
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, r14
call fcn.18006e620
lea r8, [0x180000000]
jmp case.0x18005e965.2
mov r9d, 0xa7
mov qword [rsp + 0x20], rdi
mov r8, r14
xor edx, edx
xor ecx, ecx
call fcn.180022390
mov rbx, rax
mov dword [rsp + 0x20], 0x5d
xor r9d, r9d
mov dword [rsp + 0x110], ebx
xor r8d, r8d
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x98]
call fcn.180044730
movups xmm0, xmmword [rax + 0x10]
mov eax, dword [rax]
movups xmmword [rsp + 0x88], xmm0
test eax, eax
je 0x18005ea42
xor r9d, r9d
mov qword [rsp + 0x20], r14
xor edx, edx
xor ecx, ecx
lea r8d, [r9 + 0x3d]
call fcn.180055840
test eax, eax
js case.0x18005e965.3
lea r8, [0x180000000]
jmp case.0x18005e965.2
cmp ebx, 0x22
jne case.0x18005e965.3
xor r8d, r8d
lea ecx, [rbx + 0x1f]
mov rdx, r14
call fcn.18005b270
test eax, eax
js case.0x18005e965.3
lea r8, [0x180000000]
jmp case.0x18005e965.2
test rsi, rsi
je case.0x18005e965.3
mov rdx, rdi
cmp qword [r14 + 8], rsi
je case.0x18005e965.2
nop dword [rax]
mov rcx, qword [r14]
mov rax, rdx
and eax, 3
add rcx, rdx
inc rdx
movzx eax, byte [rsp + rax + 0x68]
xor byte [rcx + rsi], al
mov rax, qword [r14 + 8]
sub rax, rsi
cmp rdx, rax
jb 0x18005ea80
inc ebp
lea eax, [rbp + 0x52]
cmp eax, 0x5a
jb 0x18005e946
mov edx, dword [rsp + 0x100]
jmp 0x18005eeea
mov rax, qword [0x1800bba60]
cmp qword [0x1800bba58], rax
jne 0x18005eae9
xor r9d, r9d
mov dword [rsp + 0x20], 0x1d
xor r8d, r8d
lea rcx, [0x1800bba58]
xor edx, edx
call fcn.1800115b0
mov dword [rsp + 0x28], 0xaa
lea r9, [r14 + 0x68]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.18002cc30
lea r8, [0x1800bba58]
mov ecx, 0x36
lea rdx, [r14 + 0x68]
call fcn.18000a630
mov edx, dword [rsp + 0x100]
mov byte [rsp + 0x70], al
jmp 0x18005eeea
mov edx, 0xc8
mov ecx, 1
call fcn.18006d048
mov edx, dword [rsp + 0x100]
mov qword [rsp + 0x40], rax
jmp 0x18005eeea
mov eax, r13d
sub eax, 0xfe
je 0x18005ebd5
sub eax, 0x32
je 0x18005ebad
sub eax, 0x56
je 0x18005eb91
cmp eax, 0x33
jne 0x18005eeea
lea r8d, [rax - 0x32]
mov word [rsp + 0x58], di
lea rdx, [0x18009bc68]
lea rcx, [rsp + 0x48]
call fcn.18006db94
mov edx, dword [rsp + 0x100]
jmp 0x18005eeea
mov rbx, qword [rsp + 0x110]
lea r12, str.t_0_1_
mov qword [rsp + 0x118], rbx
jmp 0x18005eeea
mov r8d, 2
mov word [rsp + 0x54], di
lea rdx, [0x18009bcc0]
lea rcx, [rsp + 0x54]
call fcn.18006dbdc
mov edx, dword [rsp + 0x100]
jmp 0x18005eeea
mov rcx, qword [r14]
xor r8d, r8d
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov edx, dword [rsp + 0x100]
jmp 0x18005eeea
mov rbx, qword [rsp + 0x40]
mov r8d, 0xba
mov rcx, rbx
mov rdx, r12
call fcn.180060c10
mov rax, qword [rbx + 0x58]
mov edx, dword [rsp + 0x100]
mov qword [rsp + 0x118], rax
jmp 0x18005eeea
cmp r13d, 0x354
ja 0x18005edd5
je 0x18005edcc
mov eax, r13d
sub eax, 0x242
je 0x18005ed7f
sub eax, 0x56
je 0x18005ecec
sub eax, 0x33
je 0x18005eca7
cmp eax, 0x56
jne 0x18005eeea
mov eax, dword [0x1800bb644]
mov rbx, qword [rsp + 0x118]
inc eax
mov dword [0x1800bb644], eax
movsx ecx, byte [rbx + 0xa]
cmp cl, 3
jne 0x18005eeff
inc eax
mov dword [0x1800bb644], eax
movsx ecx, byte [rbx + 0xb]
test cl, cl
jne 0x18005ef94
inc eax
mov dword [0x1800bb644], eax
movsx eax, byte [rbx + 0xc]
test al, al
jne 0x18005ef8e
jmp 0x18005eeea
mov dword [rsp + 0x38], 9
xor r9d, r9d
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov qword [rsp + 0x28], rdi
mov rdx, r14
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.180039980
test al, al
je 0x18005e8d9
mov rcx, qword [r14]
call qword [rsp + 0x68]
mov edx, dword [rsp + 0x100]
mov qword [r14], r15
jmp 0x18005eeea
mov edx, dword [0x1800bb644]
mov rax, qword [rsp + 0x40]
inc edx
mov dword [0x1800bb644], edx
mov rcx, qword [rax + 0x60]
mov rax, r15
inc rax
cmp byte [r12 + rax], dil
jne 0x18005ed06
add rax, 0x10
cmp rcx, rax
jne 0x18005ef21
mov rbx, qword [rsp + 0x118]
lea eax, [rdx + 1]
mov dword [0x1800bb644], eax
movsx ecx, byte [rbx + 2]
test cl, cl
jne 0x18005ef94
inc eax
mov dword [0x1800bb644], eax
movsx ecx, byte [rbx + 3]
cmp cl, 6
jne 0x18005ef10
inc eax
lea r8, [rbx + 4]
mov edx, 0x9c
mov dword [0x1800bb644], eax
lea rcx, str.MQIsdp
call fcn.180014ba0
test eax, eax
je 0x18005efb5
mov edx, dword [rsp + 0x100]
jmp 0x18005eeea
mov r8d, 1
lea rdx, [0x18009bc9c]
lea rcx, [rsp + 0x48]
call fcn.18006db94
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
lea rcx, [rsp + 0x48]
xor edx, edx
mov dword [rsp + 0x20], 0xe9
lea r8d, [r9 + 3]
call fcn.18000df30
mov edx, dword [rsp + 0x100]
mov qword [rsp + 0x68], rax
jmp 0x18005eeea
mov dword [r14 + 8], edi
jmp 0x18005eeea
cmp r13d, 0x3aa
je 0x18005eed0
cmp r13d, 0x433
je 0x18005ee74
cmp r13d, 0x4bc
je 0x18005ee0d
cmp r13d, 0x545
jne 0x18005eeea
mov rax, rdi
jmp 0x18005e8de
inc dword [0x1800bb644]
mov r8, r15
inc r8
cmp byte [r12 + r8], dil
jne 0x18005ee16
mov rbx, qword [rsp + 0x118]
mov rdx, r12
lea rcx, [rbx + 0x10]
call fcn.18006e0e0
test eax, eax
jne 0x18005ef76
mov rbx, qword [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov qword [rsp + 0x28], rdi
xor edx, edx
mov dword [rsp + 0x20], 0x5b
lea rcx, [rbx + 0x58]
call fcn.18000df30
mov rcx, rbx
call fcn.18006e620
mov edx, dword [rsp + 0x100]
jmp 0x18005eeea
mov eax, dword [0x1800bb644]
mov rbx, qword [rsp + 0x118]
inc eax
mov dword [0x1800bb644], eax
movsx ecx, byte [rbx + 0xe]
test cl, cl
jne 0x18005ef94
inc eax
mov dword [0x1800bb644], eax
mov rax, r15
movsx ecx, byte [rbx + 0xf]
inc rax
cmp byte [r12 + rax], dil
jne 0x18005eea5
cmp cl, al
je 0x18005eeea
inc r15
cmp byte [r12 + r15], dil
jne 0x18005eeb2
movsx eax, r15b
movd xmm1, ecx
movd xmm2, eax
cvtdq2pd xmm2, xmm2
jmp 0x18005ef9b
inc dword [0x1800bb644]
mov rax, qword [rsp + 0x118]
movsx eax, byte [rax + 0xd]
cmp al, 0x3c
jne 0x18005efc1
add r13d, 0x89
cmp r13d, edx
jae 0x18005e8d9
jmp 0x18005e883
movsd xmm2, qword [0x1800a17b8]
movd xmm1, ecx
jmp 0x18005ef9b
movsd xmm2, qword [0x1800a17d0]
movd xmm1, ecx
jmp 0x18005ef9b
inc r15
cmp byte [r12 + r15], dil
jne 0x18005ef21
add r15, 0x10
xorps xmm2, xmm2
js 0x18005ef3a
cvtsi2sd xmm2, r15
jmp 0x18005ef50
mov rax, r15
and r15d, 1
shr rax, 1
or rax, r15
cvtsi2sd xmm2, rax
addsd xmm2, xmm2
xorps xmm1, xmm1
test rcx, rcx
js 0x18005ef5f
cvtsi2sd xmm1, rcx
jmp 0x18005ef9f
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
jmp 0x18005ef9f
inc r15
cmp byte [r12 + r15], dil
jne 0x18005ef76
mov r8, r15
lea rcx, [rbx + 0x10]
mov rdx, r12
call fcn.18006e0e0
movd xmm1, eax
jmp 0x18005ef98
movd xmm1, ecx
xorps xmm2, xmm2
cvtdq2pd xmm1, xmm1
movq r8, xmm2
lea rcx, str._f____f_n
movq rdx, xmm1
call fcn.180064fc0
lea rax, str.false
jmp 0x18005e8de
movsd xmm2, qword [0x1800a1838]
movd xmm1, eax
jmp 0x18005ef9b