Function at 0x140001670
Capabilities:
Enumerate gui resources
Enumerate processes
Get graphical window text

Disassembly:
push rbx
push rdi
sub rsp, 0x488
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x470], rax
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000195f
mov qword [rsp + 0x4a0], rbp
lea rcx, [rsp + 0x34]
xor edx, edx
mov qword [rsp + 0x480], r15
mov r8d, 0x234
call fcn.140003800
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rbx
xor r15d, r15d
xor ebp, ebp
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x14000195b
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x14000195b
nop dword [rax]
nop dword [rax + rax]
lea rax, [rsp + 0x5c]
mov r8, rdi
sub r8, rax
nop dword [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140001734
add rax, 2
test ecx, ecx
jne 0x140001720
test edx, edx
jne 0x14000175d
lea rdx, [rbp*4 + 4]
mov rcx, r15
call section..text
mov rcx, rax
test rax, rax
je 0x140001770
mov r15, rax
mov eax, dword [rsp + 0x38]
mov dword [rcx + rbp*4], eax
inc rbp
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x140001710
test r15, r15
je 0x14000195b
xor edx, edx
mov qword [rsp + 0x4a8], rsi
mov r9d, 0x3000
mov dword [rsp + 0x20], 4
or rcx, 0xffffffffffffffff
lea r8d, [rdx + 0x10]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
je 0x140001910
xor eax, eax
mov qword [rsp + 0x4b0], r12
mov qword [rsp + 0x4b8], r14
xor r12d, r12d
xor r14d, r14d
mov qword [rsi], rax
mov qword [rsi + 8], rax
test rbp, rbp
je 0x140001900
mov ebx, dword [r15 + r14*4]
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 4
or rcx, 0xffffffffffffffff
lea r8d, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
je 0x140001900
xor eax, eax
lea rcx, [0x140001600]
mov qword [rdi], rax
mov rdx, rdi
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov dword [rdi], ebx
call qword [sym.imp.USER32.dll_EnumWindows]
xor ebx, ebx
cmp qword [rdi + 0x10], rbx
jbe 0x1400018bd
nop dword [rax]
xor edx, edx
lea rcx, [rsp + 0x270]
mov r8d, 0x200
call fcn.140003800
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x270]
mov r8d, 0x200
mov rcx, qword [rcx + rbx*8]
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x14000187e
lea rdx, str.Minecraft_1.7
lea rcx, [rsp + 0x270]
call fcn.1400032c4
test rax, rax
jne 0x140001889
inc rbx
cmp rbx, qword [rdi + 0x10]
jb 0x140001830
jmp 0x1400018bd
mov rdx, qword [rsi + 8]
mov rcx, qword [rsi]
lea rdx, [rdx*4 + 4]
call section..text
mov rdx, rax
test rax, rax
jne 0x1400018ab
lea r12d, [rax + 1]
jmp 0x1400018bd
mov rcx, qword [rsi + 8]
mov qword [rsi], rdx
mov eax, dword [r15 + r14*4]
mov dword [rdx + rcx*4], eax
inc qword [rsi + 8]
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x1400018d9
mov r9d, 0x8000
xor r8d, r8d
or rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
or rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test r12d, r12d
jne 0x140001900
inc r14
cmp r14, rbp
jb 0x1400017d3
mov r14, qword [rsp + 0x4b8]
mov r12, qword [rsp + 0x4b0]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r15
or rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rax, rsi
mov rsi, qword [rsp + 0x4a8]
mov rbp, qword [rsp + 0x4a0]
mov r15, qword [rsp + 0x480]
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140002340
add rsp, 0x488
pop rdi
pop rbx
ret
xor eax, eax
jmp 0x140001931
xor eax, eax
jmp 0x140001941