Function at 0x1800ebf30
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rsi
mov esi, r8d
mov rbp, rdx
xor ebx, ebx
lea r8d, [rbx + 0x48]
lea rdx, [0x180153190]
mov qword [rsp + 0x58], rdi
mov rdi, rcx
call fcn.1800b0d70
lea rcx, [rdi + 0x48]
lea rdx, [0x1801531e0]
mov r8d, 0x400
call fcn.1800b0d70
lea rcx, [rdi + 0x448]
lea rdx, [0x1801535e0]
mov r8d, 0x400
call fcn.1800b0d70
lea rcx, [rdi + 0x848]
lea rdx, [0x1801539e0]
mov r8d, 0x400
call fcn.1800b0d70
lea rcx, [rdi + 0xc48]
lea rdx, [0x180153de0]
mov r8d, 0x400
call fcn.1800b0d70
xor r11d, r11d
nop
nop
nop
xor r8d, r8d
lea r9d, [r8 + 4]
nop
nop
nop
movsxd rax, ebx
shl r8d, 8
movzx ecx, byte [rax + rbp]
lea eax, [rbx + 1]
cdq
or ecx, r8d
mov r8d, ecx
idiv esi
dec r9
mov ebx, edx
jne 0x1800ebb70
xor dword [rdi + r11*4], ecx
inc r11
cmp r11, 0x12
jl 0x1800ebb60
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x24], r9d
xor ebx, ebx
nop
nop
nop
xor r8d, r8d
nop
nop
nop
nop
mov edx, dword [rsp + r8*4 + 0x20]
inc r8
rol edx, 0x10
mov ecx, edx
mov eax, edx
shl edx, 8
shr ecx, 8
shl eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, edx
cmp r8, 2
mov dword [rsp + r8*4 + 0x1c], ecx
jl 0x1800ebbc0
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1800eaff0
xor r11d, r11d
nop
mov edx, dword [rsp + r11*4 + 0x20]
inc r11
rol edx, 0x10
mov ecx, edx
mov eax, edx
shl edx, 8
shr ecx, 8
shl eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, edx
cmp r11, 2
mov dword [rsp + r11*4 + 0x1c], ecx
jl 0x1800ebc00
mov eax, dword [rsp + 0x20]
add rbx, 2
cmp rbx, 0x12
mov dword [rdi + rbx*4 - 8], eax
mov eax, dword [rsp + 0x24]
mov dword [rdi + rbx*4 - 4], eax
jl 0x1800ebbb0
mov ebp, pe_nt_image_headers64
lea rbx, [rdi + 0x4c]
mov rsi, rbp
nop
nop
nop
xor r8d, r8d
nop
nop
nop
nop
mov edx, dword [rsp + r8*4 + 0x20]
inc r8
rol edx, 0x10
mov ecx, edx
mov eax, edx
shl edx, 8
shr ecx, 8
shl eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, edx
cmp r8, 2
mov dword [rsp + r8*4 + 0x1c], ecx
jl 0x1800ebc70
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1800eaff0
xor r11d, r11d
nop
mov edx, dword [rsp + r11*4 + 0x20]
inc r11
rol edx, 0x10
mov ecx, edx
mov eax, edx
shl edx, 8
shr ecx, 8
shl eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, edx
cmp r11, 2
mov dword [rsp + r11*4 + 0x1c], ecx
jl 0x1800ebcb0
mov eax, dword [rsp + 0x20]
add rbx, 8
dec rsi
mov dword [rbx - 0xc], eax
mov eax, dword [rsp + 0x24]
mov dword [rbx - 8], eax
jne 0x1800ebc60
lea rbx, [rdi + 0x44c]
mov rsi, rbp
nop
nop
nop
nop
xor r8d, r8d
nop
nop
nop
nop
mov edx, dword [rsp + r8*4 + 0x20]
inc r8
rol edx, 0x10
mov ecx, edx
mov eax, edx
shl edx, 8
shr ecx, 8
shl eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, edx
cmp r8, 2
mov dword [rsp + r8*4 + 0x1c], ecx
jl 0x1800ebd20
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1800eaff0
xor r11d, r11d
nop
mov edx, dword [rsp + r11*4 + 0x20]
inc r11
rol edx, 0x10
mov ecx, edx
mov eax, edx
shl edx, 8
shr ecx, 8
shl eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, edx
cmp r11, 2
mov dword [rsp + r11*4 + 0x1c], ecx
jl 0x1800ebd60
mov eax, dword [rsp + 0x20]
add rbx, 8
dec rsi
mov dword [rbx - 0xc], eax
mov eax, dword [rsp + 0x24]
mov dword [rbx - 8], eax
jne 0x1800ebd10
lea rbx, [rdi + 0x84c]
mov rsi, rbp
nop
nop
nop
nop
xor r8d, r8d
nop
nop
nop
nop
mov edx, dword [rsp + r8*4 + 0x20]
inc r8
rol edx, 0x10
mov ecx, edx
mov eax, edx
shl edx, 8
shr ecx, 8
shl eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, edx
cmp r8, 2
mov dword [rsp + r8*4 + 0x1c], ecx
jl 0x1800ebdd0
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1800eaff0
xor r11d, r11d
nop
mov edx, dword [rsp + r11*4 + 0x20]
inc r11
rol edx, 0x10
mov ecx, edx
mov eax, edx
shl edx, 8
shr ecx, 8
shl eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, edx
cmp r11, 2
mov dword [rsp + r11*4 + 0x1c], ecx
jl 0x1800ebe10
mov eax, dword [rsp + 0x20]
add rbx, 8
dec rsi
mov dword [rbx - 0xc], eax
mov eax, dword [rsp + 0x24]
mov dword [rbx - 8], eax
jne 0x1800ebdc0
mov rsi, qword [rsp + 0x50]
lea rbx, [rdi + 0xc4c]
nop
nop
nop
xor r8d, r8d
nop
nop
nop
nop
mov edx, dword [rsp + r8*4 + 0x20]
inc r8
rol edx, 0x10
mov ecx, edx
mov eax, edx
shl edx, 8
shr ecx, 8
shl eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, edx
cmp r8, 2
mov dword [rsp + r8*4 + 0x1c], ecx
jl 0x1800ebe80
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1800eaff0
xor r11d, r11d
nop
mov edx, dword [rsp + r11*4 + 0x20]
inc r11
rol edx, 0x10
mov ecx, edx
mov eax, edx
shl edx, 8
shr ecx, 8
shl eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, edx
cmp r11, 2
mov dword [rsp + r11*4 + 0x1c], ecx
jl 0x1800ebec0
mov eax, dword [rsp + 0x20]
add rbx, 8
dec rbp
mov dword [rbx - 0xc], eax
mov eax, dword [rsp + 0x24]
mov dword [rbx - 8], eax
jne 0x1800ebe70
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
add rsp, 0x38
ret
sub rsp, 0x48
mov eax, dword [rsp + 0x70]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rsi
mov rbp, rcx
mov dword [rcx + 0x1058], eax
mov rsi, rdx
add rcx, 0x1048
mov rdx, r9
mov qword [rsp + 0x28], rdi
mov rbx, r9
mov edi, r8d
call fcn.1800f5eb0
lea rcx, [rbp + 0x1050]
mov rdx, rbx
call fcn.1800f5eb0
mov r8d, edi
mov rdx, rsi
mov rcx, rbp
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x48
jmp 0x1800ebac0