Function at 0x18004eb00
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x70
mov rax, qword gs:[0x58]
mov rdi, rcx
mov edx, dword [0x18039b468]
xor ebx, ebx
mov ecx, 4
mov rdx, qword [rax + rdx*8]
mov eax, dword [rcx + rdx]
cmp dword [0x1803a15d0], eax
jle 0x18004eba6
lea rcx, [0x1803a15d0]
call fcn.180360f8c
cmp dword [0x1803a15d0], 0xffffffff
jne 0x18004eba6
xorps xmm0, xmm0
xor r8d, r8d
xor edx, edx
movdqa xmmword [0x1803a14e0], xmm0
call fcn.180354610
lea rcx, [0x1803a14f0]
mov qword [0x1803a14e0], rax
call fcn.180001990
lea rcx, [0x18037d290]
mov qword [0x1803a1508], rbx
mov qword [0x1803a1510], 0xf
mov byte [0x1803a14f8], bl
mov byte [0x1803a1518], bl
call fcn.1803614c4
lea rcx, [0x1803a15d0]
call fcn.180360f2c
mov dword [rbp + 0x28], 0xfce2eeda
mov word [rbp + 0x2c], 0xe4
mov qword [rbp + 0x30], rbx
mov rax, qword [rbp + 0x30]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x30]
mov rax, qword [rbp + 0x30]
sub cl, 0x73
xor cl, byte [rbp + rax + 0x29]
mov rax, qword [rbp + 0x30]
mov byte [rbp + rax + 0x29], cl
mov rax, qword [rbp + 0x30]
inc rax
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
cmp rax, 4
jb 0x18004ebc0
lea r8, [rbp + 0x29]
mov byte [rbp + 0x2d], bl
lea rdx, [rbp - 0x20]
lea rcx, [0x1803a14e0]
call fcn.180004da0
mov r8, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
cmp r8, rcx
je 0x18004ed3d
xorps xmm0, xmm0
mov qword [rbp - 0x40], rbx
mov rdx, rcx
lea rcx, [rbp - 0x50]
movdqu xmmword [rbp - 0x50], xmm0
call fcn.1803579f0
mov rcx, qword [rbp - 0x50]
lea r8, [rdi + 0x3b18]
mov eax, dword [rbp - 0x48]
sub eax, ecx
mov dword [rbp - 0x38], ebx
mov qword [rbp - 0x30], rcx
mov dword [rbp - 0x28], eax
cmp eax, 4
jae 0x18004ec50
mov dword [r8], ebx
jmp 0x18004ec77
mov eax, dword [rcx]
mov dword [r8], eax
mov qword [rbp + 0x38], 4
mov qword [rbp + 0x30], rbx
mov rcx, qword [rbp + 0x30]
mov rax, qword [rbp + 0x38]
add rcx, rax
mov qword [rbp + 0x30], rcx
mov rax, qword [rbp + 0x30]
mov dword [rbp - 0x38], eax
mov qword [rbp + 0x38], 0x16c
mov qword [rbp + 0x30], 0x94
mov rcx, qword [rbp + 0x30]
mov rax, qword [rbp + 0x38]
add rcx, rax
mov qword [rbp + 0x30], rcx
mov r9, qword [rbp + 0x30]
mov ecx, dword [rbp - 0x38]
mov rbx, qword [rbp - 0x50]
add r9d, ecx
cmp r9d, dword [rbp - 0x28]
ja 0x18004ecf8
mov edx, ecx
mov dword [rbp - 0x38], r9d
add rdx, rbx
je 0x18004ecf8
mov qword [rbp + 0x38], 0x4c
mov qword [rbp + 0x30], 0x1b4
mov rcx, qword [rbp + 0x30]
mov rax, qword [rbp + 0x38]
add rcx, rax
mov qword [rbp + 0x30], rcx
sub rdi, rdx
mov rcx, qword [rbp + 0x30]
nop dword [rax + rax]
movzx eax, byte [rdx]
mov byte [rdx + rdi + 0x3d9c], al
lea rdx, [rdx + 1]
sub rcx, 1
jne 0x18004ece0
mov rbx, qword [rbp - 0x50]
lea rdx, [rbp - 0x38]
mov rcx, r8
call fcn.1800329b0
test rbx, rbx
je 0x18004ed39
mov rdx, qword [rbp - 0x40]
mov rax, rbx
sub rdx, rbx
cmp rdx, 0x1000
jb 0x18004ed31
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004ed77
mov rcx, rbx
call fcn.180360d9c
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x18004ed6f
mov rdx, qword [rbp - 0x10]
mov rax, rcx
sub rdx, rcx
cmp rdx, 0x1000
jb 0x18004ed6a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004ed77
call fcn.180360d9c
add rsp, 0x70
pop rdi
pop rbx
pop rbp
ret
call fcn.1803687c0
int3