Function at 0x140047fb0
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 0x1400482f7
cmp rax, 0xffffffffffffffff
je 0x1400482f7
cmp rax, 0x18
je 0x1400482f7
mov dword [rbp + 0x30], 0x238
lea rdx, [rbp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400482d0
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 0x14004805a
nop
lea rdx, [rbp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1400482ec
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 0x140048030
mov edi, dword [rbp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x140048313
mov r8d, edi
mov edx, 1
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
test rax, rax
je 0x140048313
lea rcx, [rbp + 0x30]
call fcn.1400526a0
nop
mov edx, edi
lea rcx, [rbp + 0x30]
call fcn.140052b00
mov rdi, 0xffffffffffffffff
test eax, eax
js 0x1400481ea
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rsi
mov edx, 0x3de00
lea rcx, [rsp + 0x50]
call fcn.140048d30
mov r8d, 0x3de00
lea rdx, [0x1400afa70]
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 0x140048120
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x68]
call fcn.140050ff0
nop
mov qword [rsp + 0x20], rsi
mov r9, rbx
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x310]
call fcn.140049be0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x14004819c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140048197
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140048197
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140084b70
cmp byte [rbp - 0x60], 0
je 0x1400481ac
lea rcx, [rbp - 0x70]
call fcn.140048610
nop
test rbx, rbx
je 0x1400481ea
mov rdx, qword [rsp + 0x60]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400481e1
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400481e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140084b70
nop
mov rcx, qword [rbp + 0x3b8]
mov rbx, qword [rcx + 8]
cmp byte [rbx + 0x19], 0
jne 0x140048234
nop dword [rax + rax]
mov r8, qword [rbx + 0x10]
lea rdx, [rbp + 0x3b8]
lea rcx, [rbp + 0x3b8]
call fcn.140052d80
mov rcx, rbx
mov rbx, qword [rbx]
mov edx, 0x30
call fcn.140084b70
cmp byte [rbx + 0x19], 0
je 0x140048200
mov rcx, qword [rbp + 0x3b8]
mov edx, 0x30
call fcn.140084b70
lea rcx, [rbp + 0x310]
call fcn.140049b20
lea rcx, [rbp + 0x270]
call fcn.14005f950
nop
lea rcx, [rbp + 0x1e8]
call fcn.14006f770
mov rbx, qword [rbp + 0x250]
test rbx, rbx
je 0x140048297
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140048297
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140048297
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
lea rcx, [rbp + 0x160]
call fcn.14006f9e0
lea rcx, [rbp + 0xd8]
call fcn.14006e870
lea rcx, [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea rcx, [rbp + 0x68]
call fcn.1400538f0
lea rcx, [rbp + 0x30]
call fcn.14006ff20
jmp 0x140048313
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 0x140048313
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