Function at 0x18000be40
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov eax, ecx
imul rbp, rax, 0x38
mov r15d, 0x148
add rbp, qword [0x1800148c0]
movzx eax, byte [rbp + 0x20]
mov rdx, qword [rbp]
and al, 1
movzx ecx, al
mov rax, qword gs:[0x58]
lea r12, [rdx - 5]
lea r13, [rcx*2 + 5]
cmove r12, rdx
mov ecx, dword [0x180014820]
xor esi, esi
mov r14, qword [rax + rcx*8]
mov ecx, 0x2ac
mov eax, dword [rcx + r14]
test al, 1
jne 0x18000bf12
movups xmm0, xmmword [0x180012228]
or eax, 1
mov qword [r14 + r15], rsi
lea r8, [r14 + r15]
mov dword [rcx + r14], eax
mov eax, dword [0x180012238]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], eax
mov edx, esi
xor eax, eax
mov dword [r8 + 8], esi
mov byte [r8 + 0xc], sil
mov dword [r8 + 0x10], eax
lea rax, [rsp + 0x30]
sub r8, rax
movaps xmmword [rsp + 0x20], xmm0
nop
mov eax, dword [rcx]
inc edx
mov dword [rcx + r8 + 0x10], eax
lea rcx, [rcx + 4]
cmp edx, 1
jb 0x18000bf00
cmp byte [r15 + r14 + 0xc], sil
jne 0x18000bf86
lea rcx, [r15 + 0x10]
mov r8d, esi
add rcx, r14
nop dword [rax]
nop word [rax + rax]
mov eax, dword [r15 + r14 + 4]
mov edx, dword [r15 + r14]
lea r9d, [rax + 1]
cmp edx, r9d
je 0x18000bf6a
lea r9d, [rax + 2]
cmp edx, r9d
je 0x18000bf6a
cmp edx, eax
je 0x18000bf73
lea r9d, [rax + 4]
cmp edx, r9d
jne 0x18000bf63
add eax, 3
xor dword [rcx], eax
inc dword [r15 + r14]
jmp 0x18000bf30
add eax, 5
cmp edx, eax
jne 0x18000bf79
xor dword [rcx], r9d
inc dword [r15 + r14]
jmp 0x18000bf30
lea eax, [r8 + 0x33]
xor dword [rcx], eax
inc r8d
add rcx, 4
cmp r8d, 1
jb 0x18000bf30
mov eax, dword [r15 + r14 + 0x10]
mov byte [r15 + r14 + 0xc], 1
mov rcx, qword gs:[rax]
mov rax, qword [rcx + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x18000c017
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x18000c017
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xd3ff07a0
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x18000c012
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x10dbd33
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x18000bff0
cmp r8d, 0xb408a4c2
je 0x18000c01c
test r9d, r9d
jne 0x18000bfd0
mov rax, qword [rax]
jmp 0x18000bfa0
mov ecx, dword [rbx + 0x24]
mov r8d, 0x40
add rcx, r10
movzx edx, word [rcx + r9*2]
lea r9, [rsp + 0x40]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rdx, r13
add rax, r10
mov rcx, r12
call rax
test eax, eax
jne 0x18000c054
mov eax, 0xa
jmp 0x18000c3ab
mov byte [r12], 0xe9
mov eax, dword [rbp + 8]
sub eax, r12d
sub eax, 5
mov dword [r12 + 1], eax
test byte [rbp + 0x20], 1
je 0x18000c076
mov rax, qword [rbp]
mov word [rax], 0xf9eb
mov ecx, 0x2ac
mov eax, dword [rcx + r14]
test al, 1
jne 0x18000c0e2
movups xmm0, xmmword [0x180012228]
or eax, 1
mov qword [r15 + r14], rsi
mov dword [rcx + r14], eax
lea r8, [r15 + r14]
mov eax, dword [0x180012238]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], eax
mov edx, esi
xor eax, eax
mov dword [r8 + 8], esi
mov byte [r8 + 0xc], sil
mov dword [r15 + r14 + 0x10], eax
lea rax, [rsp + 0x30]
sub r8, rax
movaps xmmword [rsp + 0x20], xmm0
nop word [rax + rax]
mov eax, dword [rcx]
inc edx
mov dword [r8 + rcx + 0x10], eax
lea rcx, [rcx + 4]
cmp edx, 1
jb 0x18000c0d0
cmp byte [r15 + r14 + 0xc], sil
jne 0x18000c156
lea rcx, [r15 + 0x10]
mov r8d, esi
add rcx, r14
nop dword [rax]
nop word [rax + rax]
mov eax, dword [r15 + r14 + 4]
mov edx, dword [r15 + r14]
lea r9d, [rax + 1]
cmp edx, r9d
je 0x18000c13a
lea r9d, [rax + 2]
cmp edx, r9d
je 0x18000c13a
cmp edx, eax
je 0x18000c143
lea r9d, [rax + 4]
cmp edx, r9d
jne 0x18000c133
add eax, 3
xor dword [rcx], eax
inc dword [r15 + r14]
jmp 0x18000c100
add eax, 5
cmp edx, eax
jne 0x18000c149
xor dword [rcx], r9d
inc dword [r15 + r14]
jmp 0x18000c100
lea eax, [r8 + 0x33]
xor dword [rcx], eax
inc r8d
add rcx, 4
cmp r8d, 1
jb 0x18000c100
mov eax, dword [r15 + r14 + 0x10]
mov byte [r15 + r14 + 0xc], 1
mov rcx, qword gs:[rax]
mov rax, qword [rcx + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x18000c1e7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x18000c1e7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x4ad968c4
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x18000c1e2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x10dbd33
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x18000c1c0
cmp r8d, 0xe4f11f6
je 0x18000c1ec
test r9d, r9d
jne 0x18000c1a0
mov rax, qword [rax]
jmp 0x18000c170
mov ecx, dword [rbx + 0x24]
mov r8d, dword [rsp + 0x40]
add rcx, r10
movzx edx, word [rcx + r9*2]
lea r9, [rsp + 0x40]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rdx, r13
add rax, r10
mov rcx, r12
call rax
mov ecx, 0x2ac
mov eax, dword [rcx + r14]
test al, 1
jne 0x18000c282
movups xmm0, xmmword [0x180012228]
or eax, 1
mov qword [r15 + r14], rsi
mov dword [rcx + r14], eax
lea r8, [r15 + r14]
mov eax, dword [0x180012238]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], eax
mov edx, esi
xor eax, eax
mov dword [r8 + 8], esi
mov byte [r8 + 0xc], sil
mov dword [r15 + r14 + 0x10], eax
lea rax, [rsp + 0x30]
sub r8, rax
movaps xmmword [rsp + 0x20], xmm0
nop word [rax + rax]
mov eax, dword [rcx]
inc edx
mov dword [r8 + rcx + 0x10], eax
lea rcx, [rcx + 4]
cmp edx, 1
jb 0x18000c270
cmp byte [r15 + r14 + 0xc], sil
jne 0x18000c2e3
lea rcx, [r15 + 0x10]
add rcx, r14
mov eax, dword [r15 + r14 + 4]
mov edx, dword [r15 + r14]
lea r8d, [rax + 1]
cmp edx, r8d
je 0x18000c2ca
lea r8d, [rax + 2]
cmp edx, r8d
je 0x18000c2ca
cmp edx, eax
je 0x18000c2d3
lea r8d, [rax + 4]
cmp edx, r8d
jne 0x18000c2c3
add eax, 3
xor dword [rcx], eax
inc dword [r15 + r14]
jmp 0x18000c290
add eax, 5
cmp edx, eax
jne 0x18000c2d8
xor dword [rcx], r8d
inc dword [r15 + r14]
jmp 0x18000c290
lea eax, [rsi + 0x33]
xor dword [rcx], eax
inc esi
add rcx, 4
cmp esi, 1
jb 0x18000c290
mov eax, dword [r15 + r14 + 0x10]
mov byte [r15 + r14 + 0xc], 1
mov rcx, qword gs:[rax]
mov rax, qword [rcx + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x18000c377
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x18000c377
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xb33b8fc7
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x18000c372
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x10dbd33
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x18000c350
cmp r8d, 0x1c3c5f43
je 0x18000c37c
test r9d, r9d
jne 0x18000c330
mov rax, qword [rax]
jmp 0x18000c300
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx r9d, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + r9*4]
add rax, r10
call rax
mov r8, r13
mov rdx, r12
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetApplicationRecoveryCallbackWorker]
or byte [rbp + 0x20], 6
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180010210
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret