Function at 0x140058490
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x2070
call fcn.1400be570
sub rsp, rax
mov rax, qword [0x140154080]
xor rax, rsp
mov qword [rsp + 0x2068], rax
mov r12, r9
mov r14, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x2040], rdx
lea rbx, str.HD_Player.exe
mov rdx, rbx
call fcn.1400583a0
test eax, eax
jne 0x140058559
lea rbx, str.LdVBoxHeadless.exe
mov rdx, rbx
call fcn.1400583a0
test eax, eax
jne 0x140058559
lea rdx, str.MEmuHeadless.exe
call fcn.1400583a0
test eax, eax
je 0x14005850d
lea rbx, str.MEmuHeadless.exe
jmp 0x140058559
mov rdx, rbx
call fcn.1400583a0
test eax, eax
jne 0x140058559
lea rbx, str.AndroidProcess.exe
mov rdx, rbx
call fcn.1400583a0
test eax, eax
jne 0x140058559
lea rbx, str.aow_exe.exe
mov rdx, rbx
call fcn.1400583a0
test eax, eax
jne 0x140058559
lea rbx, str.NoxVMHandle.exe
mov rdx, rbx
call fcn.1400583a0
test eax, eax
cmove rbx, qword [rsp + 0x2040]
mov rdx, rbx
call fcn.1400583a0
test eax, eax
je 0x1400587e2
mov dword [rsi], eax
mov r8d, eax
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsi + 8], rax
test rax, rax
je 0x1400587e2
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__msize]
mov rbp, rax
xor ebx, ebx
test eax, eax
jle 0x140058627
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x2048], xmm1
mov qword [rsp + 0x2058], rbx
lea r8, [rsp + 0x2048]
mov rdx, r14
mov rcx, rsi
call fcn.140058860
mov r10, qword [rsp + 0x2048]
mov rax, qword [rsp + 0x2050]
cmp r10, rax
jne 0x14005867a
test r10, r10
je 0x140058627
mov rax, qword [rsp + 0x2058]
sub rax, r10
sar rax, 3
lea rdx, [rax*8]
mov rax, r10
cmp rdx, 0x1000
jb 0x14005861f
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005876b
mov rcx, r10
call fcn.1400bdd54
lea r9, str.Failed_To_Apply
mov edx, 8
mov r8d, 0x3e8
lea rcx, [rsp + 0x30]
call fcn.1400574e0
mov rax, qword [0x1402242b0]
cmp rax, qword [0x1402242b8]
je 0x14005878b
mov r8d, 0x2010
lea rdx, [rsp + 0x30]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
add qword [0x1402242b0], 0x2010
jmp 0x140058798
mov r15d, ebx
sub rax, r10
sar rax, 3
test rax, rax
je 0x14005872e
movsxd r14, ebp
mov rbp, rbx
lea rax, [rsp + 0x2060]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
mov r8, r14
mov rdx, qword [r10 + rbp]
mov rcx, qword [rsi + 8]
call qword [sym.imp.ntdll.dll_ZwProtectVirtualMemory]
mov rax, qword [rsp + 0x2048]
mov qword [rsp + 0x20], rbx
mov r9, r14
mov r8, r12
mov rdx, qword [rax + rbp]
mov rcx, qword [rsi + 8]
call qword [sym.imp.ntdll.dll_ZwWriteVirtualMemory]
mov rax, qword [rsp + 0x2048]
lea rcx, [rsp + 0x2060]
mov qword [rsp + 0x20], rcx
mov r9d, reloc.WLDAP32.dll_Ordinal_32
mov r8, r14
mov rdx, qword [rax + rbp]
mov rcx, qword [rsi + 8]
call qword [sym.imp.ntdll.dll_ZwProtectVirtualMemory]
inc r15d
lea rbp, [rbp + 8]
mov rcx, qword [rsp + 0x2050]
mov r10, qword [rsp + 0x2048]
sub rcx, r10
sar rcx, 3
movsxd rax, r15d
cmp rax, rcx
jb 0x140058693
test r10, r10
je 0x14005877a
mov rax, qword [rsp + 0x2058]
sub rax, r10
sar rax, 3
lea rdx, [rax*8]
mov rax, r10
cmp rdx, 0x1000
jb 0x140058772
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140058772
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r10
call fcn.1400bdd54
lea r9, str.Applied
mov edx, 1
jmp 0x140058633
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14005d010
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1400587dd
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400587d8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005884c
mov rcx, r8
call fcn.1400bdd54
mov byte [rdi], 0
jmp 0x14005881e
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140058818
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140058813
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005884c
mov rcx, r8
call fcn.1400bdd54
xor ebx, ebx
mov byte [rdi], bl
xor al, al
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rdi + 0x10], rbx
mov rcx, qword [rsp + 0x2068]
xor rcx, rsp
call fcn.1400bd980
add rsp, 0x2070
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3