Function at 0x14004b920
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
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004b99b
mov dword [rbp - 0x40], 0x238
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004b99b
nop
lea rdx, [0x14017fcd8]
lea rcx, [rbp - 0x14]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14004b998
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004b970
jmp 0x14004b99b
mov edi, dword [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403af7f0], edi
test edi, edi
je 0x14004bd6d
lea rdx, [0x14017fcd8]
mov ecx, edi
call fcn.140043f40
mov rbx, rax
mov r8d, dword [0x1403af7f0]
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.140074fc0
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.140074fc0
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.140074fc0
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 0x14004bb57
mov rdx, r15
lea rcx, [rsp + 0x48]
call fcn.140074fc0
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.140043fe0
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 0x14004bbbc
mov rdx, r15
lea rcx, [rsp + 0x48]
call fcn.140074fc0
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.140043fe0
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 0x14004bc21
mov rdx, r15
lea rcx, [rsp + 0x48]
call fcn.140074fc0
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.140043fe0
mov rbx, rax
xor r15d, r15d
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 4]
lea r8, [0x140211534]
mov rdx, qword [rbp + 0x250]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 4]
lea r8, [0x140211534]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 4]
lea r8, [0x140211534]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rsi, rsi
je 0x14004bcde
mov rax, qword [rsp + 0x40]
sub rax, rsi
sar rax, 2
lea rdx, [rax*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004bcd5
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004bcd5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140141f7c
nop
test rdi, rdi
je 0x14004bd28
mov rax, qword [rsp + 0x70]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004bd1f
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004bd1f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140141f7c
nop
test r14, r14
je 0x14004bd6d
mov rax, qword [rbp - 0x78]
sub rax, r14
sar rax, 2
lea rdx, [rax*4]
mov rax, r14
cmp rdx, 0x1000
jb 0x14004bd65
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004c8b5
mov rcx, r14
call fcn.140141f7c
mov edi, r15d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004bdcb
mov dword [rbp - 0x40], 0x238
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004bdcb
nop dword [rax]
lea rdx, [0x14017fd78]
lea rcx, [rbp - 0x14]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14004bdc8
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004bda0
jmp 0x14004bdcb
mov edi, dword [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403af7f0], edi
test edi, edi
je 0x14004c045
lea rdx, [0x14017fd78]
mov ecx, edi
call fcn.140043f40
mov rbx, rax
mov r8d, dword [0x1403af7f0]
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.140074fc0
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.140074fc0
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 0x14004bf06
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140074fc0
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.140043fe0
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 0x14004bf63
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140074fc0
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.140043fe0
mov rbx, rax
xor r15d, r15d
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 4]
lea r8, [0x140211534]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 4]
lea r8, [0x140211534]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14004bfff
mov rax, qword [rbp - 0x78]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004bff6
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004bff6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140141f7c
nop
test rsi, rsi
je 0x14004c045
mov rax, qword [rsp + 0x70]
sub rax, rsi
sar rax, 2
lea rdx, [rax*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004c03d
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004c8b5
mov rcx, rsi
call fcn.140141f7c
mov edi, r15d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004c09f
mov dword [rbp - 0x40], 0x238
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004c09f
lea rdx, [0x14017ff30]
lea rcx, [rbp - 0x14]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14004c09c
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004c074
jmp 0x14004c09f
mov edi, dword [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403af7f0], edi
test edi, edi
je 0x14004c319
lea rdx, [0x14017ff30]
mov ecx, edi
call fcn.140043f40
mov rbx, rax
mov r8d, dword [0x1403af7f0]
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.140074fc0
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.140074fc0
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 0x14004c1da
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140074fc0
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.140043fe0
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 0x14004c237
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140074fc0
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.140043fe0
mov rbx, rax
xor r15d, r15d
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 4]
lea r8, [0x140211534]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 4]
lea r8, [0x140211534]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14004c2d3
mov rax, qword [rbp - 0x78]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004c2ca
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c2ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140141f7c
nop
test rsi, rsi
je 0x14004c319
mov rax, qword [rsp + 0x70]
sub rax, rsi
sar rax, 2
lea rdx, [rax*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004c311
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004c8b5
mov rcx, rsi
call fcn.140141f7c
mov edi, r15d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004c37b
mov dword [rbp - 0x40], 0x238
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004c37b
nop dword [rax + rax]
lea rdx, [0x14017ff88]
lea rcx, [rbp - 0x14]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14004c378
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004c350
jmp 0x14004c37b
mov edi, dword [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403af7f0], edi
test edi, edi
je 0x14004c5f5
lea rdx, [0x14017ff88]
mov ecx, edi
call fcn.140043f40
mov rbx, rax
mov r8d, dword [0x1403af7f0]
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.140074fc0
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.140074fc0
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 0x14004c4b6
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140074fc0
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.140043fe0
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 0x14004c513
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140074fc0
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.140043fe0
mov rbx, rax
xor r15d, r15d
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 4]
lea r8, [0x140211534]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 4]
lea r8, [0x140211534]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14004c5af
mov rax, qword [rbp - 0x78]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004c5a6
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c5a6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140141f7c
nop
test rsi, rsi
je 0x14004c5f5
mov rax, qword [rsp + 0x70]
sub rax, rsi
sar rax, 2
lea rdx, [rax*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004c5ed
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004c8b5
mov rcx, rsi
call fcn.140141f7c
mov edi, r15d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004c64f
mov dword [rbp - 0x40], 0x238
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004c64f
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 0x14004c64c
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004c624
jmp 0x14004c64f
mov edi, dword [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403af7f0], edi
test edi, edi
je 0x14004c8c4
lea rdx, [0x14017fe80]
mov ecx, edi
call fcn.140043f40
mov rbx, rax
mov r8d, dword [0x1403af7f0]
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.140074fc0
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.140074fc0
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 0x14004c78a
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140074fc0
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.140043fe0
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 0x14004c7e7
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140074fc0
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.140043fe0
mov rbx, rax
xor r14d, r14d
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 4]
lea r8, [0x140211534]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 4]
lea r8, [0x140211534]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14004c883
mov rax, qword [rbp - 0x78]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004c87a
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c87a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140141f7c
nop
test rsi, rsi
je 0x14004c8c4
mov rdx, qword [rsp + 0x70]
sub rdx, rsi
and rdx, 0xfffffffffffffffc
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004c8bc
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c8bc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140141f7c
add rsp, 0x308
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret