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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140548258]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r12, rcx
xor edi, edi
mov dword [rsp + 0x40], edi
mov rax, qword [rcx + 0x10]
movsxd r13, dword [rax + 0x3c]
add r13, rax
lea rbx, [r13 + 0x90]
lea rcx, [r13 + 0x88]
lea r9, [rsp + 0x40]
mov edx, 0x80
lea r8d, [rdi + 4]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140002d5c
xor eax, eax
mov qword [r13 + 0xe8], rax
mov eax, dword [rbx]
test eax, eax
je 0x140002b9c
mov edx, dword [rbx + 4]
mov ecx, eax
add rcx, qword [r12 + 0x10]
lea r9, [rsp + 0x40]
lea r8d, [rdi + 4]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140002d5c
mov r8d, dword [rbx + 4]
mov ecx, dword [rbx]
add rcx, qword [r12 + 0x10]
xor edx, edx
call fcn.14015e888
mov edx, dword [rbx + 4]
mov ecx, dword [rbx]
add rcx, qword [r12 + 0x10]
lea r9, [rsp + 0x40]
lea r8d, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140002e42
xor eax, eax
mov qword [rbx], rax
lea r9, [rsp + 0x40]
mov edx, 0x80
lea r8d, [rax + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140002e5e
mov rsi, qword [r12 + 0x30]
mov r14, qword [r12 + 0x38]
mov qword [rsp + 0x20], r14
cmp rsi, r14
je 0x140002d90
mov rdx, qword [rsi]
lea rcx, [rsp + 0x48]
call fcn.140003860
nop
lea rbp, [rsp + 0x48]
mov rbx, qword [rsp + 0x48]
mov r15, qword [rsp + 0x60]
cmp r15, 0x10
cmovae rbp, rbx
mov rax, qword [rsp + 0x58]
cmp rax, 6
jb 0x140002ced
lea r14, [rax + rbp]
lea r8, [r14 - 5]
sub r8, rbp
mov edx, 0x2e
mov rcx, rbp
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140002ce8
nop dword [rax]
mov rcx, rdi
lea r8, str..reloc
nop word [rax + rax]
movzx edx, byte [rax + rcx]
inc rcx
cmp dl, byte [r8 + rcx - 1]
jne 0x140002c58
cmp rcx, 6
jne 0x140002c40
mov ecx, edi
jmp 0x140002c5d
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x140002c7f
inc rax
lea r8, [r14 - 5]
sub r8, rax
mov edx, 0x2e
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x140002c30
jmp 0x140002ce8
sub rax, rbp
cmp rax, 0xffffffffffffffff
je 0x140002ce8
mov rax, qword [rsi]
mov edx, dword [rax + 0x10]
mov ecx, dword [rax + 0xc]
add rcx, qword [r12 + 0x10]
lea r9, [rsp + 0x40]
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140002d29
mov rax, qword [rsi]
mov r8d, dword [rax + 0x10]
mov ecx, dword [rax + 0xc]
add rcx, qword [r12 + 0x10]
xor edx, edx
call fcn.14015e888
mov rax, qword [rsi]
mov edx, dword [rax + 0x10]
mov ecx, dword [rax + 0xc]
add rcx, qword [r12 + 0x10]
lea r9, [rsp + 0x40]
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140002e0a
mov r14, qword [rsp + 0x20]
cmp r15, 0x10
jb 0x140002d20
lea rdx, [r15 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140002d18
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002d89
mov rcx, rbx
call fcn.14015ddc8
add rsi, 8
jmp 0x140002bcf
cmp r15, 0x10
jb 0x140002d5c
lea rdx, [r15 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140002d54
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002d89
mov rcx, rbx
call fcn.14015ddc8
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14015d970
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
movzx ebx, word [r13 + 0x14]
add rbx, 0x18
add rbx, r13
cmp di, word [r13 + 6]
jae 0x140002e03
nop dword [rax]
nop word [rax + rax]
lea r9, [rsp + 0x40]
mov edx, 0x28
lea r8d, [rdx - 0x24]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140002d5c
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], rax
lea r9, [rsp + 0x40]
lea edx, [rax + 0x28]
lea r8d, [rax + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140002e26
inc edi
add rbx, 0x28
movzx eax, word [r13 + 6]
cmp edi, eax
jl 0x140002db0
mov al, 1
jmp 0x140002d5e
lea rcx, [rsp + 0x28]
call fcn.140001240
lea rdx, [0x1403b8f08]
lea rcx, [rsp + 0x28]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [rsp + 0x28]
call fcn.140001240
lea rdx, [0x1403b8f08]
lea rcx, [rsp + 0x28]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rsp + 0x28]
call fcn.140001240
lea rdx, [0x1403b8f08]
lea rcx, [rsp + 0x28]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rsp + 0x28]
call fcn.140001240
lea rdx, [0x1403b8f08]
lea rcx, [rsp + 0x28]
call sub.VCRUNTIME140.dll__CxxThrowException
int3