Function at 0x14004b860
Capabilities:
Enumerate processes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x208]
sub rsp, 0x308
xor r15d, r15d
mov edi, r15d
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004b8db
mov dword [rbp - 0x40], 0x238
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004b8db
lea rdx, [0x140183e10]
lea rcx, [rbp - 0x14]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14004b8d8
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004b8b0
jmp 0x14004b8db
mov edi, dword [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b4b54], edi
test edi, edi
je 0x14004bcb3
lea rdx, [0x140183e10]
mov ecx, edi
call fcn.140043d20
mov rbx, rax
mov r8d, dword [0x1403b4b54]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
lea rax, [rbx + 0x1eb17a8]
mov qword [rbp + 0x258], rax
lea rax, [rbx + 0x2a332d0]
mov qword [rbp + 0x260], rax
lea rax, [rbx + 0x2ff2e48]
mov qword [rbp + 0x268], rax
mov dword [rbp + 0x250], 0x80
mov dword [rbp + 0x254], 0x588
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r15
mov edx, 2
lea rcx, [rsp + 0x78]
call fcn.140078ed0
mov r14, qword [rsp + 0x78]
mov rcx, qword [rbp + 0x250]
mov qword [r14], rcx
lea rbx, [r14 + 8]
mov qword [rbp - 0x80], rbx
mov dword [rsp + 0x48], 0x80
mov dword [rsp + 0x4c], 0x100
mov dword [rsp + 0x50], 0x588
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov edx, 3
lea rcx, [rsp + 0x60]
call fcn.140078ed0
mov r8d, listen
lea rdx, [rsp + 0x48]
mov rdi, qword [rsp + 0x60]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea r13, [rdi + 0xc]
mov qword [rsp + 0x68], r13
mov dword [rbp - 0x70], 0x240
mov qword [rbp - 0x6c], 8
mov dword [rbp - 0x64], 0x80
mov dword [rbp - 0x60], 8
mov dword [rbp - 0x5c], 8
mov qword [rbp - 0x58], reloc.WLDAP32.dll_Ordinal_32
mov dword [rbp - 0x50], 0x458
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov edx, 9
lea rcx, [rsp + 0x30]
call fcn.140078ed0
mov r8d, Ordinal_41
lea rdx, [rbp - 0x70]
mov rsi, qword [rsp + 0x30]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsi + 0x24]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r15
sub rbx, r14
mov r15, rbx
sar r15, 2
test r15, r15
je 0x14004ba97
mov rdx, r15
lea rcx, [rsp + 0x48]
call fcn.140078ed0
mov r8, rbx
mov rdx, r14
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + r15*4]
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x48]
mov rdx, qword [rbp + 0x258]
mov rcx, r12
call fcn.140043dc0
mov qword [rbp + 0x250], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], 0
sub r13, rdi
mov r15, r13
sar r15, 2
test r15, r15
je 0x14004bafc
mov rdx, r15
lea rcx, [rsp + 0x48]
call fcn.140078ed0
mov r8, r13
mov rdx, rdi
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + r15*4]
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x48]
mov rdx, qword [rbp + 0x260]
mov rcx, r12
call fcn.140043dc0
mov r13, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], 0
lea rbx, [rsi + 0x24]
sub rbx, rsi
mov r15, rbx
sar r15, 2
test r15, r15
je 0x14004bb61
mov rdx, r15
lea rcx, [rsp + 0x48]
call fcn.140078ed0
mov r8, rbx
mov rdx, rsi
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + r15*4]
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x48]
mov rdx, qword [rbp + 0x268]
mov rcx, r12
call fcn.140043dc0
mov rbx, rax
xor r15d, r15d
mov qword [rsp + 0x20], r15
mov r9d, 4
lea r8, [0x140216684]
mov rdx, qword [rbp + 0x250]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r15
mov r9d, 4
lea r8, [0x140216684]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r15
mov r9d, 4
lea r8, [0x140216684]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rsi, rsi
je 0x14004bc24
mov rax, qword [rsp + 0x40]
sub rax, rsi
sar rax, 2
lea rdx, [rax*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004bc1b
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004bc1b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140145f8c
nop
test rdi, rdi
je 0x14004bc6e
mov rax, qword [rsp + 0x70]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004bc65
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004bc65
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140145f8c
nop
test r14, r14
je 0x14004bcb3
mov rax, qword [rbp - 0x78]
sub rax, r14
sar rax, 2
lea rdx, [rax*4]
mov rax, r14
cmp rdx, 0x1000
jb 0x14004bcab
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004c815
mov rcx, r14
call fcn.140145f8c
mov edi, r15d
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004bd0f
mov dword [rbp - 0x40], 0x238
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004bd0f
lea rdx, [0x140183eb0]
lea rcx, [rbp - 0x14]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14004bd0c
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004bce4
jmp 0x14004bd0f
mov edi, dword [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b4b54], edi
test edi, edi
je 0x14004bf8d
lea rdx, [0x140183eb0]
mov ecx, edi
call fcn.140043d20
mov rbx, rax
mov r8d, dword [0x1403b4b54]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
lea r13, [rbx + 0x1df28b8]
lea rax, [rbx + 0x29369c0]
mov qword [rbp + 0x258], rax
mov dword [rbp + 0x250], 0x80
mov dword [rbp + 0x254], 0x588
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov edx, 2
lea rcx, [rsp + 0x60]
call fcn.140078ed0
mov rsi, qword [rsp + 0x60]
mov rcx, qword [rbp + 0x250]
mov qword [rsi], rcx
lea rbx, [rsi + 8]
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x48], 0x80
mov dword [rsp + 0x4c], 0x100
mov dword [rsp + 0x50], 0x588
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r15
mov edx, 3
lea rcx, [rsp + 0x78]
call fcn.140078ed0
mov r8d, listen
lea rdx, [rsp + 0x48]
mov rdi, qword [rsp + 0x78]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea r15, [rdi + 0xc]
mov qword [rbp - 0x80], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
sub rbx, rsi
mov r14, rbx
sar r14, 2
test r14, r14
je 0x14004be4a
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140078ed0
mov r8, rbx
mov rdx, rsi
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + r14*4]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x30]
mov rdx, r13
mov rcx, r12
call fcn.140043dc0
mov r13, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
sub r15, rdi
mov r14, r15
sar r14, 2
test r14, r14
je 0x14004bea7
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140078ed0
mov r8, r15
mov rdx, rdi
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + r14*4]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x30]
mov rdx, qword [rbp + 0x258]
mov rcx, r12
call fcn.140043dc0
mov rbx, rax
xor r15d, r15d
mov qword [rsp + 0x20], r15
mov r9d, 4
lea r8, [0x140216684]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r15
mov r9d, 4
lea r8, [0x140216684]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14004bf47
mov rax, qword [rbp - 0x78]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004bf3e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004bf3e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140145f8c
nop
test rsi, rsi
je 0x14004bf8d
mov rax, qword [rsp + 0x70]
sub rax, rsi
sar rax, 2
lea rdx, [rax*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004bf85
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004c815
mov rcx, rsi
call fcn.140145f8c
mov edi, r15d
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004bfeb
mov dword [rbp - 0x40], 0x238
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004bfeb
nop
lea rdx, [0x140184068]
lea rcx, [rbp - 0x14]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14004bfe8
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004bfc0
jmp 0x14004bfeb
mov edi, dword [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b4b54], edi
test edi, edi
je 0x14004c269
lea rdx, [0x140184068]
mov ecx, edi
call fcn.140043d20
mov rbx, rax
mov r8d, dword [0x1403b4b54]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
lea r13, [rbx + 0x1dc74d8]
lea rax, [rbx + 0x2907100]
mov qword [rbp + 0x258], rax
mov dword [rbp + 0x250], 0x80
mov dword [rbp + 0x254], 0x588
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov edx, 2
lea rcx, [rsp + 0x60]
call fcn.140078ed0
mov rsi, qword [rsp + 0x60]
mov rcx, qword [rbp + 0x250]
mov qword [rsi], rcx
lea rbx, [rsi + 8]
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x48], 0x80
mov dword [rsp + 0x4c], 0x100
mov dword [rsp + 0x50], 0x588
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r15
mov edx, 3
lea rcx, [rsp + 0x78]
call fcn.140078ed0
mov r8d, listen
lea rdx, [rsp + 0x48]
mov rdi, qword [rsp + 0x78]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea r15, [rdi + 0xc]
mov qword [rbp - 0x80], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
sub rbx, rsi
mov r14, rbx
sar r14, 2
test r14, r14
je 0x14004c126
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140078ed0
mov r8, rbx
mov rdx, rsi
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + r14*4]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x30]
mov rdx, r13
mov rcx, r12
call fcn.140043dc0
mov r13, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
sub r15, rdi
mov r14, r15
sar r14, 2
test r14, r14
je 0x14004c183
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140078ed0
mov r8, r15
mov rdx, rdi
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + r14*4]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x30]
mov rdx, qword [rbp + 0x258]
mov rcx, r12
call fcn.140043dc0
mov rbx, rax
xor r15d, r15d
mov qword [rsp + 0x20], r15
mov r9d, 4
lea r8, [0x140216684]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r15
mov r9d, 4
lea r8, [0x140216684]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14004c223
mov rax, qword [rbp - 0x78]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004c21a
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c21a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140145f8c
nop
test rsi, rsi
je 0x14004c269
mov rax, qword [rsp + 0x70]
sub rax, rsi
sar rax, 2
lea rdx, [rax*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004c261
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004c815
mov rcx, rsi
call fcn.140145f8c
mov edi, r15d
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004c2cb
mov dword [rbp - 0x40], 0x238
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004c2cb
nop word [rax + rax]
lea rdx, [0x1401840c0]
lea rcx, [rbp - 0x14]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14004c2c8
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004c2a0
jmp 0x14004c2cb
mov edi, dword [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b4b54], edi
test edi, edi
je 0x14004c549
lea rdx, [0x1401840c0]
mov ecx, edi
call fcn.140043d20
mov rbx, rax
mov r8d, dword [0x1403b4b54]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
lea r13, [rbx + 0x1e09118]
lea rax, [rbx + 0x294e1d0]
mov qword [rbp + 0x258], rax
mov dword [rbp + 0x250], 0x80
mov dword [rbp + 0x254], 0x588
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov edx, 2
lea rcx, [rsp + 0x60]
call fcn.140078ed0
mov rsi, qword [rsp + 0x60]
mov rcx, qword [rbp + 0x250]
mov qword [rsi], rcx
lea rbx, [rsi + 8]
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x48], 0x80
mov dword [rsp + 0x4c], 0x100
mov dword [rsp + 0x50], 0x588
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r15
mov edx, 3
lea rcx, [rsp + 0x78]
call fcn.140078ed0
mov r8d, listen
lea rdx, [rsp + 0x48]
mov rdi, qword [rsp + 0x78]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea r15, [rdi + 0xc]
mov qword [rbp - 0x80], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
sub rbx, rsi
mov r14, rbx
sar r14, 2
test r14, r14
je 0x14004c406
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140078ed0
mov r8, rbx
mov rdx, rsi
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + r14*4]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x30]
mov rdx, r13
mov rcx, r12
call fcn.140043dc0
mov r13, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
sub r15, rdi
mov r14, r15
sar r14, 2
test r14, r14
je 0x14004c463
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140078ed0
mov r8, r15
mov rdx, rdi
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + r14*4]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x30]
mov rdx, qword [rbp + 0x258]
mov rcx, r12
call fcn.140043dc0
mov rbx, rax
xor r15d, r15d
mov qword [rsp + 0x20], r15
mov r9d, 4
lea r8, [0x140216684]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r15
mov r9d, 4
lea r8, [0x140216684]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14004c503
mov rax, qword [rbp - 0x78]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004c4fa
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c4fa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140145f8c
nop
test rsi, rsi
je 0x14004c549
mov rax, qword [rsp + 0x70]
sub rax, rsi
sar rax, 2
lea rdx, [rax*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004c541
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004c815
mov rcx, rsi
call fcn.140145f8c
mov edi, r15d
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004c5ab
mov dword [rbp - 0x40], 0x238
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004c5ab
nop word [rax + rax]
lea rdx, str.FiveM_bb2612_GTAProcess.exe
lea rcx, [rbp - 0x14]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14004c5a8
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004c580
jmp 0x14004c5ab
mov edi, dword [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b4b54], edi
test edi, edi
je 0x14004c824
lea rdx, [0x140183fb8]
mov ecx, edi
call fcn.140043d20
mov rbx, rax
mov r8d, dword [0x1403b4b54]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
lea r13, [rbx + 0x1db0ba8]
lea rax, [rbx + 0x2932770]
mov qword [rbp + 0x258], rax
mov dword [rbp + 0x250], 0x80
mov dword [rbp + 0x254], 0x588
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov edx, 2
lea rcx, [rsp + 0x60]
call fcn.140078ed0
mov rsi, qword [rsp + 0x60]
mov rcx, qword [rbp + 0x250]
mov qword [rsi], rcx
lea rbx, [rsi + 8]
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x48], 0x80
mov dword [rsp + 0x4c], 0x100
mov dword [rsp + 0x50], 0x588
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r15
mov edx, 3
lea rcx, [rsp + 0x78]
call fcn.140078ed0
mov r8d, listen
lea rdx, [rsp + 0x48]
mov rdi, qword [rsp + 0x78]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea r15, [rdi + 0xc]
mov qword [rbp - 0x80], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
sub rbx, rsi
mov r14, rbx
sar r14, 2
test r14, r14
je 0x14004c6e6
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140078ed0
mov r8, rbx
mov rdx, rsi
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + r14*4]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x30]
mov rdx, r13
mov rcx, r12
call fcn.140043dc0
mov r13, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
sub r15, rdi
mov r14, r15
sar r14, 2
test r14, r14
je 0x14004c743
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140078ed0
mov r8, r15
mov rdx, rdi
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + r14*4]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x30]
mov rdx, qword [rbp + 0x258]
mov rcx, r12
call fcn.140043dc0
mov rbx, rax
xor r14d, r14d
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [0x140216684]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [0x140216684]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14004c7e3
mov rax, qword [rbp - 0x78]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004c7da
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c7da
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140145f8c
nop
test rsi, rsi
je 0x14004c824
mov rdx, qword [rsp + 0x70]
sub rdx, rsi
and rdx, 0xfffffffffffffffc
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004c81c
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c81c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140145f8c
add rsp, 0x308
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret