Function at 0x14005b340
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x2400]
mov eax, 0x2500
call fcn.1400f8870
sub rsp, rax
mov rax, qword [0x14019e0c0]
xor rax, rsp
mov qword [rbp + 0x23f0], rax
xor esi, esi
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
test rax, rax
je 0x14005b75d
cmp rax, 0xffffffffffffffff
je 0x14005b75d
cmp rax, 0x18
je 0x14005b75d
mov dword [rbp + 0x1fd0], 0x130
lea rdx, [rbp + 0x1fd0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14005b736
lea rdx, str.HD_Player.exe
lea rcx, [rbp + 0x1ffc]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14005b410
nop
lea rdx, [rbp + 0x1fd0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x14005b752
lea rdx, str.HD_Player.exe
lea rcx, [rbp + 0x1ffc]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x14005b3e0
mov edi, dword [rbp + 0x1fd8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x14005b779
mov r8d, edi
mov edx, 1
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
test rax, rax
je 0x14005b779
xor edx, edx
mov r8d, 0x398
lea rcx, [rbp + 0x1fd0]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x1fd0]
call fcn.1400657f0
nop
mov edx, edi
lea rcx, [rbp + 0x1fd0]
call fcn.140065c50
mov rdi, 0xffffffffffffffff
test eax, eax
js 0x14005b646
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f90], xmm1
mov qword [rbp + 0x1fa0], rsi
mov edx, 0x3de00
lea rcx, [rbp + 0x1f90]
call fcn.14005ca80
mov r8d, 0x3de00
lea rdx, [0x140275840]
mov rbx, qword [rbp + 0x1f90]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rsi, [rbx + 0x3de00]
mov qword [rbp + 0x1f98], rsi
sub rsi, rbx
mov r8, rbx
lea rdx, str.MemoryImage_0x_p
lea rcx, [rbp + 0x2370]
call qword [sym.imp.USER32.dll_wsprintfW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea rax, [rbp + 0x2370]
mov r8, rdi
inc r8
cmp word [rax + r8*2], 0
jne 0x14005b503
lea rdx, [rbp + 0x2370]
lea rcx, [rsp + 0x58]
call fcn.140064140
nop
mov qword [rsp + 0x20], rsi
mov r9, rbx
lea r8, [rsp + 0x58]
lea rdx, [rbp + 0x1fa8]
lea rcx, [rbp + 0x22b0]
call fcn.14005d2d0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x14005b587
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b581
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005b581
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f7d6c
nop
lea rax, str.Chams_injected.
lea r9, str.Failed_to_inject_chams
cmp dword [rbp + 0x1fa8], 0
cmovge r9, rax
mov edx, 1
mov r8d, 0x3e8
lea rcx, [rbp - 0x80]
call fcn.1400579e0
mov rax, qword [0x1402b8c88]
cmp rax, qword [0x1402b8c90]
je 0x14005b5e3
mov r8d, 0x2010
lea rdx, [rbp - 0x80]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
add qword [0x1402b8c88], 0x2010
jmp 0x14005b5f0
lea r8, [rbp - 0x80]
mov rdx, rax
call fcn.14005c440
nop
cmp byte [rbp + 0x1fc0], 0
je 0x14005b606
lea rcx, [rbp + 0x1fb0]
call fcn.14005be80
nop
test rbx, rbx
je 0x14005b646
mov rdx, qword [rbp + 0x1fa0]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x14005b63d
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005b63d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400f7d6c
nop
mov rcx, qword [rbp + 0x2358]
mov rbx, qword [rcx + 8]
cmp byte [rbx + 0x19], 0
jne 0x14005b694
nop word [rax + rax]
mov r8, qword [rbx + 0x10]
lea rdx, [rbp + 0x2358]
lea rcx, [rbp + 0x2358]
call fcn.1400035e0
mov rcx, rbx
mov rbx, qword [rbx]
mov edx, Ordinal_50
call fcn.1400f7d6c
cmp byte [rbx + 0x19], 0
je 0x14005b660
mov rcx, qword [rbp + 0x2358]
mov edx, Ordinal_50
call fcn.1400f7d6c
lea rcx, [rbp + 0x22b0]
call fcn.14005d210
lea rcx, [rbp + 0x2210]
call fcn.1400729f0
nop
lea rcx, [rbp + 0x2188]
call fcn.140082300
mov rbx, qword [rbp + 0x21f0]
test rbx, rbx
je 0x14005b6f7
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14005b6f7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14005b6f7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp + 0x2100]
call fcn.140082570
lea rcx, [rbp + 0x2078]
call fcn.140081400
lea rcx, [rbp + 0x2048]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea rcx, [rbp + 0x2008]
call fcn.140066a00
lea rcx, [rbp + 0x1fd0]
call fcn.140082ab0
jmp 0x14005b779
mov r9d, reloc.WS2_32.dll_recv
lea r8, str.Apply_Error
lea rdx, str.Process32First_At_GetProcessPidByName_Error
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14005b779
mov r9d, reloc.WS2_32.dll_recv
lea r8, str.Apply_Error
lea rdx, str.CreateToolhelp32Snapshot_At_GetProcessPidByName_Error
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [rbp + 0x23f0]
xor rcx, rsp
call fcn.1400f79b0
lea r11, [rsp + 0x2500]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret