Function at 0x14004c8e0
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 0x14004c95b
mov dword [rbp - 0x40], 0x238
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004c95b
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 0x14004c958
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004c930
jmp 0x14004c95b
mov edi, dword [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403af7f0], edi
test edi, edi
je 0x14004cd0e
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 0x14004cb17
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 0x14004cb7c
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 0x14004cbe1
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
xor r15d, r15d
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 4]
lea r8, [0x1403661e4]
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, [0x1403661e4]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rsi, rsi
je 0x14004cc7f
mov rax, qword [rsp + 0x40]
sub rax, rsi
sar rax, 2
lea rdx, [rax*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004cc76
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004cc76
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 0x14004ccc9
mov rax, qword [rsp + 0x70]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004ccc0
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004ccc0
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 0x14004cd0e
mov rax, qword [rbp - 0x78]
sub rax, r14
sar rax, 2
lea rdx, [rax*4]
mov rax, r14
cmp rdx, 0x1000
jb 0x14004cd06
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004d855
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 0x14004cd6b
mov dword [rbp - 0x40], 0x238
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004cd6b
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 0x14004cd68
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004cd40
jmp 0x14004cd6b
mov edi, dword [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403af7f0], edi
test edi, edi
je 0x14004cfe5
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 0x14004cea6
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 0x14004cf03
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, [0x1403661e4]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 4]
lea r8, [0x1403661e4]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14004cf9f
mov rax, qword [rbp - 0x78]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004cf96
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004cf96
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 0x14004cfe5
mov rax, qword [rsp + 0x70]
sub rax, rsi
sar rax, 2
lea rdx, [rax*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004cfdd
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004d855
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 0x14004d03f
mov dword [rbp - 0x40], 0x238
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004d03f
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 0x14004d03c
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004d014
jmp 0x14004d03f
mov edi, dword [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403af7f0], edi
test edi, edi
je 0x14004d2b9
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 0x14004d17a
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 0x14004d1d7
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, [0x1403661e4]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 4]
lea r8, [0x1403661e4]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14004d273
mov rax, qword [rbp - 0x78]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004d26a
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d26a
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 0x14004d2b9
mov rax, qword [rsp + 0x70]
sub rax, rsi
sar rax, 2
lea rdx, [rax*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004d2b1
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004d855
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 0x14004d31b
mov dword [rbp - 0x40], 0x238
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004d31b
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 0x14004d318
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004d2f0
jmp 0x14004d31b
mov edi, dword [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403af7f0], edi
test edi, edi
je 0x14004d595
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 0x14004d456
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 0x14004d4b3
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, [0x1403661e4]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 4]
lea r8, [0x1403661e4]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14004d54f
mov rax, qword [rbp - 0x78]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004d546
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d546
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 0x14004d595
mov rax, qword [rsp + 0x70]
sub rax, rsi
sar rax, 2
lea rdx, [rax*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004d58d
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004d855
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 0x14004d5ef
mov dword [rbp - 0x40], 0x238
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004d5ef
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 0x14004d5ec
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004d5c4
jmp 0x14004d5ef
mov edi, dword [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403af7f0], edi
test edi, edi
je 0x14004d864
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 0x14004d72a
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 0x14004d787
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, [0x1403661e4]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 4]
lea r8, [0x1403661e4]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14004d823
mov rax, qword [rbp - 0x78]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004d81a
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d81a
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 0x14004d864
mov rdx, qword [rsp + 0x70]
sub rdx, rsi
and rdx, 0xfffffffffffffffc
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004d85c
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d85c
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