Function at 0x1400481f0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x3d0]
sub rsp, 0x4d0
xor esi, esi
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
test rax, rax
je 0x140048537
cmp rax, 0xffffffffffffffff
je 0x140048537
cmp rax, 0x18
je 0x140048537
mov dword [rbp + 0x30], 0x238
lea rdx, [rbp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140048510
lea rdx, str.HD_Player.exe
lea rcx, [rbp + 0x5c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14004829a
nop
lea rdx, [rbp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x14004852c
lea rdx, str.HD_Player.exe
lea rcx, [rbp + 0x5c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140048270
mov edi, dword [rbp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x140048553
mov r8d, edi
mov edx, 1
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
test rax, rax
je 0x140048553
lea rcx, [rbp + 0x30]
call fcn.1400528f0
nop
mov edx, edi
lea rcx, [rbp + 0x30]
call fcn.140052d50
mov rdi, 0xffffffffffffffff
test eax, eax
js 0x14004842a
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rsi
mov edx, 0x3de00
lea rcx, [rsp + 0x50]
call fcn.140048fc0
mov r8d, 0x3de00
lea rdx, [0x1400af970]
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rsi, [rbx + 0x3de00]
mov qword [rsp + 0x58], rsi
sub rsi, rbx
mov r8, rbx
lea rdx, str.MemoryImage_0x_p
lea rcx, [rbp - 0x50]
call qword [sym.imp.USER32.dll_wsprintfW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
lea rax, [rbp - 0x50]
mov r8, rdi
inc r8
cmp word [rax + r8*2], 0
jne 0x140048360
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x68]
call fcn.140051240
nop
mov qword [rsp + 0x20], rsi
mov r9, rbx
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x310]
call fcn.140049e30
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x1400483dc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400483d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400483d7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140084d80
cmp byte [rbp - 0x60], 0
je 0x1400483ec
lea rcx, [rbp - 0x70]
call fcn.140048850
nop
test rbx, rbx
je 0x14004842a
mov rdx, qword [rsp + 0x60]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x140048421
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140048421
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140084d80
nop
mov rcx, qword [rbp + 0x3b8]
mov rbx, qword [rcx + 8]
cmp byte [rbx + 0x19], 0
jne 0x140048474
nop dword [rax + rax]
mov r8, qword [rbx + 0x10]
lea rdx, [rbp + 0x3b8]
lea rcx, [rbp + 0x3b8]
call fcn.140052fd0
mov rcx, rbx
mov rbx, qword [rbx]
mov edx, 0x30
call fcn.140084d80
cmp byte [rbx + 0x19], 0
je 0x140048440
mov rcx, qword [rbp + 0x3b8]
mov edx, 0x30
call fcn.140084d80
lea rcx, [rbp + 0x310]
call fcn.140049d70
lea rcx, [rbp + 0x270]
call fcn.14005fba0
nop
lea rcx, [rbp + 0x1e8]
call fcn.14006f9c0
mov rbx, qword [rbp + 0x250]
test rbx, rbx
je 0x1400484d7
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400484d7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400484d7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
lea rcx, [rbp + 0x160]
call fcn.14006fc30
lea rcx, [rbp + 0xd8]
call fcn.14006eac0
lea rcx, [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea rcx, [rbp + 0x68]
call fcn.140053b40
lea rcx, [rbp + 0x30]
call fcn.140070170
jmp 0x140048553
mov r9d, 0x10
lea r8, str.Apply_Error
lea rdx, str.Process32First_At_GetProcessPidByName_Error
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140048553
mov r9d, 0x10
lea r8, str.Apply_Error
lea rdx, str.CreateToolhelp32Snapshot_At_GetProcessPidByName_Error
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
lea r11, [rsp + 0x4d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret