Function at 0x140088a30
Capabilities:
Enumerate gui resources

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov qword [rbp + 0x1f], 0xfffffffffffffffe
mov qword [rsp + 0x100], rbx
movsxd r12, ecx
cmp dword [0x1404b2120], 0x11
je 0x140088a73
xor edx, edx
lea rcx, [0x1400888d0]
call qword [sym.imp.USER32.dll_EnumWindows]
xor edx, edx
lea rcx, [0x140087150]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp dword [0x1404b32a4], 0
jne 0x1400891f7
mov dword [0x1404b32a4], 1
xor r13d, r13d
mov dword [0x1404b313c], r13d
mov dword [0x1404b2124], r13d
lea rcx, [0x14043fa60]
or rdi, 0xffffffffffffffff
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], r13b
jne 0x140088ac0
mov r8d, eax
mov rdx, rcx
lea rcx, [0x1404ba910]
call fcn.140081660
mov qword [0x1404b3198], r13
mov qword [0x1404b3190], r13
mov qword [0x1404b2138], r13
cmp dword [0x1404b32c0], r13d
jne 0x140088bed
mov r8d, dword [0x1404b32d4]
test r8d, r8d
jle 0x140088bed
mov dword [0x1404b32c0], 1
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [0x1404b1ff0], rax
mov edx, dword [0x1404b32d4]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [0x1404b32c8], rax
call fcn.1400874b0
mov rcx, qword [0x1404b9018]
add rcx, 0xffffffffffffffe8
call fcn.140082280
add rax, 0x18
mov qword [rbp + 0x6f], rax
lea r9, [rbp + 0x6f]
call fcn.1400876c0
mov rax, qword [0x1404b3190]
inc rax
cmp rax, 1
jbe 0x140088b82
cmp qword [0x1404b1ff0], r13
jne 0x140088bdf
mov ecx, WSAAsyncSelect
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [0x1404b32c8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1404b1ff0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [0x1404b32d4]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [0x1404b1ff0], rax
mov edx, dword [0x1404b32d4]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [0x1404b32c8], rax
call fcn.1400874b0
mov qword [0x1404b3190], r13
mov qword [0x1404b2138], r13
lea rcx, [r12 + r12*8]
lea rbx, [rcx*8]
lea r14, [0x1404b91c0]
lea rsi, [rbx + r14]
cmp qword [rsi + 0x30], r13
je 0x140088c7b
cmp dword [rbx + r14], 2
je 0x140088c7b
mov rcx, qword [rbx + r14 + 0x18]
sub rcx, 0x18
call fcn.14008d330
add rax, 0x18
mov qword [rbp + 0x77], rax
lea rdx, [rbp + 0x77]
lea rcx, [0x1404b2020]
call fcn.140088400
mov dword [0x1404b313c], eax
movsxd r9, eax
mov qword [rsp + 0x20], r13
lea r8, [0x1404b2020]
mov rdx, qword [rsi + 0x30]
mov rcx, qword [0x1404b1ff0]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsi + 0x30], r13
movzx ecx, word [0x14049c0fc]
xor edx, edx
mov r8d, 0x40005
call qword [sym.imp.WINMM.dll_PlaySoundW]
jmp 0x1400891f0
lea r15, [rbx + r14]
mov eax, dword [r15]
test eax, eax
je 0x140089151
cmp eax, 2
mov rax, qword [rbx + r14 + 0x40]
je 0x1400890d0
test rax, rax
jne 0x140088cf3
mov rcx, qword [rbx + r14 + 8]
cmp dword [rcx - 0x10], 3
jle 0x140088cc2
add rcx, 0xffffffffffffffe8
call fcn.140082280
add rax, 0x18
mov qword [rbp + 0x7f], rax
lea r9, [rbp + 0x7f]
call fcn.1400876c0
mov rcx, qword [rbx + r14 + 0x10]
sub rcx, 0x18
call fcn.14008d330
add rax, 0x18
mov qword [rbp - 0x69], rax
lea rdx, [rbp - 0x69]
lea rcx, [0x1404b2020]
call fcn.140088400
mov dword [0x1404b313c], eax
call fcn.140088530
mov qword [0x1404b3198], rax
test rax, rax
je 0x1400891f0
lea r13, [rbx + r14]
lea rdx, [0x14043fa60]
mov rcx, qword [r13 + 0x20]
call fcn.14033c638
test eax, eax
je 0x1400891ed
mov rcx, qword [0x1404b3198]
mov qword [rbx + r14 + 0x40], rcx
movsxd rax, dword [rbx + r14 + 0x28]
add rax, rcx
mov qword [rsi + 0x30], rax
mov r8, qword [0x1404b1fe8]
test r8, r8
jne 0x140088d92
mov qword [0x1404b3190], r8
mov rcx, qword [0x1404b9018]
add rcx, 0xffffffffffffffe8
call fcn.140082280
add rax, 0x18
mov qword [rbp - 0x61], rax
lea r9, [rbp - 0x61]
call fcn.1400876c0
mov r8, qword [0x1404b2138]
mov rdx, qword [0x1404b3190]
call fcn.1400878b0
mov r8, rax
mov qword [0x1404b1fe8], rax
xor edx, edx
mov dword [0x1404b32c4], edx
jmp 0x140088d98
mov edx, dword [0x1404b32c4]
add r14, rbx
cmp qword [r14 + 0x38], 0
jne 0x140088db9
mov eax, edx
shl eax, 9
movsxd rcx, eax
add rcx, r8
mov qword [r14 + 0x38], rcx
inc edx
mov dword [0x1404b32c4], edx
mov rcx, qword [r13 + 0x20]
sub rcx, 0x18
call fcn.14008d330
add rax, 0x18
mov qword [rbp - 0x59], rax
lea rdx, [rbp - 0x59]
lea rcx, [0x1404b2020]
call fcn.140088400
mov dword [0x1404b313c], eax
lea rcx, [0x1404b91c0]
mov rcx, qword [rbx + rcx + 0x18]
sub rcx, 0x18
call fcn.14008d330
add rax, 0x18
mov qword [rbp - 0x51], rax
lea rdx, [rbp - 0x51]
lea rcx, [0x1404b2020]
call fcn.140088400
mov dword [0x1404b2124], eax
mov ecx, dword [rsi + 0x30]
sub ecx, dword [r14 + 0x38]
sub ecx, dword [0x1404b313c]
lea edx, [rax - 5]
add edx, ecx
lea rcx, [rbp - 9]
call fcn.140087fd0
mov rbx, rax
lea r8, [0x1404b91b8]
lea rdx, [r13 + 0x20]
lea rcx, [rbp - 0x11]
call fcn.14008cb40
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x19]
call fcn.14008cb40
mov rdx, rax
lea rcx, [0x1404b2020]
call fcn.140088400
mov dword [0x1404b313c], eax
mov rdx, qword [rbp - 0x11]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140088e8c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 9]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140088ea9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
movsxd r9, dword [0x1404b313c]
xor r13d, r13d
mov qword [rsp + 0x20], r13
lea r8, [0x1404b2020]
mov rdx, qword [r14 + 0x38]
mov rcx, qword [0x1404b1ff0]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movsxd rax, dword [r15]
test eax, eax
jns 0x140088eed
mov rcx, qword [r14 + 0x38]
movsxd rdx, dword [0x1404b313c]
add rdx, rcx
sub rcx, rax
call fcn.140087df0
cmp dword [0x1404b2124], 5
jle 0x140088f2c
nop word [rax + rax]
mov r8d, 3
lea rdx, [0x14043fb58]
lea rcx, [0x1404ba910]
call fcn.14008d470
mov eax, dword [0x1404b2124]
dec eax
mov dword [0x1404b2124], eax
cmp eax, 5
jg 0x140088f00
cmp r12d, 0x1e
jne 0x140088fc5
mov qword [rsp + 0x20], r13
lea r9d, [r12 - 0x17]
lea r8, [0x1404b2020]
mov rdx, qword [0x1404b9a60]
mov rcx, qword [0x1404b1ff0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea r8d, [r12 - 0x17]
lea rcx, [rbp - 1]
call fcn.140088250
nop
mov rdx, rax
lea rcx, [0x1404b9a48]
call fcn.14008d030
nop
mov rdx, qword [rbp - 1]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140088f97
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [0x1404b9a60]
add rcx, 3
call fcn.140087cb0
mov edx, dword [0x1404b9a60]
mov r8, qword [0x1404b9a68]
sub edx, r8d
add edx, 0xffffffd1
add edx, eax
lea rcx, [r8 + 0x32]
call fcn.140087e40
mov edx, dword [r14 + 0x38]
sub edx, dword [rsi + 0x30]
sub edx, 5
lea rcx, [rbp + 0x17]
call fcn.140087fd0
nop
mov r8, rax
lea rdx, [0x1404b91b8]
lea rcx, [rbp + 0xf]
call fcn.14008cb40
nop
lea r8, [0x1404ba910]
mov rdx, rax
lea rcx, [rbp + 7]
call fcn.14008cb40
nop
mov rdx, rax
lea rcx, [0x1404ba910]
call fcn.14008d030
nop
mov rdx, qword [rbp + 7]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008902f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0xf]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008904d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x17]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140089068
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [0x1404ba910]
add rcx, 0xffffffffffffffe8
call fcn.14008d330
add rax, 0x18
mov qword [rbp - 0x49], rax
lea rdx, [rbp - 0x49]
lea rcx, [0x1404b2020]
call fcn.140088400
mov dword [0x1404b313c], eax
movsxd r9, eax
mov qword [rsp + 0x20], r13
lea r8, [0x1404b2020]
mov rdx, qword [rsi + 0x30]
mov rcx, qword [0x1404b1ff0]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx ecx, word [0x14049c100]
xor edx, edx
mov r8d, 0x40005
call qword [sym.imp.WINMM.dll_PlaySoundW]
jmp 0x1400891f0
test rax, rax
jne 0x14008912b
mov rcx, qword [rbx + r14 + 8]
cmp dword [rcx - 0x10], 3
jle 0x1400890fa
add rcx, 0xffffffffffffffe8
call fcn.140082280
add rax, 0x18
mov qword [rbp - 0x41], rax
lea r9, [rbp - 0x41]
call fcn.1400876c0
mov rcx, qword [rbx + r14 + 0x10]
sub rcx, 0x18
call fcn.14008d330
add rax, 0x18
mov qword [rbp - 0x39], rax
lea rdx, [rbp - 0x39]
lea rcx, [0x1404b2020]
call fcn.140088400
mov dword [0x1404b313c], eax
call fcn.140088530
mov qword [0x1404b3198], rax
test rax, rax
je 0x1400891f0
mov qword [rbx + r14 + 0x40], rax
movsxd rcx, dword [rbx + r14 + 0x28]
add rcx, rax
mov qword [rsi + 0x30], rcx
jmp 0x1400891f0
mov rax, qword [rbx + r14 + 0x40]
test rax, rax
jne 0x1400891b1
mov rcx, qword [rbx + r14 + 8]
cmp dword [rcx - 0x10], 3
jle 0x140089180
add rcx, 0xffffffffffffffe8
call fcn.140082280
add rax, 0x18
mov qword [rbp - 0x31], rax
lea r9, [rbp - 0x31]
call fcn.1400876c0
mov rcx, qword [rbx + r14 + 0x10]
sub rcx, 0x18
call fcn.14008d330
add rax, 0x18
mov qword [rbp - 0x29], rax
lea rdx, [rbp - 0x29]
lea rcx, [0x1404b2020]
call fcn.140088400
mov dword [0x1404b313c], eax
call fcn.140088530
mov qword [0x1404b3198], rax
test rax, rax
je 0x1400891f0
mov qword [rbx + r14 + 0x40], rax
movsxd rcx, dword [rbx + r14 + 0x28]
add rcx, rax
mov qword [rsi + 0x30], rcx
mov rcx, qword [rbx + r14 + 0x20]
sub rcx, 0x18
call fcn.14008d330
add rax, 0x18
mov qword [rbp - 0x21], rax
lea rdx, [rbp - 0x21]
jmp 0x140089084
xor r13d, r13d
mov dword [0x1404b32a4], r13d
mov rbx, qword [rsp + 0x100]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret