Function at 0x140001210
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rdi
push r12
push r14
push r15
sub rsp, 0x58
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rsp + 0x40], rax
movsxd rbx, dword [r8 + 0x3c]
mov r15, rdx
mov rcx, qword [rcx + 0x88]
lea rdx, str.VirtualProtect
add rbx, r8
mov r14, r8
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movzx r8d, word [rbx + 6]
xor ebp, ebp
mov r12, rax
mov edx, ebp
test r8d, r8d
je 0x140001305
movzx r9d, word [rbx + 0x14]
lea r10, str..text
nop
movsxd rcx, edx
lea rax, [rcx + rcx*4]
lea rdi, [r9 + rax*8]
mov rax, rbp
add rdi, rbx
movzx ecx, byte [rdi + rax + 0x18]
inc rax
cmp cl, byte [r10 + rax - 1]
jne 0x1400012fa
cmp rax, 6
jne 0x140001281
mov dword [rsp + 0x20], ebp
lea r9, [rsp + 0x20]
mov ecx, dword [rdi + 0x24]
lea r8d, [rax + 0x3a]
mov edx, dword [rdi + 0x20]
add rcx, r15
call r12
test eax, eax
je 0x140001305
mov r9d, dword [rdi + 0x20]
mov eax, 0xc3050f
mov qword [rsp + 0x50], rsi
mov ecx, 0xcccccc
mov dword [rsp + 0x24], eax
mov esi, ebp
mov dword [rsp + 0x28], ecx
mov edx, ebp
sub r9d, 3
je 0x140001327
movzx r10d, byte [rsp + 0x26]
nop
mov r8d, edx
cmp word [r8 + r14], ax
jne 0x1400012f1
cmp byte [r8 + r14 + 2], r10b
je 0x140001325
inc edx
cmp edx, r9d
jb 0x1400012e0
jmp 0x140001327
inc edx
cmp edx, r8d
jl 0x140001270
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140002270
add rsp, 0x58
pop r15
pop r14
pop r12
pop rdi
pop rbp
pop rbx
ret
mov esi, edx
movzx r9d, byte [rsp + 0x2a]
mov r11d, 3
mov r8d, r11d
mov r10d, esi
nop dword [rax]
mov eax, r8d
mov rdx, r10
sub rdx, rax
cmp word [rdx + r14], cx
jne 0x140001357
cmp byte [rdx + r14 + 2], r9b
je 0x140001362
inc r8d
cmp r8d, 0x32
jb 0x140001340
jmp 0x1400013aa
sub r11d, r8d
lea rcx, str.First_syscall_found_at_0x_p_n
add esi, r11d
mov ebx, esi
add rbx, r14
mov rdx, rbx
call fcn.140001020
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, [0x1400044a9]
call fcn.1400014c0
mov rcx, rax
mov rdx, rbx
call fcn.1400014c0
mov rcx, rax
lea rdx, [0x140001910]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov ecx, dword [rdi + 0x20]
movsd xmm0, qword [0x140004598]
movzx eax, word [0x1400045a0]
movsd qword [rsp + 0x30], xmm0
mov word [rsp + 0x38], ax
sub ecx, 9
je 0x1400013fc
mov r8, qword [rsp + 0x30]
movzx edx, al
cmp qword [rcx + r14], r8
jne 0x1400013e1
cmp byte [rcx + r14 + 8], dl
je 0x1400013e8
add ecx, 0xffffffff
jne 0x1400013d4
jmp 0x1400013fc
lea ebp, [rcx + 6]
mov edx, ebp
lea rcx, str.Last_syscall_byte_found_at_0x_p_n
add rdx, r14
call fcn.140001020
test esi, esi
je 0x14000141c
test ebp, ebp
je 0x14000141c
cmp esi, ebp
jae 0x14000141c
mov eax, esi
sub ebp, esi
mov r8d, ebp
lea rdx, [rax + r14]
lea rcx, [rax + r15]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [rdi + 0x24]
lea r9, [rsp + 0x20]
mov edx, dword [rdi + 0x20]
add rcx, r15
mov r8d, dword [rsp + 0x20]
call r12
mov rsi, qword [rsp + 0x50]
test eax, eax
je 0x140001305
xor eax, eax
jmp 0x14000130a