Function at 0x14004cd00
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 0x14004cd7b
mov dword [rbp - 0x40], 0x238
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004cd7b
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 0x14004cd78
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004cd50
jmp 0x14004cd7b
mov edi, dword [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b1860], edi
test edi, edi
je 0x14004d12e
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 0x14004cf37
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 0x14004cf9c
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 0x14004d001
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
xor r15d, r15d
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 4]
lea r8, [0x1403681e4]
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, [0x1403681e4]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rsi, rsi
je 0x14004d09f
mov rax, qword [rsp + 0x40]
sub rax, rsi
sar rax, 2
lea rdx, [rax*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004d096
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d096
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 0x14004d0e9
mov rax, qword [rsp + 0x70]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004d0e0
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d0e0
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 0x14004d12e
mov rax, qword [rbp - 0x78]
sub rax, r14
sar rax, 2
lea rdx, [rax*4]
mov rax, r14
cmp rdx, 0x1000
jb 0x14004d126
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004dc75
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 0x14004d18b
mov dword [rbp - 0x40], 0x238
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004d18b
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 0x14004d188
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004d160
jmp 0x14004d18b
mov edi, dword [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b1860], edi
test edi, edi
je 0x14004d405
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 0x14004d2c6
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 0x14004d323
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, [0x1403681e4]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 4]
lea r8, [0x1403681e4]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14004d3bf
mov rax, qword [rbp - 0x78]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004d3b6
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d3b6
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 0x14004d405
mov rax, qword [rsp + 0x70]
sub rax, rsi
sar rax, 2
lea rdx, [rax*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004d3fd
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004dc75
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 0x14004d45f
mov dword [rbp - 0x40], 0x238
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004d45f
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 0x14004d45c
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004d434
jmp 0x14004d45f
mov edi, dword [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b1860], edi
test edi, edi
je 0x14004d6d9
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 0x14004d59a
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 0x14004d5f7
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, [0x1403681e4]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 4]
lea r8, [0x1403681e4]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14004d693
mov rax, qword [rbp - 0x78]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004d68a
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d68a
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 0x14004d6d9
mov rax, qword [rsp + 0x70]
sub rax, rsi
sar rax, 2
lea rdx, [rax*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004d6d1
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004dc75
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 0x14004d73b
mov dword [rbp - 0x40], 0x238
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004d73b
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 0x14004d738
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004d710
jmp 0x14004d73b
mov edi, dword [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b1860], edi
test edi, edi
je 0x14004d9b5
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 0x14004d876
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 0x14004d8d3
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, [0x1403681e4]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 4]
lea r8, [0x1403681e4]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14004d96f
mov rax, qword [rbp - 0x78]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004d966
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d966
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 0x14004d9b5
mov rax, qword [rsp + 0x70]
sub rax, rsi
sar rax, 2
lea rdx, [rax*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004d9ad
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004dc75
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 0x14004da0f
mov dword [rbp - 0x40], 0x238
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004da0f
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 0x14004da0c
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004d9e4
jmp 0x14004da0f
mov edi, dword [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b1860], edi
test edi, edi
je 0x14004dc84
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 0x14004db4a
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 0x14004dba7
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, [0x1403681e4]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 4]
lea r8, [0x1403681e4]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14004dc43
mov rax, qword [rbp - 0x78]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004dc3a
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004dc3a
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 0x14004dc84
mov rdx, qword [rsp + 0x70]
sub rdx, rsi
and rdx, 0xfffffffffffffffc
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004dc7c
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004dc7c
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