Function at 0x52ea70
Capabilities:
Enumerate gui resources

Disassembly:
push rbp
push r13
push rdi
push rsi
push rbx
mov eax, 0xd30
sub rax, 0x1000
mov byte [rsp + rax], al
cmp rax, 0xffffffffffffbd30
ja 0x52ea7b
sub rsp, 0x42d0
mov rbp, rsp
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0x98], 0
nop
lea rcx, [0x0052e430]
xor edx, edx
call sub.user32.dll_EnumWindows
lea rcx, [rbp + 0xa8]
call fcn.0040f0a0
lea rcx, [rbp + 0x2d0]
mov edx, 0x4000
lea r8, [rbp + 0x2cc]
call fcn.0041d030
test eax, eax
je 0x52edda
xor ecx, ecx
mov esi, dword [rbp + 0x2cc]
shr esi, 2
sub esi, 1
mov eax, ecx
cmp eax, esi
jg 0x52edd8
sub esi, ecx
add esi, 1
lea rbx, [rbp + 0x2d0]
mov ecx, 0x410
xor edx, edx
mov r8d, dword [rbx]
call sub.kernel32.dll_OpenProcess
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x38]
test rax, rax
jbe 0x52edc9
mov rcx, qword [rbp + 0x38]
lea rdx, [rbp + 0x2c0]
mov r8d, 4
lea r9, [rbp + 0x2c8]
call fcn.0041d070
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x2c0]
lea r8, [rbp + 0xb6]
mov r9d, 0x20a
call fcn.0041d0b0
lea rcx, [rbp + 0x88]
lea rdx, [rbp + 0xb6]
mov r8d, 0x105
call fcn.004104c0
lea rcx, [rbp + 0xa8]
mov edx, 3
mov r8, qword [rbp + 0xa8]
lea r9, [0x0052ee90]
mov rax, qword [rbp + 0x88]
mov qword [rsp + 0x20], rax
call fcn.00410920
lea rcx, [rbp + 0x98]
mov rdx, qword [rbp + 0xa8]
lea r8, [0x0052ee90]
call fcn.0052e1f0
mov rax, qword [rbp + 0x98]
test rax, rax
je 0x52ec1c
mov rax, qword [rax - 8]
xor ecx, ecx
lea r13, [rax - 1]
mov eax, ecx
cmp eax, r13d
mov dword [rbp + 0x34], eax
jg 0x52edbf
sub r13d, ecx
add r13d, 1
mov edi, dword [rbp + 0x34]
movsxd rdi, edi
mov rax, qword [rbp + 0x98]
mov rax, qword [rax + rdi*8]
mov rcx, rax
lea rdx, [0x0052eea0]
call fcn.0052e160
test al, al
je 0x52ecf6
lea rcx, [rbp + 0x80]
mov rax, qword [rbp + 0x98]
mov rdx, qword [rax + rdi*8]
call fcn.0042f5c0
lea rcx, [rbp + 0x78]
lea rdx, [0x0052eeb4]
call fcn.0052e350
lea rcx, [rbp + 0xa0]
mov rdx, qword [rbp + 0x80]
mov r8, qword [rbp + 0x78]
call fcn.004107f0
mov rcx, qword [rbp + 0xa0]
mov dl, 1
call fcn.0042f470
test al, al
je 0x52ecf6
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x58], rax
lea rax, [rbp + 0x58]
mov qword [rbp + 0x60], rax
mov byte [rbp + 0x68], 0x10
lea rcx, [rbp + 0x70]
lea rdx, [0x0052eedc]
lea r8, [rbp + 0x60]
xor r9, r9
call fcn.0042fc70
mov rcx, qword [rbp + 0x70]
call fcn.0042ed70
movsxd rcx, eax
mov edx, 0x12
xor r8, r8
xor r9, r9
call sub.user32.dll_PostMessageW
mov rax, qword [rbp + 0x98]
mov rax, qword [rax + rdi*8]
mov rcx, rax
lea rdx, [0x0052eef0]
call fcn.0052e160
test al, al
je 0x52eda9
lea rcx, [rbp + 0x50]
mov rax, qword [rbp + 0x98]
mov rdx, qword [rax + rdi*8]
call fcn.0042f5c0
lea rcx, [rbp + 0x48]
lea rdx, [0x0052ef04]
call fcn.0052e350
lea rcx, [rbp + 0xa0]
mov rdx, qword [rbp + 0x50]
mov r8, qword [rbp + 0x48]
call fcn.004107f0
mov rcx, qword [rbp + 0xa0]
mov dl, 1
call fcn.0042f470
test al, al
je 0x52eda9
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x58], rax
lea rax, [rbp + 0x58]
mov qword [rbp + 0x60], rax
mov byte [rbp + 0x68], 0x10
lea rcx, [rbp + 0x40]
lea rdx, [0x0052eedc]
lea r8, [rbp + 0x60]
xor r9, r9
call fcn.0042fc70
mov rcx, qword [rbp + 0x40]
call fcn.0042ed70
movsxd rcx, eax
mov edx, 0x12
xor r8, r8
xor r9, r9
call sub.user32.dll_PostMessageW
mov eax, dword [rbp + 0x34]
add eax, 1
mov dword [rbp + 0x34], eax
sub r13d, 1
test r13d, r13d
jne 0x52ec37
nop
mov rcx, qword [rbp + 0x38]
call sub.kernel32.dll_CloseHandle
add rbx, 4
sub esi, 1
test esi, esi
jne 0x52eb54
nop
nop
lea rcx, [rbp + 0x40]
mov edx, 3
call fcn.0040f180
lea rcx, [rbp + 0x70]
mov edx, 4
call fcn.0040f180
lea rcx, [rbp + 0x98]
mov rdx, qword [0x0041a630]
call fcn.00413680
lea rcx, [rbp + 0xa0]
mov edx, 2
call fcn.0040f180
lea rsp, [rbp + 0x42d0]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret