Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov rax, qword [0x140061008]
xor rax, rsp
mov qword [rsp + 0x30], rax
movsxd rbx, dword [0x140029dbc]
lea rdi, [0x140029d80]
mov rsi, rcx
mov qword [rsp + 0x20], rcx
add rbx, rdi
mov r9d, 4
mov r8d, 0x3000
xor ecx, ecx
mov r13d, dword [rbx + 0x50]
mov edx, r13d
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r14, rax
test rax, rax
jne 0x140001067
xor r12d, r12d
mov eax, r12d
jmp 0x140001359
cmp dword [rbx + 0x54], 0
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x80], r15
jbe 0x1400010a8
mov r8, rdi
mov rdx, r14
sub r8, r14
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rdx], al
inc rdx
mov eax, dword [rbx + 0x54]
mov rcx, rdx
sub rcx, r14
cmp rcx, rax
jb 0x140001090
movzx eax, word [rbx + 0x14]
xor r12d, r12d
mov r10d, r12d
cmp r12w, word [rbx + 6]
jae 0x140001103
lea rdx, [rbx + 0x28]
add rdx, rax
mov rcx, r12
cmp dword [rdx], ecx
jbe 0x1400010f3
mov r8d, dword [rdx + 4]
mov r9d, dword [rdx - 4]
add r8, rdi
add r9, r14
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
mov byte [r9 + rcx], al
inc rcx
mov eax, dword [rdx]
cmp rcx, rax
jb 0x1400010e0
movzx eax, word [rbx + 6]
add rdx, 0x28
inc r10
cmp r10, rax
jb 0x1400010c0
movsxd r15, dword [r14 + 0x3c]
add r15, r14
mov ebp, dword [r15 + 0x90]
add rbp, r14
cmp dword [rbp + 0xc], r12d
je 0x1400011ae
nop
mov ecx, dword [rbp + 0xc]
add rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140001166
mov edi, dword [rbp + 0x10]
mov ebx, dword [rbp]
add rdi, r14
add rbx, r14
cmp qword [rdi], r12
je 0x14000119b
test rbx, rbx
je 0x14000116e
mov rax, qword [rbx]
test rax, rax
jns 0x14000116e
movzx edx, ax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi], rax
test rax, rax
jne 0x140001184
mov eax, r12d
jmp 0x14000134c
mov rdx, qword [rdi]
mov rcx, rsi
add rdx, 2
add rdx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi], rax
add rdi, 8
lea rax, [rbx + 8]
test rbx, rbx
cmove rax, rbx
mov rbx, rax
cmp qword [rdi], r12
jne 0x140001145
add rbp, 0x14
cmp dword [rbp + 0xc], r12d
jne 0x140001120
mov rsi, qword [rsp + 0x20]
mov r9, r14
sub r9, qword [r15 + 0x30]
cmp dword [r15 + 0xb4], r12d
je 0x140001277
mov ebx, dword [r15 + 0xb0]
add rbx, r14
mov eax, dword [rbx + 4]
test eax, eax
je 0x140001277
nop word [rax + rax]
mov r8d, dword [rbx]
lea r10, [rbx + 8]
mov r11d, eax
add r8, r14
sub r11, 8
shr r11, 1
je 0x140001266
nop word [rax + rax]
movzx edx, word [r10]
movzx ecx, dx
movzx eax, dx
shr cx, 0xc
cmp cx, 0xa
jne 0x140001220
and edx, 0xfff
add qword [rdx + r8], r9
jmp 0x14000125c
cmp cx, 3
jne 0x140001231
and eax, 0xfff
add dword [rax + r8], r9d
jmp 0x14000125c
cmp cx, 1
jne 0x14000124c
and eax, 0xfff
lea rcx, [rax + r8]
mov rax, r9
shr rax, 0x10
add word [rcx], ax
jmp 0x14000125c
cmp cx, 2
jne 0x14000125c
and eax, 0xfff
add word [rax + r8], r9w
add r10, 2
sub r11, 1
jne 0x140001200
mov eax, dword [rbx + 4]
add rbx, rax
mov eax, dword [rbx + 4]
test eax, eax
jne 0x1400011e0
lea r9, [rsp + 0x28]
mov r8d, 2
mov rdx, r13
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140001166
mov rdi, r12
movzx eax, word [r15 + 0x14]
cmp r12w, word [r15 + 6]
jae 0x140001344
lea rbx, [r15 + 0x20]
add rbx, rax
mov ecx, dword [rbx + 0x1c]
mov edx, ecx
mov r8d, ecx
and edx, 0x40000000
sar r8d, 0x1f
mov eax, r8d
bt ecx, 0x1d
jae 0x1400012db
and eax, 0x20
and r8d, 0x70
add eax, 0x20
add r8d, 0x10
jmp 0x1400012e8
and eax, 2
and r8d, 7
add eax, 2
inc r8d
test edx, edx
cmovne r8d, eax
mov dword [rsp + 0x20], r8d
bt ecx, 0x1a
jae 0x140001303
bts r8d, 9
mov dword [rsp + 0x20], r8d
mov r9d, dword [r15 + 0x38]
mov ecx, dword [rbx + 4]
add rcx, r14
lea edx, [r9 - 1]
neg r9d
add edx, dword [rbx]
mov eax, r9d
lea r9, [rsp + 0x20]
and rdx, rax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140001166
movzx eax, word [r15 + 6]
add rbx, 0x28
inc rdi
cmp rdi, rax
jb 0x1400012b0
mov qword [rsi], r14
mov eax, 1
mov rbp, qword [rsp + 0x78]
mov r15, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400067e0
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret