Function at 0x140001260
Capabilities:
Enumerate processes

Disassembly:
push rbp
push rbx
push rsi
push r12
push r14
lea rbp, [rsp - 0x330]
sub rsp, 0x430
mov rax, qword [0x140054040]
xor rax, rsp
mov qword [rbp + 0x2f8], rax
lea rax, [0x140001170]
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x38], rax
lea rcx, [rbp - 0x40]
lea rax, str.ImGui_Example
mov dword [rbp - 0x40], 0x50
xor esi, esi
mov qword [rbp], rax
xorps xmm0, xmm0
mov qword [rbp - 0x30], rsi
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x20], xmm0
mov ebx, r9d
movdqa xmmword [rbp - 0x10], xmm1
mov qword [rbp + 8], rsi
mov dword [rbp - 0x3c], 3
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov rax, qword [rbp - 0x28]
lea r8, str.Geforce_Experience
mov rdx, qword [rbp]
mov r9d, 0x80000000
mov qword [rsp + 0x58], rsi
mov ecx, 0x80008
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], 0x438
mov dword [rsp + 0x30], 0x780
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r12, rax
test rax, rax
jne 0x140001335
mov eax, 1
jmp 0x140001cbe
movdqa xmm0, xmmword [0x14004c680]
lea rdx, [rbp + 0x58]
mov rcx, r12
movdqu xmmword [rbp + 0x58], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov r14d, 1
xor r8d, r8d
mov r9d, r14d
xor edx, edx
mov rcx, r12
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
lea rax, [0x1400546c0]
mov qword [rbp - 0x7c], rsi
mov qword [rsp + 0x58], rax
xor r9d, r9d
lea rax, [rbp + 0x18]
mov qword [rbp - 0x68], 2
mov qword [rsp + 0x50], rax
xor r8d, r8d
lea rax, [0x1400546c8]
mov qword [rbp - 0x50], 2
mov qword [rsp + 0x48], rax
mov edx, r14d
lea rax, [0x1400546d0]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x40], rax
xor ecx, ecx
lea rax, [rsp + 0x70]
mov dword [rbp - 0x80], 0x1c
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x2e0]
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x78], 0x3c
mov dword [rsp + 0x7c], r14d
mov dword [rbp - 0x6c], 0x20
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x74], r14
mov qword [rbp - 0x58], r14
mov dword [rbp + 0x2e0], 0xb000
mov dword [rbp + 0x2e4], 0xa000
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
je 0x14000143d
call fcn.140001ce0
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov eax, r14d
jmp 0x140001cbe
mov qword [rsp + 0x468], rdi
mov qword [rsp + 0x428], r13
mov qword [rsp + 0x420], r15
movaps xmmword [rsp + 0x410], xmm6
movaps xmmword [rsp + 0x400], xmm7
call fcn.140001d60
mov edx, ebx
mov rcx, r12
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r12
call qword [sym.imp.USER32.dll_UpdateWindow]
mov r13, qword [0x1400546f0]
mov ecx, 0x5628
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x1400546f0]
mov r9, rax
test r8, r8
je 0x1400014fe
movsx rax, word [r8 + 0x5498]
lea rdx, [r8 + 0x549c]
mov r10d, dword [r8 + 0x3ff8]
lea rdx, [rdx + rax*8]
cmp dword [rdx], r10d
je 0x1400014f3
lea ecx, [rax + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
lea rdx, [r8 + 0x549c]
sub ecx, eax
mov word [r8 + 0x5498], cx
movsx rax, cx
lea rdx, [rdx + rax*8]
mov dword [rdx], r10d
mov dword [rdx + 4], esi
inc word [rdx + 4]
inc dword [r8 + 0x5490]
test r9, r9
je 0x14000150f
xor edx, edx
mov rcx, r9
call fcn.140006490
jmp 0x140001512
mov rax, rsi
mov qword [0x1400546f0], rax
call fcn.140007540
test r13, r13
je 0x14000152c
mov qword [0x1400546f0], r13
jmp 0x140001533
mov r13, qword [0x1400546f0]
xor ecx, ecx
call fcn.1400286d0
mov rcx, r12
call fcn.1400328e0
call fcn.140032710
movss xmm6, dword [0x14004c66c]
lea rdi, str.PlantsVsZombiesRH.exe
movss xmm7, dword [0x14004c64c]
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
mov byte [rsp + 0x61], sil
xor r15b, r15b
movups xmmword [rbp + 0x78], xmm0
mov byte [rsp + 0x60], sil
movups xmmword [rbp + 0x88], xmm0
nop dword [rax]
xor r9d, r9d
mov dword [rsp + 0x20], r14d
xor r8d, r8d
lea rcx, [rbp + 0x68]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400015db
nop dword [rax + rax]
lea rcx, [rbp + 0x68]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x68]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [rbp + 0x70], 0x12
lea rcx, [rbp + 0x68]
movzx r15d, r15b
cmove r15d, r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x1400015a0
mov rax, qword [0x1400546f0]
test rax, rax
je 0x1400015f0
mov rcx, qword [rax + 0xa8]
jmp 0x1400015f3
mov rcx, rsi
cmp qword [rcx + 0x48], 0
jne 0x1400015ff
call fcn.1400320b0
call fcn.1400332f0
call fcn.14000a180
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000162b
lea rdx, str.Failed_to_take_a_snapshot_of_processes.
jmp 0x1400016b5
lea rdx, [rbp + 0xa0]
mov dword [rbp + 0xa0], 0x238
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400016a5
nop dword [rax]
lea rdx, [rbp + 0xcc]
mov rcx, rsi
nop word [rax + rax]
movzx eax, word [rdx + rcx*2]
cmp ax, word [rdi + rcx*2]
jne 0x140001691
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [rdi + rcx*2 + 2]
jne 0x140001691
add rcx, 2
cmp rcx, 0x16
jne 0x140001660
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rbp + 0xa8]
jmp 0x1400016d3
lea rdx, [rbp + 0xa0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001650
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.Process_not_found.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001e40
lea rdx, [0x140002020]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ebx, esi
mov r8d, ebx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, ebx
mov rsi, rax
call section..text
mov r9d, 8
lea r8, [rbp + 0x28]
mov rcx, rsi
lea rdx, [rax + 0x1b8c368]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14000172a
cmp qword [rbp + 0x20], 8
jne 0x140001721
mov rdx, qword [rbp + 0x28]
jmp 0x14000174f
lea rdx, str.Warning:_Not_all_bytes_were_read.
jmp 0x140001731
lea rdx, str.Failed_to_read_memory.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001e40
lea rdx, [0x140002020]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor edx, edx
lea rax, [rbp + 0x30]
add rdx, 0xb8
mov r9d, 8
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x38]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14000178c
cmp qword [rbp + 0x30], 8
jne 0x140001783
mov rdx, qword [rbp + 0x38]
jmp 0x1400017b1
lea rdx, str.Warning:_Not_all_bytes_were_read.
jmp 0x140001793
lea rdx, str.Failed_to_read_memory.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001e40
lea rdx, [0x140002020]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor edx, edx
lea rax, [rbp + 0x40]
mov r9d, 8
lea r8, [rbp + 0x48]
mov qword [rsp + 0x20], rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400017e7
cmp qword [rbp + 0x40], 8
jne 0x1400017de
mov rdi, qword [rbp + 0x48]
jmp 0x14000180c
lea rdx, str.Warning:_Not_all_bytes_were_read.
jmp 0x1400017ee
lea rdx, str.Failed_to_read_memory.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001e40
lea rdx, [0x140002020]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor edi, edi
xor edx, edx
lea rcx, str.Dex_ImGui
mov r8d, 0x40
call fcn.14000f9c0
test ebx, ebx
jne 0x140001832
lea rcx, str.Process_ID_:_Not_Found
call fcn.14003ab20
jmp 0x140001840
mov edx, ebx
lea rcx, str.Process_ID_:__d
call fcn.14003ab20
lea rdx, [rsp + 0x60]
lea rcx, str.Unlimited_Sun
call fcn.14003ca90
lea rdx, [rsp + 0x61]
lea rcx, str.No_Cooldown
call fcn.14003ca90
xor r8d, r8d
mov qword [rbp + 0x2e0], 0
lea rdx, [rbp + 0x2e0]
lea rcx, str.Button
call fcn.14003b7c0
mov edx, dword [0x140054728]
test al, al
je 0x140001895
inc edx
mov dword [0x140054728], edx
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.140016ff0
lea rcx, str.counter___d
call fcn.14003ab20
movss xmm1, dword [r13 + 0xc0]
lea rcx, str.Application_average__.3f_ms_frame___.1f_FPS_
cvtps2pd xmm2, xmm1
movaps xmm0, xmm7
divss xmm0, xmm1
xorps xmm1, xmm1
movq r8, xmm2
cvtss2sd xmm1, xmm0
movq rdx, xmm1
call fcn.14003ab20
call fcn.140012060
cmp byte [rsp + 0x60], 0
je 0x140001959
lea rax, [rbp + 0x50]
mov dword [rbp + 0x18], 0x3b9ac9ff
lea rdx, [rdi + 0xa4]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rbp + 0x18]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140001936
cmp qword [rbp + 0x50], 4
jne 0x14000192d
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Successfully_wrote
jmp 0x140001944
lea rdx, str.Warning:_Not_all_bytes_were_written.
jmp 0x14000193d
lea rdx, str.Failed_to_write_memory.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001e40
lea rdx, [0x140002020]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
cmp byte [rsp + 0x61], 0
je 0x1400019ca
lea rax, [rbp + 0x58]
mov byte [rbp + 0x10], r14b
lea rdx, [rdi + 0x11b]
mov qword [rsp + 0x20], rax
mov r9, r14
lea r8, [rbp + 0x10]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400019a7
cmp qword [rbp + 0x58], r14
jne 0x14000199e
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Successfully_wrote
jmp 0x1400019b5
lea rdx, str.Warning:_Not_all_bytes_were_written.
jmp 0x1400019ae
lea rdx, str.Failed_to_write_memory.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001e40
lea rdx, [0x140002020]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call fcn.14000c230
mov rcx, qword [0x1400546c0]
lea r8, [0x1400546d8]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rbp + 0x2e8], xmm0
mov edx, r14d
mov rax, qword [rcx]
call qword [rax + 0x108]
mov rcx, qword [0x1400546c0]
lea r8, [rbp + 0x2e8]
mov rdx, qword [0x1400546d8]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x1400546f0]
xor esi, esi
mov rcx, qword [rax + 0x4be0]
mov rax, qword [rcx]
mov ecx, esi
add rax, 0x50
cmp byte [rax], sil
cmovne rcx, rax
call fcn.140031600
mov rcx, qword [0x1400546d0]
xor r8d, r8d
mov edx, r14d
mov rax, qword [rcx]
call qword [rax + 0x40]
lea rdi, str.PlantsVsZombiesRH.exe
test r15b, r15b
je 0x140001580
mov rbx, qword [0x1400546f0]
movaps xmm7, xmmword [rsp + 0x400]
movaps xmm6, xmmword [rsp + 0x410]
mov r15, qword [rsp + 0x420]
mov r13, qword [rsp + 0x428]
test rbx, rbx
je 0x140001a91
mov rdi, qword [rbx + 0xa8]
jmp 0x140001a94
mov rdi, rsi
call fcn.1400325f0
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140001aa8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi]
test rcx, rcx
je 0x140001ab6
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140001ac5
mov rax, qword [rcx]
call qword [rax + 0x10]
and dword [rbx + 0xc], 0xfffffff7
mov r8, qword [0x1400546f0]
mov qword [rbx + 0x98], rsi
mov qword [rbx + 0xa8], rsi
test r8, r8
je 0x140001b42
movsx rdx, word [r8 + 0x5498]
lea rcx, [r8 + 0x549c]
mov r9d, dword [r8 + 0x3ff8]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140001b37
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x5498], cx
movsx rax, cx
lea rcx, [r8 + 0x549c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], esi
inc word [rcx + 6]
inc dword [r8 + 0x5494]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r8, qword [0x1400546f0]
test r8, r8
je 0x140001b60
mov rdi, qword [r8 + 0xa0]
jmp 0x140001b63
mov rdi, rsi
mov rcx, qword [rdi + 0x38]
lea rbx, [r8 + 8]
test rcx, rcx
je 0x140001b7d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r8, qword [0x1400546f0]
and dword [rbx + 4], 0xfffffff8
mov qword [rbx + 0x88], rsi
mov qword [rbx + 0x98], rsi
test r8, r8
je 0x140001bf3
movsx rdx, word [r8 + 0x5498]
mov r9d, dword [r8 + 0x3ff8]
lea rcx, [rdx*8 + 0x549c]
add rcx, r8
cmp dword [rcx], r9d
je 0x140001be8
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x5498], cx
movsx rax, cx
lea rcx, [rax*8 + 0x549c]
add rcx, r8
mov dword [rcx], r9d
mov dword [rcx + 4], esi
inc word [rcx + 6]
inc dword [r8 + 0x5494]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400546f0]
mov qword [0x1400546f0], rbx
call fcn.140007a80
mov rdi, qword [rsp + 0x468]
mov qword [0x1400546f0], rsi
test rbx, rbx
je 0x140001ca0
mov rcx, rbx
call fcn.140020a90
mov r8, qword [0x1400546f0]
test r8, r8
je 0x140001c97
movsx r10, word [r8 + 0x5498]
lea rdx, [r8 + 0x549c]
mov r9d, dword [r8 + 0x3ff8]
lea rdx, [rdx + r10*8]
cmp dword [rdx], r9d
je 0x140001c8c
lea ecx, [r10 + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
lea rdx, [r8 + 0x549c]
sub ecx, eax
mov word [r8 + 0x5498], cx
movsx rax, cx
lea rdx, [rdx + rax*8]
mov dword [rdx], r9d
mov dword [rdx + 4], esi
inc word [rdx + 6]
inc dword [r8 + 0x5494]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.140001ce0
mov rcx, r12
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp]
call qword [sym.imp.USER32.dll_UnregisterClassW]
xor eax, eax
mov rcx, qword [rbp + 0x2f8]
xor rcx, rsp
call fcn.1400430a0
add rsp, 0x430
pop r14
pop r12
pop rsi
pop rbx
pop rbp
ret