Function at 0x140049c00
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 0x140049c7e
mov dword [rbp - 0x80], 0x238
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140049c7e
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 0x140049c7b
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140049c53
jmp 0x140049c7e
mov edi, dword [rbp - 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b4b54], edi
test edi, edi
je 0x140049ee5
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 0x140049d95
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 0x140049dfa
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, [0x14036b500]
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, [0x14036b500]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x140049e9f
mov rax, qword [rsp + 0x58]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140049e96
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049e96
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 0x140049ee5
mov rax, qword [rsp + 0x70]
sub rax, rsi
sar rax, 2
lea rdx, [rax*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140049edd
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004aa0f
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 0x140049f4b
mov dword [rbp - 0x80], 0x238
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140049f4b
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 0x140049f48
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140049f20
jmp 0x140049f4b
mov edi, dword [rbp - 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b4b54], edi
test edi, edi
je 0x14004a1b2
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 0x14004a062
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 0x14004a0c7
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, [0x14036b500]
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, [0x14036b500]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14004a16c
mov rax, qword [rsp + 0x70]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004a163
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a163
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 0x14004a1b2
mov rax, qword [rsp + 0x58]
sub rax, rsi
sar rax, 2
lea rdx, [rax*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004a1aa
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004aa0f
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 0x14004a20e
mov dword [rbp - 0x80], 0x238
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004a20e
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 0x14004a20b
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004a1e3
jmp 0x14004a20e
mov edi, dword [rbp - 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b4b54], edi
test edi, edi
je 0x14004a475
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 0x14004a325
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 0x14004a38a
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, [0x14036b500]
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, [0x14036b500]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14004a42f
mov rax, qword [rsp + 0x70]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004a426
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a426
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 0x14004a475
mov rax, qword [rsp + 0x58]
sub rax, rsi
sar rax, 2
lea rdx, [rax*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004a46d
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004aa0f
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 0x14004a4db
mov dword [rbp - 0x80], 0x238
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004a4db
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 0x14004a4d8
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004a4b0
jmp 0x14004a4db
mov edi, dword [rbp - 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b4b54], edi
test edi, edi
je 0x14004a760
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 0x14004a5f2
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 0x14004a657
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, [0x14036b500]
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, [0x14036b500]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [0x1403b472c]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14004a71a
mov rax, qword [rsp + 0x70]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004a711
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a711
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 0x14004a760
mov rax, qword [rsp + 0x58]
sub rax, rsi
sar rax, 2
lea rdx, [rax*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004a758
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004aa0f
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 0x14004a7bc
mov dword [rbp - 0x80], 0x238
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004a7bc
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 0x14004a7b9
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004a791
jmp 0x14004a7bc
mov edi, dword [rbp - 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b4b54], edi
test edi, edi
je 0x14004aa1e
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 0x14004a8d3
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 0x14004a938
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, [0x14036b500]
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, [0x14036b500]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14004a9dd
mov rax, qword [rsp + 0x70]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004a9d4
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a9d4
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 0x14004aa1e
mov rdx, qword [rsp + 0x58]
sub rdx, rsi
and rdx, 0xfffffffffffffffc
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004aa16
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004aa16
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