Function at 0x14004a110
Capabilities:
Allocate or change rwx memory
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x330]
sub rsp, 0x430
mov rax, qword [0x1400d3060]
xor rax, rsp
mov qword [rbp + 0x320], rax
mov rsi, rdx
mov r15, rcx
mov qword [rsp + 0x30], rcx
xor edi, edi
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004a1af
mov dword [rbp + 0x1f0], 0x130
lea rdx, [rbp + 0x1f0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14004a1af
lea rdx, str.HD_Player.exe
lea rcx, [rbp + 0x21c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14004a1a9
lea rdx, [rbp + 0x1f0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
jmp 0x14004a17b
mov edi, dword [rbp + 0x1f8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14004a839
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xor ecx, ecx
mov qword [rsp + 0x48], rcx
mov qword [rbp - 0x28], rcx
xor r12d, r12d
mov qword [rbp - 0x20], r12
xor edi, edi
mov qword [rsp + 0x50], rdi
mov qword [rbp - 0x18], rdi
xor eax, eax
movups xmmword [rbp - 0x10], xmm0
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov qword [rbp - 0x10], rbx
xor r13d, r13d
mov qword [rbp - 8], r13
mov qword [rsp + 0x40], rax
mov qword [rbp], rax
xor edx, edx
mov r8d, 0xf0
lea rcx, [rbp + 0x100]
call sub.VCRUNTIME140.dll_memset
mov rdx, r15
lea rcx, [rbp + 0x100]
call fcn.14004cf60
nop
xor edx, edx
mov r8d, 0xf0
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll_memset
mov rdx, rsi
lea rcx, [rbp + 0x10]
call fcn.14004cf60
nop
xor r15d, r15d
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x60], r15b
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x100]
call fcn.14004db90
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x14004a33f
mov esi, edi
nop dword [rax + rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rax
lea rbx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rbx, qword [rbp - 0x60]
mov dword [rax], r15d
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
cmp rbx, qword [rsp + 0x60]
je 0x14004a3c8
cmp dword [rdi], 0x22
je 0x14004a3ba
mov byte [rbp - 0x68], al
cmp r12, rsi
je 0x14004a2f7
mov byte [r12], al
inc r12
mov qword [rbp - 0x20], r12
jmp 0x14004a314
lea r8, [rbp - 0x68]
mov rdx, r12
lea rcx, [rbp - 0x28]
call fcn.14004d680
mov rsi, qword [rbp - 0x18]
mov qword [rsp + 0x50], rsi
mov r12, qword [rbp - 0x20]
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x100]
call fcn.14004db90
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
je 0x14004a2a0
mov rcx, qword [rbp - 0x28]
mov qword [rsp + 0x48], rcx
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x10]
call fcn.14004db90
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x14004a41e
mov rsi, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rax
lea rbx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rbx, qword [rbp - 0x60]
mov dword [rax], r15d
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
cmp rbx, qword [rsp + 0x60]
je 0x14004a4d0
cmp dword [rdi], 0x22
je 0x14004a4c2
mov byte [rbp - 0x68], al
cmp r13, rsi
je 0x14004a3d6
mov byte [r13], al
inc r13
mov qword [rbp - 8], r13
jmp 0x14004a3f6
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
int3
lea r8, [rbp - 0x68]
mov rdx, r13
lea rcx, [rbp - 0x10]
call fcn.14004d680
mov rax, qword [rbp]
mov qword [rsp + 0x40], rax
mov r13, qword [rbp - 8]
mov rsi, rax
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x10]
call fcn.14004db90
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
je 0x14004a363
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x38], rax
movabs rbx, 0x7fffffffffffffff
nop dword [rax + rax]
mov r9d, Ordinal_50
lea r8, [rsp + 0x68]
mov rdx, r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x14004a67c
cmp dword [rbp - 0x78], 0x1000
jne 0x14004a665
test byte [rbp - 0x74], 4
je 0x14004a665
mov rdi, qword [rbp - 0x80]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], 0
test rdi, rdi
je 0x14004a507
cmp rdi, rbx
ja 0x14004a863
cmp rdi, 0x1000
jb 0x14004a4de
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x14004a869
call fcn.1400abdf0
mov rcx, rax
test rax, rax
je 0x14004a701
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14004a4e6
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
int3
mov rcx, rdi
call fcn.1400abdf0
mov qword [rbp - 0x40], rax
lea rbx, [rax + rdi]
mov qword [rbp - 0x30], rbx
mov r8, rdi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x38], rbx
mov rdi, qword [rbp - 0x80]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov r8, qword [rbp - 0x40]
mov rdx, r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14004a60e
mov rsi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
cmp rsi, qword [rcx + 0x10]
je 0x14004a60e
mov rbx, r15
mov r14, r15
neg r14
mov rdi, qword [rbp - 0x40]
mov rdx, rcx
test r15, r15
je 0x14004a5f0
mov r8, r12
sub r8, qword [rsp + 0x48]
lea rcx, [rdi + r14]
add rcx, rbx
mov rdx, qword [rsp + 0x48]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14004a5eb
mov rdi, r13
sub rdi, qword [rsp + 0x38]
lea rax, [rbp - 0x64]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
mov r8, rdi
mov rdx, rbx
mov rsi, qword [rsp + 0x58]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov qword [rsp + 0x20], 0
mov r9, rdi
mov r8, qword [rsp + 0x38]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14004a6b9
lea rax, [rbp - 0x64]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp - 0x64]
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rdi, qword [rbp - 0x40]
mov rsi, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x30]
inc rbx
lea rcx, [r14 + rbx]
mov rax, rsi
sub rax, qword [rdx + 0x10]
cmp rcx, rax
jb 0x14004a550
mov r14, qword [rsp + 0x58]
jmp 0x14004a612
mov rdi, qword [rbp - 0x40]
test rdi, rdi
je 0x14004a65b
mov rdx, qword [rbp - 0x30]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004a643
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004a701
mov rcx, rdi
call fcn.1400abe2c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], 0
movabs rbx, 0x7fffffffffffffff
add r15, qword [rbp - 0x80]
movabs rax, 0x7fffffffffff
cmp r15, rax
jb 0x14004a430
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x14004a70d
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a708
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a708
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14004a67c
mov rdx, qword [rbp - 0x30]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a6f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a6f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400abe2c
jmp 0x14004a67c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400abe2c
mov qword [rbp - 0x50], 0
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x60], 0
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x10], rbx
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rbp + rcx + 0xc], edx
lea rcx, [rbp + 0x20]
call fcn.14004cea0
lea rcx, [rbp + 0x28]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x100], rbx
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rbp + rcx + 0xfc], edx
lea rcx, [rbp + 0x110]
call fcn.14004cea0
lea rcx, [rbp + 0x118]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x190]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14004a7fa
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a7f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a7f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400abe2c
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14004a839
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a834
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a834
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400abe2c
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.1400abdd0
mov rbx, qword [rsp + 0x480]
add rsp, 0x430
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140001bc0
nop
call fcn.1400018d0
int3