Function at 0x140002560
Capabilities:
Allocate or change rwx memory
Create thread
Enumerate pe sections
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
push rbp
push rsi
lea rbp, [rsp - 0x1f]
sub rsp, 0xe8
mov eax, 0x5a4d
mov rsi, rcx
cmp word [0x1400080a0], ax
je 0x1400025a1
lea rcx, str._Kuromi.Tech__Invalid_File_n
call fcn.140002500
xor al, al
add rsp, 0xe8
pop rsi
pop rbp
ret
mov qword [rsp + 0xd8], r12
mov eax, 0x8664
mov qword [rsp + 0xc8], r14
lea r12, [0x1400080a0]
movsxd r14, dword [0x1400080dc]
add r14, r12
cmp word [r14 + 4], ax
je 0x1400025e1
lea rcx, str._Kuromi.Tech__Invalid_Platform_n
call fcn.140002500
xor al, al
jmp 0x140002cbd
mov r8d, dword [r14 + 0x50]
xor edx, edx
mov r9d, 0x3000
mov qword [rsp + 0xc0], r15
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r15, rax
test rax, rax
jne 0x140002626
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._Kuromi.Tech__Target_Process_Memory_Allocation_Failed__ex__0x_X_n
call fcn.140002500
xor al, al
jmp 0x140002cb5
lea rax, [rbp + 0x57]
mov qword [rsp + 0xd0], r13
xor r13d, r13d
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x57], r13d
mov rdx, r15
mov r8d, dword [r14 + 0x50]
mov rcx, rsi
lea r9d, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r9d, 0x1000
mov qword [rsp + 0x40], rax
mov r8, r12
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, r15
mov qword [rsp + 0x48], rax
mov rcx, rsi
mov rax, qword [sym.imp.KERNEL32.dll_RtlAddFunctionTable]
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x69], r13
mov qword [rbp - 0x61], 1
mov qword [rbp - 0x51], 1
mov qword [rbp - 0x71], r15
mov qword [rbp - 0x59], r13
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1400026df
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._Kuromi.Tech__Cant_Write_Header_0x_X_n
call fcn.140002500
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140002cad
mov qword [rsp + 0x100], rbx
movzx ebx, word [r14 + 0x14]
add rbx, 0x2c
mov qword [rsp + 0xe0], rdi
mov edi, r13d
cmp word [r14 + 6], r13w
je 0x14000273c
add rbx, r14
mov eax, dword [rbx - 4]
test eax, eax
je 0x14000272d
mov r8d, dword [rbx]
mov r9d, eax
mov edx, dword [rbx - 8]
add r8, r12
add rdx, r15
mov qword [rsp + 0x20], r13
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14000278f
movzx eax, word [r14 + 6]
inc edi
add rbx, 0x28
cmp edi, eax
jne 0x140002705
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov rcx, rsi
lea r8d, [rdx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r12, rax
test rax, rax
jne 0x1400027bd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._Kuromi.Tech__Target_Process_Mapping_Allocation_Failed__ex__0x_X_n
call fcn.140002500
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x140002c9b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._Kuromi.Tech__Cant_Map_Sections:_0x_x_n
call fcn.140002500
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x140002c9b
mov r9d, 0x40
mov qword [rsp + 0x20], r13
lea r8, [rsp + 0x40]
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140002820
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._Kuromi.Tech__Cant_Write_Mapping_0x_X_n
call fcn.140002500
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x140002c9b
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x1000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x47], rax
mov rdi, rax
test rax, rax
jne 0x14000288e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._Kuromi.Tech__Shellcode_Allocation_Failed__ex__0x_X_n
call fcn.140002500
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x140002c9b
mov r9d, 0x1000
mov qword [rsp + 0x20], r13
lea r8, [0x140002ce0]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140002908
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._Kuromi.Tech__Cant_Write_Shellcode_0x_X_n
call fcn.140002500
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x140002c9b
lea rcx, str._Kuromi.Tech__Map_Data_Allocated_n
call fcn.140002500
mov qword [rsp + 0x30], r13
mov r9, rdi
mov dword [rsp + 0x28], r13d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
jne 0x140002991
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._Kuromi.Tech__Thread_Creation_Failed_0x_X_n
call fcn.140002500
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x140002c9b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, rdi
lea rcx, str._Kuromi.Tech__Thread_Created_at:_0x_02X__Waiting_For_Processing..._n
call fcn.140002500
nop dword [rax]
lea rdx, [rbp + 0x4f]
mov dword [rbp + 0x4f], r13d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [rbp + 0x4f]
cmp edx, 0x103
jne 0x140002c8f
xorps xmm0, xmm0
mov qword [rsp + 0x20], r13
mov r9d, 0x40
lea r8, [rbp - 0x49]
mov rdx, r12
mov rcx, rsi
movups xmmword [rbp - 0x49], xmm0
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x29]
cmp rbx, 0x404040
je 0x140002c7e
cmp rbx, 0x505050
jne 0x140002a24
lea rcx, str._Kuromi.Tech__WARNING:_Exception_Support_Failed__n
call fcn.140002500
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
test rbx, rbx
je 0x1400029b0
mov ecx, 0x1400000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r13, rax
test rax, rax
jne 0x140002a5c
lea rcx, str._Kuromi.Tech__Unable_to_Allocate_Memory_n
call fcn.140002500
jmp 0x140002c9b
xor edx, edx
mov r8d, 0x1400000
mov rcx, r13
call sub.VCRUNTIME140.dll_memset
mov r9d, 0x1000
mov qword [rsp + 0x20], 0
mov r8, r13
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140002a9a
lea rcx, str._Kuromi.Tech__WARNING_:_Cant_Clear_Header_n
call fcn.140002500
movzx ebx, word [r14 + 0x14]
xor edi, edi
movzx eax, word [r14 + 6]
add rbx, 0x18
add rbx, r14
test ax, ax
je 0x140002b5f
lea r8, str..rsrc
lea r9, str..reloc
mov edx, dword [rbx + 8]
test edx, edx
je 0x140002b4c
xor ecx, ecx
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x140002ae7
cmp rcx, 6
jne 0x140002ad1
jmp 0x140002b04
xor ecx, ecx
nop dword [rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [r9 + rcx - 1]
jne 0x140002b4c
cmp rcx, 7
jne 0x140002af0
mov r9, rdx
mov qword [rsp + 0x20], 0
mov edx, dword [rbx + 0xc]
mov r8, r13
add rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140002b3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rbx
lea rcx, str._Kuromi.Tech__Cant_Clear_Section__s:_0x_x_n
mov r8d, eax
call fcn.140002500
lea r9, str..reloc
lea r8, str..rsrc
movzx eax, word [r14 + 6]
inc edi
add rbx, 0x28
cmp edi, eax
jne 0x140002ac4
movzx ebx, word [r14 + 0x14]
xor edi, edi
add rbx, 0x3c
test ax, ax
je 0x140002bd2
add rbx, r14
lea edx, [rdi + 0x20]
mov ecx, dword [rbx - 0x1c]
test ecx, ecx
je 0x140002bc3
mov eax, dword [rbx]
mov dword [rbp + 0x4f], 0
test eax, 0x80000000
jbe 0x140002b94
mov r9d, 4
jmp 0x140002ba3
test eax, 0x20000000
mov r9d, 2
cmova r9d, edx
mov edx, dword [rbx - 0x18]
lea rax, [rbp + 0x4f]
mov r8, rcx
mov qword [rsp + 0x20], rax
add rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov edx, 0x20
movzx eax, word [r14 + 6]
inc edi
add rbx, 0x28
cmp edi, eax
jne 0x140002b75
movzx eax, word [r14 + 0x14]
mov r9d, 2
mov dword [rbp + 0x5f], 0
mov rdx, r15
mov rcx, rsi
mov r8d, dword [rax + r14 + 0x24]
lea rax, [rbp + 0x5f]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rbx, qword [rbp + 0x47]
mov r9d, 0x1000
mov rdx, rbx
mov qword [rsp + 0x20], 0
mov r8, r13
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140002c30
lea rcx, str._Kuromi.Tech__WARNING:_Cant_Clear_Shellcode_n
call fcn.140002500
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test eax, eax
jne 0x140002c55
lea rcx, str._Kuromi.Tech__WARNING:_Cant_Release_Shell_Code_Memory_n
call fcn.140002500
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test eax, eax
jne 0x140002c7a
lea rcx, str._Kuromi.Tech__WARNING:_Cant_Release_Mapping_Data_Memory_n
call fcn.140002500
mov al, 1
jmp 0x140002c9d
lea rcx, str._Kuromi.Tech__Wrong_Mapping_Addr_n
call fcn.140002500
jmp 0x1400028c4
lea rcx, str._Kuromi.Tech__Process_Crashed__Exit_Code:__d_n
call fcn.140002500
xor al, al
mov rbx, qword [rsp + 0x100]
mov rdi, qword [rsp + 0xe0]
mov r13, qword [rsp + 0xd0]
mov r15, qword [rsp + 0xc0]
mov r12, qword [rsp + 0xd8]
mov r14, qword [rsp + 0xc8]
add rsp, 0xe8
pop rsi
pop rbp
ret