Function at 0x140029128
Capabilities:
Enumerate gui resources

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 0x18], r8
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x150
mov rdi, rcx
call fcn.140028aa8
mov rax, qword [rdi]
xor r13d, r13d
cmp dword [rax], r13d
jbe 0x140029446
mov rax, qword [rdi + 8]
cmp dword [rax], r13d
jbe 0x140029446
mov rdx, rdi
lea rcx, [0x140028f30]
call qword [sym.imp.USER32.dll_EnumWindows]
xor edx, edx
lea r8d, [r13 + 0x58]
lea rcx, [rsp + 0x30]
call fcn.140130a00
mov rax, qword [rdi + 8]
mov r14d, r13d
or qword [rsp + 0x48], 0xffffffffffffffff
or dword [rsp + 0x54], 0xffffffff
mov dword [rsp + 0x30], FDIIsCabinet
mov qword [rsp + 0x3c], r13
cmp dword [rax], r13d
jbe 0x140029435
mov rax, qword [rax + 0x10]
mov r12d, r14d
movsxd r15, dword [rax + r12*4]
cmp r15d, 0xffffffff
je 0x140029425
mov r13, qword [rdi + 0x18]
lea rcx, [rbp - 0x70]
xor edx, edx
lea r8d, [rdx + 0x58]
call fcn.140130a00
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
mov rcx, r13
call qword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
mov dword [rbp - 0x70], 4
mov rsi, rax
test eax, eax
jle 0x14002922f
lea r9, [rbp - 0x70]
mov dword [rbp - 0x6c], ebx
xor r8d, r8d
mov edx, 0x1005
mov rcx, r13
call qword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x140029229
cmp qword [rbp - 0x48], r12
je 0x140029232
inc ebx
cmp ebx, esi
jl 0x140029207
or ebx, 0xffffffff
mov rax, qword [rdi]
imul rsi, r15, 0x520
add rsi, qword [rax + 0x10]
mov eax, dword [rsi + 0x508]
test al, 0x10
je 0x1400292fc
mov rcx, qword [rsi + 0x510]
test rcx, rcx
je 0x140029260
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsi + 0x518]
test rcx, rcx
je 0x140029272
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0xffffffff
je 0x14002928c
mov rcx, qword [rdi + 0x18]
xor r9d, r9d
movsxd r8, ebx
mov edx, 0x1008
call qword [sym.imp.USER32.dll_SendMessageA]
mov rdx, qword [rdi]
mov r9d, r15d
mov rcx, qword [rdi + 8]
mov r8d, r14d
call fcn.140029074
movsxd rax, r14d
cmp rax, qword [rdi + 0x20]
jne 0x140029425
mov rcx, qword [rdi + 0x18]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
call qword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jle 0x1400292f2
lea ecx, [rax - 1]
cmp ebx, eax
mov esi, 2
lea r9, [rbp - 0x10]
cmovl ecx, ebx
mov dword [rbp], esi
movsxd r8, ecx
mov edx, 0x102b
mov rcx, qword [rdi + 0x18]
mov dword [rbp - 4], esi
call qword [sym.imp.USER32.dll_SendMessageA]
jmp 0x140029425
or qword [rdi + 0x20], 0xffffffffffffffff
jmp 0x140029425
test al, 2
je 0x140029322
mov rcx, qword [rdi + 0x18]
mov edx, 0x1015
movsxd r8, ebx
mov r9, r8
call qword [sym.imp.USER32.dll_SendMessageA]
and dword [rsi + 0x508], 0xfffffffd
mov eax, dword [rsi + 0x508]
test al, 1
je 0x14002941c
xor r13d, r13d
cmp qword [rdi + 0x10], r13
je 0x1400293d2
mov ecx, eax
call fcn.14002981c
movsxd rcx, eax
cmp dword [rdi + rcx*4 + 0x28], 0xffffffff
jne 0x1400293d2
lea rcx, [rsi + 4]
mov dword [rsp + 0x20], 1
lea r9, [rbp + 0x90]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.SHELL32.dll_ExtractIconExA]
test eax, eax
jne 0x14002939f
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rbp + 0x90], rax
mov edx, 0x30303030
mov rax, qword [0x14021eec0]
lea rcx, [0x14021eec0]
mov rax, qword [rax + 8]
call qword [case.0x14000c75c.0]
mov ecx, dword [rsi + 0x508]
call fcn.14002981c
mov r8, qword [rbp + 0x90]
or edx, 0xffffffff
mov rcx, qword [rdi + 0x10]
movsxd rbx, eax
call qword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov rcx, qword [rbp + 0x90]
mov dword [rdi + rbx*4 + 0x28], eax
call qword [sym.imp.GDI32.dll_DeleteObject]
lea rdx, [rsi + 0x108]
cmp byte [rdx], r13b
jne 0x1400293e9
mov ecx, dword [rsi + 0x508]
call fcn.140028e10
mov rax, qword [rdi]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, 0x1007
mov ecx, dword [rax]
mov dword [rsp + 0x34], ecx
mov rcx, qword [rdi + 0x18]
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x58], r12
call qword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [rsi + 0x508]
and eax, 0xfffffffe
or eax, 0x10
mov dword [rsi + 0x508], eax
mov rax, qword [rdi + 8]
inc r14d
cmp r14d, dword [rax]
jb 0x1400291bb
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rax, qword [rdi]
mov eax, dword [rax]
jmp 0x140029448
xor eax, eax
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret