Function at 0x14004bd40
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 0x14004bdbb
mov dword [rbp - 0x40], 0x238
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004bdbb
nop
lea rdx, [0x140180ec8]
lea rcx, [rbp - 0x14]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14004bdb8
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004bd90
jmp 0x14004bdbb
mov edi, dword [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b1860], edi
test edi, edi
je 0x14004c18d
lea rdx, [0x140180ec8]
mov ecx, edi
call fcn.140044360
mov rbx, rax
mov r8d, dword [0x1403b1860]
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.140076910
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.140076910
mov r8d, ntohs
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.140076910
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 0x14004bf77
mov rdx, r15
lea rcx, [rsp + 0x48]
call fcn.140076910
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.140044400
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 0x14004bfdc
mov rdx, r15
lea rcx, [rsp + 0x48]
call fcn.140076910
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.140044400
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 0x14004c041
mov rdx, r15
lea rcx, [rsp + 0x48]
call fcn.140076910
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.140044400
mov rbx, rax
xor r15d, r15d
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 4]
lea r8, [0x140213534]
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, [0x140213534]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 4]
lea r8, [0x140213534]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rsi, rsi
je 0x14004c0fe
mov rax, qword [rsp + 0x40]
sub rax, rsi
sar rax, 2
lea rdx, [rax*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004c0f5
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c0f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1401439fc
nop
test rdi, rdi
je 0x14004c148
mov rax, qword [rsp + 0x70]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004c13f
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c13f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1401439fc
nop
test r14, r14
je 0x14004c18d
mov rax, qword [rbp - 0x78]
sub rax, r14
sar rax, 2
lea rdx, [rax*4]
mov rax, r14
cmp rdx, 0x1000
jb 0x14004c185
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ccd5
mov rcx, r14
call fcn.1401439fc
mov edi, r15d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004c1eb
mov dword [rbp - 0x40], 0x238
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004c1eb
nop dword [rax]
lea rdx, [0x140180f68]
lea rcx, [rbp - 0x14]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14004c1e8
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004c1c0
jmp 0x14004c1eb
mov edi, dword [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b1860], edi
test edi, edi
je 0x14004c465
lea rdx, [0x140180f68]
mov ecx, edi
call fcn.140044360
mov rbx, rax
mov r8d, dword [0x1403b1860]
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.140076910
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.140076910
mov r8d, ntohs
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 0x14004c326
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140076910
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.140044400
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 0x14004c383
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140076910
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.140044400
mov rbx, rax
xor r15d, r15d
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 4]
lea r8, [0x140213534]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 4]
lea r8, [0x140213534]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14004c41f
mov rax, qword [rbp - 0x78]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004c416
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c416
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1401439fc
nop
test rsi, rsi
je 0x14004c465
mov rax, qword [rsp + 0x70]
sub rax, rsi
sar rax, 2
lea rdx, [rax*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004c45d
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ccd5
mov rcx, rsi
call fcn.1401439fc
mov edi, r15d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004c4bf
mov dword [rbp - 0x40], 0x238
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004c4bf
lea rdx, [0x140181120]
lea rcx, [rbp - 0x14]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14004c4bc
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004c494
jmp 0x14004c4bf
mov edi, dword [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b1860], edi
test edi, edi
je 0x14004c739
lea rdx, [0x140181120]
mov ecx, edi
call fcn.140044360
mov rbx, rax
mov r8d, dword [0x1403b1860]
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.140076910
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.140076910
mov r8d, ntohs
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 0x14004c5fa
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140076910
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.140044400
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 0x14004c657
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140076910
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.140044400
mov rbx, rax
xor r15d, r15d
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 4]
lea r8, [0x140213534]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 4]
lea r8, [0x140213534]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14004c6f3
mov rax, qword [rbp - 0x78]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004c6ea
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c6ea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1401439fc
nop
test rsi, rsi
je 0x14004c739
mov rax, qword [rsp + 0x70]
sub rax, rsi
sar rax, 2
lea rdx, [rax*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004c731
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ccd5
mov rcx, rsi
call fcn.1401439fc
mov edi, r15d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004c79b
mov dword [rbp - 0x40], 0x238
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004c79b
nop dword [rax + rax]
lea rdx, [0x140181178]
lea rcx, [rbp - 0x14]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14004c798
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004c770
jmp 0x14004c79b
mov edi, dword [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b1860], edi
test edi, edi
je 0x14004ca15
lea rdx, [0x140181178]
mov ecx, edi
call fcn.140044360
mov rbx, rax
mov r8d, dword [0x1403b1860]
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.140076910
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.140076910
mov r8d, ntohs
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 0x14004c8d6
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140076910
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.140044400
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 0x14004c933
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140076910
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.140044400
mov rbx, rax
xor r15d, r15d
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 4]
lea r8, [0x140213534]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 4]
lea r8, [0x140213534]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14004c9cf
mov rax, qword [rbp - 0x78]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004c9c6
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c9c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1401439fc
nop
test rsi, rsi
je 0x14004ca15
mov rax, qword [rsp + 0x70]
sub rax, rsi
sar rax, 2
lea rdx, [rax*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004ca0d
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ccd5
mov rcx, rsi
call fcn.1401439fc
mov edi, r15d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004ca6f
mov dword [rbp - 0x40], 0x238
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004ca6f
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 0x14004ca6c
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004ca44
jmp 0x14004ca6f
mov edi, dword [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b1860], edi
test edi, edi
je 0x14004cce4
lea rdx, [0x140181070]
mov ecx, edi
call fcn.140044360
mov rbx, rax
mov r8d, dword [0x1403b1860]
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.140076910
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.140076910
mov r8d, ntohs
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 0x14004cbaa
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140076910
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.140044400
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 0x14004cc07
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140076910
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.140044400
mov rbx, rax
xor r14d, r14d
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 4]
lea r8, [0x140213534]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 4]
lea r8, [0x140213534]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14004cca3
mov rax, qword [rbp - 0x78]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004cc9a
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004cc9a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1401439fc
nop
test rsi, rsi
je 0x14004cce4
mov rdx, qword [rsp + 0x70]
sub rdx, rsi
and rdx, 0xfffffffffffffffc
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004ccdc
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004ccdc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1401439fc
add rsp, 0x308
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret