Function at 0x14004aa40
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
xor r14d, r14d
mov edi, r14d
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004aabe
mov dword [rbp - 0x80], 0x238
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004aabe
lea rdx, [0x140183e10]
lea rcx, [rbp - 0x54]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14004aabb
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004aa93
jmp 0x14004aabe
mov edi, dword [rbp - 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b4b54], edi
test edi, edi
je 0x14004ad25
lea rdx, [0x140183e10]
mov ecx, edi
call fcn.140043d20
mov r13, rax
mov r8d, dword [0x1403b4b54]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
mov dword [rbp + 0x200], 0x50
mov dword [rbp + 0x204], 0x1a0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov edx, 2
lea rcx, [rsp + 0x60]
call fcn.140078ed0
mov rsi, qword [rsp + 0x60]
mov rcx, qword [rbp + 0x200]
mov qword [rsi], rcx
lea rbx, [rsi + 8]
mov qword [rsp + 0x68], rbx
mov dword [rbp + 0x208], 0x50
mov dword [rbp + 0x20c], 0x1a4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r14
mov edx, 2
lea rcx, [rsp + 0x48]
call fcn.140078ed0
mov rdi, qword [rsp + 0x48]
mov rax, qword [rbp + 0x208]
mov qword [rdi], rax
lea r15, [rdi + 8]
mov qword [rsp + 0x50], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r14
sub rbx, rsi
mov r14, rbx
sar r14, 2
test r14, r14
je 0x14004abd5
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]
lea rdx, [r13 + 0x2140688]
mov rcx, r12
call fcn.140043dc0
mov qword [rbp + 0x200], 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 0x14004ac3a
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]
lea rdx, [r13 + 0x2140688]
mov rcx, r12
call fcn.140043dc0
mov rbx, rax
xor r14d, r14d
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [0x140216598]
mov rdx, qword [rbp + 0x200]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [0x140216598]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14004acdf
mov rax, qword [rsp + 0x58]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004acd6
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004acd6
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 0x14004ad25
mov rax, qword [rsp + 0x70]
sub rax, rsi
sar rax, 2
lea rdx, [rax*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004ad1d
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004b831
mov rcx, rsi
call fcn.140145f8c
mov edi, r14d
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004ad8b
mov dword [rbp - 0x80], 0x238
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004ad8b
nop word [rax + rax]
lea rdx, [0x140183eb0]
lea rcx, [rbp - 0x54]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14004ad88
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004ad60
jmp 0x14004ad8b
mov edi, dword [rbp - 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b4b54], edi
test edi, edi
je 0x14004aff2
lea rdx, [0x140183eb0]
mov ecx, edi
call fcn.140043d20
mov r13, rax
mov r8d, dword [0x1403b4b54]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
mov dword [rbp + 0x200], 0x50
mov dword [rbp + 0x204], 0x1a0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r14
mov edx, 2
lea rcx, [rsp + 0x48]
call fcn.140078ed0
mov rsi, qword [rsp + 0x48]
mov rcx, qword [rbp + 0x200]
mov qword [rsi], rcx
lea rbx, [rsi + 8]
mov qword [rsp + 0x50], rbx
mov dword [rbp + 0x208], 0x50
mov dword [rbp + 0x20c], 0x1a4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov edx, 2
lea rcx, [rsp + 0x60]
call fcn.140078ed0
mov rdi, qword [rsp + 0x60]
mov rax, qword [rbp + 0x208]
mov qword [rdi], rax
lea r15, [rdi + 8]
mov qword [rsp + 0x68], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r14
sub rbx, rsi
mov r14, rbx
sar r14, 2
test r14, r14
je 0x14004aea2
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]
lea rdx, [r13 + 0x2053218]
mov rcx, r12
call fcn.140043dc0
mov qword [rbp + 0x200], 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 0x14004af07
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]
lea rdx, [r13 + 0x2053218]
mov rcx, r12
call fcn.140043dc0
mov rbx, rax
xor r14d, r14d
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [0x140216598]
mov rdx, qword [rbp + 0x200]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [0x140216598]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14004afac
mov rax, qword [rsp + 0x70]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004afa3
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004afa3
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 0x14004aff2
mov rax, qword [rsp + 0x58]
sub rax, rsi
sar rax, 2
lea rdx, [rax*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004afea
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004b831
mov rcx, rsi
call fcn.140145f8c
mov edi, r14d
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004b04e
mov dword [rbp - 0x80], 0x238
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004b04e
lea rdx, [0x140184068]
lea rcx, [rbp - 0x54]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14004b04b
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004b023
jmp 0x14004b04e
mov edi, dword [rbp - 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b4b54], edi
test edi, edi
je 0x14004b2b5
lea rdx, [0x140184068]
mov ecx, edi
call fcn.140043d20
mov r13, rax
mov r8d, dword [0x1403b4b54]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
mov dword [rbp + 0x200], 0x50
mov dword [rbp + 0x204], 0x1a0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r14
mov edx, 2
lea rcx, [rsp + 0x48]
call fcn.140078ed0
mov rsi, qword [rsp + 0x48]
mov rcx, qword [rbp + 0x200]
mov qword [rsi], rcx
lea rbx, [rsi + 8]
mov qword [rsp + 0x50], rbx
mov dword [rbp + 0x208], 0x50
mov dword [rbp + 0x20c], 0x1a4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov edx, 2
lea rcx, [rsp + 0x60]
call fcn.140078ed0
mov rdi, qword [rsp + 0x60]
mov rax, qword [rbp + 0x208]
mov qword [rdi], rax
lea r15, [rdi + 8]
mov qword [rsp + 0x68], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r14
sub rbx, rsi
mov r14, rbx
sar r14, 2
test r14, r14
je 0x14004b165
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]
lea rdx, [r13 + 0x2024890]
mov rcx, r12
call fcn.140043dc0
mov qword [rbp + 0x200], 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 0x14004b1ca
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]
lea rdx, [r13 + 0x2024890]
mov rcx, r12
call fcn.140043dc0
mov rbx, rax
xor r14d, r14d
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [0x140216598]
mov rdx, qword [rbp + 0x200]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [0x140216598]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14004b26f
mov rax, qword [rsp + 0x70]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004b266
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004b266
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 0x14004b2b5
mov rax, qword [rsp + 0x58]
sub rax, rsi
sar rax, 2
lea rdx, [rax*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004b2ad
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004b831
mov rcx, rsi
call fcn.140145f8c
mov edi, r14d
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004b31b
mov dword [rbp - 0x80], 0x238
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004b31b
nop word [rax + rax]
lea rdx, [0x1401840c0]
lea rcx, [rbp - 0x54]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14004b318
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004b2f0
jmp 0x14004b31b
mov edi, dword [rbp - 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b4b54], edi
test edi, edi
je 0x14004b582
lea rdx, [0x1401840c0]
mov ecx, edi
call fcn.140043d20
mov r13, rax
mov r8d, dword [0x1403b4b54]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
mov dword [rbp + 0x200], 0x50
mov dword [rbp + 0x204], 0x1a0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r14
mov edx, 2
lea rcx, [rsp + 0x48]
call fcn.140078ed0
mov rsi, qword [rsp + 0x48]
mov rcx, qword [rbp + 0x200]
mov qword [rsi], rcx
lea rbx, [rsi + 8]
mov qword [rsp + 0x50], rbx
mov dword [rbp + 0x208], 0x50
mov dword [rbp + 0x20c], 0x1a4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov edx, 2
lea rcx, [rsp + 0x60]
call fcn.140078ed0
mov rdi, qword [rsp + 0x60]
mov rax, qword [rbp + 0x208]
mov qword [rdi], rax
lea r15, [rdi + 8]
mov qword [rsp + 0x68], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r14
sub rbx, rsi
mov r14, rbx
sar r14, 2
test r14, r14
je 0x14004b432
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]
lea rdx, [r13 + 0x206a778]
mov rcx, r12
call fcn.140043dc0
mov qword [rbp + 0x200], 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 0x14004b497
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]
lea rdx, [r13 + 0x206a778]
mov rcx, r12
call fcn.140043dc0
mov rbx, rax
xor r14d, r14d
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [0x140216598]
mov rdx, qword [rbp + 0x200]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [0x140216598]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14004b53c
mov rax, qword [rsp + 0x70]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004b533
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004b533
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 0x14004b582
mov rax, qword [rsp + 0x58]
sub rax, rsi
sar rax, 2
lea rdx, [rax*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004b57a
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004b831
mov rcx, rsi
call fcn.140145f8c
mov edi, r14d
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004b5de
mov dword [rbp - 0x80], 0x238
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004b5de
lea rdx, str.FiveM_bb2612_GTAProcess.exe
lea rcx, [rbp - 0x54]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14004b5db
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004b5b3
jmp 0x14004b5de
mov edi, dword [rbp - 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b4b54], edi
test edi, edi
je 0x14004b840
lea rdx, [0x140183fb8]
mov ecx, edi
call fcn.140043d20
mov r13, rax
mov r8d, dword [0x1403b4b54]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
mov dword [rbp + 0x200], 0x50
mov dword [rbp + 0x204], 0x1a0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r14
mov edx, 2
lea rcx, [rsp + 0x48]
call fcn.140078ed0
mov rsi, qword [rsp + 0x48]
mov rcx, qword [rbp + 0x200]
mov qword [rsi], rcx
lea rbx, [rsi + 8]
mov qword [rsp + 0x50], rbx
mov dword [rbp + 0x208], 0x50
mov dword [rbp + 0x20c], 0x1a4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov edx, 2
lea rcx, [rsp + 0x60]
call fcn.140078ed0
mov rdi, qword [rsp + 0x60]
mov rax, qword [rbp + 0x208]
mov qword [rdi], rax
lea r15, [rdi + 8]
mov qword [rsp + 0x68], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r14
sub rbx, rsi
mov r14, rbx
sar r14, 2
test r14, r14
je 0x14004b6f5
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]
lea rdx, [r13 + 0x2051258]
mov rcx, r12
call fcn.140043dc0
mov qword [rbp + 0x200], 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 0x14004b75a
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]
lea rdx, [r13 + 0x2051258]
mov rcx, r12
call fcn.140043dc0
mov rbx, rax
xor r14d, r14d
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [0x140216598]
mov rdx, qword [rbp + 0x200]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [0x140216598]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14004b7ff
mov rax, qword [rsp + 0x70]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004b7f6
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004b7f6
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 0x14004b840
mov rdx, qword [rsp + 0x58]
sub rdx, rsi
and rdx, 0xfffffffffffffffc
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004b838
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004b838
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140145f8c
mov rbx, qword [rsp + 0x318]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret