Function at 0x7ffbf1cd3a98
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x110
mov rax, qword [0x7ffbf1d68270]
xor rax, rsp
mov qword [rsp + 0x100], rax
and dword [rsp + 0x38], 0xfffffff8
xor r13d, r13d
mov r12, rcx
mov qword [rcx], r13
cmp byte [0x7ffbf1cb1f10], 0x63
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x3c], r13d
mov qword [rsp + 0x48], r13
mov dword [rsp + 0x44], r13d
mov dword [rsp + 0x40], r13d
mov ebx, r13d
lea esi, [r13 + 1]
jne 0x7ffbf1cd3b29
cmp byte [0x7ffbf1cb1f11], 0x7c
jne 0x7ffbf1cd3b29
cmp byte [0x7ffbf1cb1f12], 0x77
jne 0x7ffbf1cd3b29
cmp byte [0x7ffbf1cb1f13], 0x7b
jne 0x7ffbf1cd3b29
cmp byte [0x7ffbf1cb1f14], 0xf2
jne 0x7ffbf1cd3b29
cmp byte [0x7ffbf1cb1f15], 0x6b
je 0x7ffbf1cd3b49
call fcn.7ffbf1d2cb40
cmp eax, r13d
mov ebx, eax
jl 0x7ffbf1cd3cc9
call fcn.7ffbf1d2cbbc
cmp eax, r13d
mov ebx, eax
jl 0x7ffbf1cd3cc9
cmp dword [0x7ffbf1d68eb0], r13d
jne 0x7ffbf1cd3cc9
lea rbp, [0x7ffbf1d68da0]
mov r8d, 0x63
xor ecx, ecx
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [0x7ffbf1d68eb0], eax
cmp eax, r13d
jbe 0x7ffbf1cd3c70
mov eax, eax
mov edx, 0x5c
mov rcx, rbp
mov byte [rax + rbp], r13b
call qword [sym.imp.msvcrt.dll_strrchr]
mov edx, dword [0x7ffbf1d68eb0]
mov rcx, rbp
sub ecx, eax
add edx, ecx
mov rcx, rbp
mov dword [0x7ffbf1d68eb0], edx
mov r8d, edx
lea rdx, [rax + 1]
call sub.msvcrt.dll_memmove
mov r11d, dword [0x7ffbf1d68eb0]
xor eax, eax
mov ecx, 0x64
lea rdi, [r11 + rbp]
mov byte [rsp + 0xf0], 0x86
sub rcx, r11
mov rdx, r11
mov byte [rsp + 0xf1], 0x52
mov byte [rsp + 0xf2], 0x1f
mov byte [rsp + 0xf3], pe_nt_image_headers64
mov byte [rsp + 0xf4], 0x98
mov byte [rsp + 0xf5], 0xd2
mov byte [rsp + 0xf6], 0x43
mov byte [rsp + 0xf7], 0x8b
mov byte [rsp + 0xf8], 0x79
mov byte [rsp + 0xf9], 0x66
mov byte [rsp + 0xfa], 0xce
mov byte [rsp + 0xfb], 0x12
mov byte [rsp + 0xfc], 0xc5
mov byte [rsp + 0xfd], 0xd9
mov byte [rsp + 0xfe], 0x20
mov byte [rsp + 0xff], 0x14
rep stosb byte [rdi], al
cmp r11d, r13d
jbe 0x7ffbf1cd3c70
mov rcx, r13
mov rax, rcx
add rcx, rsi
and eax, 0xf
mov al, byte [rsp + rax + 0xf0]
xor byte [rbp], al
add rbp, rsi
sub rdx, rsi
jne 0x7ffbf1cd3c55
mov edi, 4
lea rcx, [0x7ffbf1d67584]
mov edx, edi
call fcn.7ffbf1d1edc0
lea rcx, [0x7ffbf1d675b8]
mov edx, edi
call fcn.7ffbf1d1edc0
lea rcx, [0x7ffbf1d675bc]
mov edx, edi
call fcn.7ffbf1d1edc0
lea rcx, [0x7ffbf1d675c4]
mov edx, edi
call fcn.7ffbf1d1edc0
lea rcx, [0x7ffbf1d675c8]
mov edx, edi
call fcn.7ffbf1d1edc0
lea rcx, [0x7ffbf1d675d0]
mov edx, edi
call fcn.7ffbf1d1edc0
cmp ebx, r13d
jl 0x7ffbf1cd3de5
cmp dword [0x7ffbf1d64c10], 0xffffffff
mov edi, 0x94
jne 0x7ffbf1cd3d07
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], edi
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp eax, r13d
je 0x7ffbf1cd3d01
mov dword [0x7ffbf1d64c10], r13d
cmp dword [rsp + 0x60], esi
je 0x7ffbf1cd3d07
mov dword [0x7ffbf1d64c10], esi
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
cmp eax, r13d
je 0x7ffbf1cd3d1c
mov ebx, 0xc00d2767
jmp 0x7ffbf1cd3de5
call fcn.7ffbf1d2bc54
mov edx, dword [0x7ffbf1d64c10]
cmp edx, 0xffffffff
je 0x7ffbf1cd3d34
cmp edx, esi
sete sil
jmp 0x7ffbf1cd3d5d
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], edi
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp eax, r13d
je 0x7ffbf1cd3d57
cmp dword [rsp + 0x60], esi
jne 0x7ffbf1cd3d57
mov dword [0x7ffbf1d64c10], r13d
jmp 0x7ffbf1cd3d96
mov dword [0x7ffbf1d64c10], esi
cmp sil, r13b
je 0x7ffbf1cd3d96
mov rcx, qword [rsp + 0x128]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], r13d
call fcn.7ffbf1d0151c
cmp eax, r13d
mov ebx, eax
jl 0x7ffbf1cd3de5
mov ebx, dword [rsp + 0x30]
cmp ebx, r13d
jl 0x7ffbf1cd3de5
lea rcx, [rsp + 0x38]
xor edx, edx
call fcn.7ffbf1d00da0
cmp eax, r13d
mov ebx, eax
jl 0x7ffbf1cd3de5
lea rdx, [0x7ffbf1ca65b0]
lea rcx, [rsp + 0x38]
call fcn.7ffbf1cd0e14
cmp eax, r13d
mov ebx, eax
jl 0x7ffbf1cd3de5
cmp dword [rsp + 0x3c], r13d
jl 0x7ffbf1cd3dd4
mov rdx, qword [rsp + 0x48]
cmp dword [rsp + 0x40], r13d
jne 0x7ffbf1cd3ddb
lea rdx, [0x7ffbf1cafb98]
mov rcx, r12
call sym.BlackBox_notestroot.DLL_IBlackBox_CreateInstance2
mov ebx, eax
cmp qword [rsp + 0x48], r13
je 0x7ffbf1cd3df6
lea rcx, [rsp + 0x38]
call fcn.7ffbf1cfd524
mov eax, ebx
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.7ffbf1d2cc34
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret