Function at 0x140058120
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.1400be4e0
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.140058030
test eax, eax
jne 0x1400581e9
lea rbx, str.LdVBoxHeadless.exe
mov rdx, rbx
call fcn.140058030
test eax, eax
jne 0x1400581e9
lea rdx, str.MEmuHeadless.exe
call fcn.140058030
test eax, eax
je 0x14005819d
lea rbx, str.MEmuHeadless.exe
jmp 0x1400581e9
mov rdx, rbx
call fcn.140058030
test eax, eax
jne 0x1400581e9
lea rbx, str.AndroidProcess.exe
mov rdx, rbx
call fcn.140058030
test eax, eax
jne 0x1400581e9
lea rbx, str.aow_exe.exe
mov rdx, rbx
call fcn.140058030
test eax, eax
jne 0x1400581e9
lea rbx, str.NoxVMHandle.exe
mov rdx, rbx
call fcn.140058030
test eax, eax
cmove rbx, qword [rsp + 0x2040]
mov rdx, rbx
call fcn.140058030
test eax, eax
je 0x140058472
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 0x140058472
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 0x1400582b7
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.1400584f0
mov r10, qword [rsp + 0x2048]
mov rax, qword [rsp + 0x2050]
cmp r10, rax
jne 0x14005830a
test r10, r10
je 0x1400582b7
mov rax, qword [rsp + 0x2058]
sub rax, r10
sar rax, 3
lea rdx, [rax*8]
mov rax, r10
cmp rdx, 0x1000
jb 0x1400582af
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400583fb
mov rcx, r10
call fcn.1400bdcc4
lea r9, str.Failed_To_Apply
mov edx, 8
mov r8d, 0x3e8
lea rcx, [rsp + 0x30]
call fcn.140057170
mov rax, qword [0x1402242b0]
cmp rax, qword [0x1402242b8]
je 0x14005841b
mov r8d, 0x2010
lea rdx, [rsp + 0x30]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
add qword [0x1402242b0], 0x2010
jmp 0x140058428
mov r15d, ebx
sub rax, r10
sar rax, 3
test rax, rax
je 0x1400583be
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 0x140058323
test r10, r10
je 0x14005840a
mov rax, qword [rsp + 0x2058]
sub rax, r10
sar rax, 3
lea rdx, [rax*8]
mov rax, r10
cmp rdx, 0x1000
jb 0x140058402
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140058402
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r10
call fcn.1400bdcc4
lea r9, str.Applied
mov edx, 1
jmp 0x1400582c3
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14005cca0
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14005846d
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140058468
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400584dc
mov rcx, r8
call fcn.1400bdcc4
mov byte [rdi], 0
jmp 0x1400584ae
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1400584a8
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400584a3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400584dc
mov rcx, r8
call fcn.1400bdcc4
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.1400bd8f0
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