Function at 0x140001100
Capabilities:
Create thread
Encrypt data using rc4 via systemfunction032
Link many functions at runtime

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x2b38]
mov eax, 0x2c38
call fcn.1400029f0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2b10], rax
mov ebx, r8d
mov qword [rsp + 0x50], rdx
mov rdi, rdx
mov dword [rsp + 0x30], ebx
xor edx, edx
lea rcx, [rbp + 0x1c80]
mov r8d, 0x4d0
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
mov dword [rbp + 0x1cb0], 0x10001f
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x60], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
movups xmm0, xmmword [str.ENCRYPT_KEY_123]
mov qword [rsp + 0x48], rax
lea rcx, str.ntdll.dll
lea rax, [rbp + 0x2b00]
mov dword [rbp - 0x7c], 0x10
movups xmmword [rbp + 0x2b00], xmm0
mov qword [rbp - 0x78], rax
mov dword [rbp - 0x80], 0x10
mov qword [rsp + 0x78], rdi
mov dword [rsp + 0x74], ebx
mov dword [rsp + 0x70], ebx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rcx, str.Kernel32.dll
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rsi, rax
test rdi, rdi
je 0x140001bb3
test rax, rax
je 0x140001bb3
lea rcx, str.cryptsp.dll
mov qword [rsp + 0x2c20], r15
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r15, rax
test rax, rax
jne 0x14000121e
lea rcx, str.cryptsp.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r15, rax
test rax, rax
je 0x140001bab
movsxd rax, dword [rdi + 0x3c]
mov qword [rsp + 0x2c60], r12
mov qword [rsp + 0x2c28], r14
mov dword [rbp + 0x2af0], 0x28ec8348
mov edx, dword [rax + rdi + 0x50]
mov dword [rbp + 0x2af4], 0x660441f7
mov dword [rbp + 0x2af8], 0x74000000
mov byte [rbp + 0x2afc], 5
sub edx, 0xc
je 0x14000128e
mov r8d, dword [rbp + 0x2af8]
mov rcx, rdi
mov r9, qword [rbp + 0x2af0]
cmp qword [rcx], r9
jne 0x140001280
cmp dword [rcx + 8], r8d
je 0x140001bce
inc rcx
mov rax, rcx
sub rax, rdi
cmp rax, rdx
jb 0x140001271
xor r14d, r14d
movsxd rax, dword [rsi + 0x3c]
mov word [rbp + 0x1c70], 0xe7ff
mov edx, dword [rax + rsi + 0x50]
sub edx, 2
je 0x1400012c4
movzx eax, word [rbp + 0x1c70]
mov rbx, rsi
cmp word [rbx], ax
je 0x1400012c6
inc rbx
mov rcx, rbx
sub rcx, rsi
cmp rcx, rdx
jb 0x1400012b1
xor ebx, ebx
lea rdx, str.LdrInitializeThunk
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r12, [rax + 0x13]
test r14, r14
je 0x140001b9b
test rbx, rbx
je 0x140001b9b
test r12, r12
je 0x140001b9b
lea rdx, str.NtTestAlert
mov qword [rsp + 0x2c30], r13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.RtlExitUserThread
mov rcx, rdi
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.SystemFunction032
mov rcx, r15
mov r13, rax
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.TpReleaseCleanupGroupMembers
mov rcx, rdi
mov r15, rax
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtAlertResumeThread
mov rcx, rdi
lea rsi, [rax + 0x450]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtSignalAndWaitForSingleObject
mov rcx, rdi
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [rsp + 0x38], 0
mov qword [rbp + 0x2af0], rax
je 0x140001b93
test r13, r13
je 0x140001b93
test r15, r15
je 0x140001b93
test rsi, rsi
je 0x140001b93
cmp qword [rsp + 0x40], 0
je 0x140001b93
test rax, rax
je 0x140001b93
xor r8d, r8d
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov r15, rax
test rax, rax
je 0x140001b93
mov edx, 8
mov r8d, 0x5000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, 8
mov r8d, 0x5000
mov rcx, r15
lea rdi, [rax + 0x1000]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r13, rax
add r13, 0x1000
je 0x140001b93
test rdi, rdi
je 0x140001b93
mov qword [rdi], r14
lea rax, [rbp + 0x1c74]
mov qword [r13], r14
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r14d, r14d
mov r8, rsi
mov dword [rbp + 0x1c74], r14d
mov edx, 0xffff
mov dword [rsp + 0x20], 4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rsi, rax
test rax, rax
je 0x140001b93
lea rdx, [rbp + 0x1c80]
mov dword [rbp + 0x1c70], r14d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x140001b93
mov r8d, 9
lea rdx, [rbp - 0x70]
mov eax, r8d
lea rcx, [rbp + 0x1c80]
nop dword [rax]
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rdx - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rdx - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rdx - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rdx - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rdx - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rdx - 0x20], xmm0
movups xmmword [rdx - 0x10], xmm1
sub rax, 1
jne 0x1400014a0
movups xmm0, xmmword [rcx]
lea rax, [rbp + 0x2150]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x40]
lea rcx, [rbp + 0x1c80]
movups xmmword [rdx + 0x30], xmm1
movups xmmword [rdx + 0x40], xmm0
mov rdx, r8
nop word [rax + rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x140001530
movups xmm0, xmmword [rcx]
mov rdx, r8
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax], xmm0
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x10], xmm1
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x40]
lea rcx, [rbp + 0x1c80]
movups xmmword [rax + 0x30], xmm1
movups xmmword [rax + 0x40], xmm0
lea rax, [rbp + 0x460]
nop word [rax + rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x1400015c0
movups xmm0, xmmword [rcx]
mov rdx, r8
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax], xmm0
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x10], xmm1
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x40]
lea rcx, [rbp + 0x1c80]
movups xmmword [rax + 0x30], xmm1
movups xmmword [rax + 0x40], xmm0
lea rax, [rbp + 0x930]
nop word [rax + rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x140001650
movups xmm0, xmmword [rcx]
mov rdx, r8
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax], xmm0
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x10], xmm1
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x40]
lea rcx, [rbp + 0x1c80]
movups xmmword [rax + 0x30], xmm1
movups xmmword [rax + 0x40], xmm0
lea rax, [rbp + 0xe00]
nop word [rax + rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x1400016e0
movups xmm0, xmmword [rcx]
mov rdx, r8
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax], xmm0
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x10], xmm1
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x40]
lea rcx, [rbp + 0x1c80]
movups xmmword [rax + 0x30], xmm1
movups xmmword [rax + 0x40], xmm0
lea rax, [rbp + 0x2620]
nop word [rax + rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x140001770
movups xmm0, xmmword [rcx]
mov rdx, r8
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax], xmm0
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x10], xmm1
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x40]
lea rcx, [rbp + 0x1c80]
movups xmmword [rax + 0x30], xmm1
movups xmmword [rax + 0x40], xmm0
lea rax, [rbp + 0x12d0]
nop word [rax + rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x140001800
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax], xmm0
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x10], xmm1
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x40]
lea rcx, [rbp + 0x1c80]
movups xmmword [rax + 0x30], xmm1
movups xmmword [rax + 0x40], xmm0
lea rax, [rbp + 0x17a0]
nop word [rax + rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub r8, 1
jne 0x140001890
movups xmm0, xmmword [rcx]
mov r8, qword [rsp + 0x38]
movups xmm1, xmmword [rcx + 0x10]
mov rdx, qword [rsp + 0x58]
movups xmmword [rax], xmm0
mov r9, qword [rsp + 0x50]
movups xmm0, xmmword [rcx + 0x20]
mov r14, qword [rsp + 0x48]
movups xmmword [rax + 0x10], xmm1
mov qword [rbp + 0x88], rbx
movups xmm1, xmmword [rcx + 0x30]
mov qword [rbp + 0x10], r14
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x40]
mov ecx, dword [rsp + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmmword [rax + 0x40], xmm0
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov qword [rbp + 0x40], rax
mov eax, 0xffffffff
mov qword [rbp + 0x18], rax
mov rax, qword [rbp + 0x28]
mov qword [rax], r8
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov qword [rbp + 0x2200], rax
lea rax, [rbp + 0x1c70]
mov qword [rbp + 0x2210], rax
lea rax, [rsp + 0x70]
mov qword [rbp + 0x4e0], rax
lea rax, [rbp - 0x80]
mov qword [rbp + 0x4e8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x2248], rbx
mov qword [rbp + 0x21d8], rcx
mov qword [rbp + 0x21e8], rdi
mov rdi, qword [rsp + 0x60]
mov qword [rbp + 0x558], rbx
mov qword [rbp + 0x510], rdx
mov qword [rbp + 0x21d0], r9
mov qword [rbp + 0x2208], 4
mov qword [rax], r8
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov qword [rbp + 0x9e0], rax
mov rax, qword [rbp + 0x9c8]
mov qword [rbp + 0xa28], rbx
mov qword [rbp + 0x9b0], 0xffffffffffffffff
mov qword [rbp + 0x9b8], 0x1388
mov qword [rax], r8
lea rax, [rsp + 0x70]
mov qword [rbp + 0xe80], rax
lea rax, [rbp - 0x80]
mov qword [rbp + 0xe88], rax
mov rax, qword [rbp + 0xe98]
mov qword [rbp + 0xef8], rbx
mov qword [rbp + 0xeb0], rdx
mov rdx, rsi
mov qword [rax], r8
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov qword [rbp + 0x26d0], rax
lea rax, [rbp + 0x1c70]
mov qword [rbp + 0x26e0], rax
mov rax, qword [sym.imp.KERNEL32.dll_SetEvent]
mov qword [rbp + 0x1380], rax
mov rax, qword [rbp + 0x1368]
mov qword [rbp + 0x2718], rbx
mov qword [rbp + 0x26a8], rcx
mov rcx, r12
mov qword [rbp + 0x13c8], rbx
mov qword [rbp + 0x26a0], r9
mov qword [rbp + 0x26d8], 0x40
mov qword [rbp + 0x26b8], r13
mov qword [rbp + 0x1350], rdi
mov qword [rax], r8
mov rax, qword [rsp + 0x68]
mov qword [rbp + 0x1850], rax
mov rax, qword [rbp + 0x1838]
mov qword [rbp + 0x1898], rbx
xor ebx, ebx
mov qword [rbp + 0x1820], rbx
mov qword [rax], r8
lea r8, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
lea r8, [rbp + 0x2150]
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
lea r8, [rbp + 0x460]
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
lea r8, [rbp + 0x930]
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
lea r8, [rbp + 0x2620]
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
lea r8, [rbp + 0xe00]
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
lea r8, [rbp + 0x12d0]
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
lea r8, [rbp + 0x17a0]
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
lea rdx, [rbp + 0x1c78]
mov dword [rbp + 0x1c78], ebx
mov rcx, rsi
call qword [rsp + 0x40]
xor r9d, r9d
mov r8d, 1
mov rdx, rdi
mov rcx, r14
call qword [rbp + 0x2af0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_HeapDestroy]
mov r13, qword [rsp + 0x2c30]
mov r14, qword [rsp + 0x2c28]
mov r12, qword [rsp + 0x2c60]
mov r15, qword [rsp + 0x2c20]
mov rcx, qword [rbp + 0x2b10]
xor rcx, rsp
call fcn.140001bf0
add rsp, 0x2c38
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea r14, [rcx + 0xd]
jmp 0x140001291