Function at 0x140005110
Capabilities:
Enumerate gui resources

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x5c8
call fcn.14000bd80
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], edx
mov rax, qword [0x14005c130]
test rax, rax
jne 0x140005180
lea rsi, [rsp + 0x60]
lea rdi, [0x140001900]
nop dword [rax]
mov rcx, rsi
call fcn.14000c0a0
cmp rax, 0xa
jae 0x140005186
mov rcx, rdi
xor edx, edx
call sub.USER32.dll_EnumWindows
xor ecx, ecx
mov edx, 0xf4240
call fcn.140008080
mov rax, qword [0x14005c130]
test rax, rax
je 0x140005150
test al, 1
je 0x140005191
jmp 0x1400051a5
mov rax, qword [0x14005c130]
test al, 1
jne 0x1400051a5
add rsp, 0x5c8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rbx, qword [0x14005c138]
mov rcx, rbx
call fcn.1400034b0
lea rsi, [rsp + 0x3c0]
mov r8d, 0x208
mov rcx, rsi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
xor ecx, ecx
mov rdx, rsi
mov r8d, 0x104
call sub.KERNEL32.dll_GetModuleFileNameW
lea r14, [rsp + 0x5c8]
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 1
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0x20], 1
lea rdi, [rsp + 0xb8]
mov r8d, 0x82
mov r9d, 1
mov rcx, rdi
xor edx, edx
call fcn.14001fa50
mov qword [rsp + 0x1b8], rsi
mov qword [rsp + 0x1c0], r14
mov word [rsp + 0x1c8], 0
lea rcx, [rsp + 0x1b8]
mov rdx, rdi
call fcn.1400056e0
mov rsi, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xc0]
mov r12, qword [rsp + 0xc8]
mov qword [rsp + 0x20], 1
lea r15, str.icon.ico
lea r14, [rsp + 0x138]
mov rcx, r14
mov rdx, rdi
mov r8, r12
mov r9, r15
call fcn.14001ccd0
mov qword [rsp + 0x1a0], 0
mov qword [rsp + 0x1a8], r12
mov word [rsp + 0x1b0], 1
lea rcx, [rsp + 0x28]
mov rdx, r14
call fcn.1400041f0
mov r14, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
shl rbp, 4
add rbp, r14
mov qword [rsp + 0x20], 1
lea r13, [rsp + 0xb8]
mov rcx, r13
mov rdx, rdi
mov r8, r12
mov r9, r15
call fcn.14001ccd0
mov qword [rsp + 0x120], 0
mov qword [rsp + 0x128], r12
mov word [rsp + 0x130], 1
lea rcx, [rsp + 0x1b8]
mov rdx, r13
call fcn.1400041f0
mov rax, qword [rsp + 0x1c8]
dec rax
mov qword [rsp + 0x88], r14
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x88]
call fcn.140003c30
mov r12, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov qword [rsp + 0x20], 1
lea rcx, [rsp + 0x70]
mov rdx, r12
mov r9, r15
call fcn.1400044e0
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x14000539a
shl rdx, 4
mov r8d, 8
mov rcx, r12
call fcn.140005be0
mov rdx, qword [rsp + 0x1b8]
test rdx, rdx
je 0x1400053be
mov rcx, qword [rsp + 0x1c0]
shl rdx, 4
mov r8d, 8
call fcn.140005be0
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x1400053da
shl rdx, 4
mov r8d, 8
mov rcx, r14
call fcn.140005be0
lea r12, [rsp + 0x1b8]
mov r8d, 0x208
mov rcx, r12
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r14, qword [rsp + 0x78]
mov rax, qword [rsp + 0x80]
add rax, r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x30], rax
mov word [rsp + 0x38], 0
mov dword [rsp + 0x40], 1
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x28]
call fcn.140003e00
mov r15, qword [rsp + 0xa8]
lea rax, [0x14004eea1]
mov qword [rsp + 0x28], rax
lea rax, [0x14004eea9]
mov qword [rsp + 0x30], rax
mov word [rsp + 0x38], 0
mov dword [rsp + 0x40], 1
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x28]
call fcn.140003e00
mov r13, qword [rsp + 0x50]
mov rcx, r12
mov rdx, r15
mov r8, r13
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x14000549a
add rdx, rdx
mov r8d, 2
mov rcx, r13
call fcn.140005be0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x48], 0
lea rdx, [0x140003190]
lea r8, [rsp + 0x48]
mov rcx, rbx
call sub.USER32.dll_EnumChildWindows
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140005539
call sub.USER32.dll_SetFocus
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x1b8]
mov edx, 0xc
xor r8d, r8d
call sub.USER32.dll_SendMessageW
lea rdx, [0x1400032d0]
lea r8, [rsp + 0x28]
mov rcx, rbx
call sub.USER32.dll_EnumChildWindows
cmp qword [rsp + 0x28], 0
je 0x140005539
xor ecx, ecx
mov edx, 0xf4240
call fcn.140008080
mov rcx, qword [rsp + 0x28]
call fcn.140003400
xor ecx, ecx
mov edx, 0xf4240
call fcn.140008080
mov rcx, qword [rsp + 0x28]
call fcn.140003400
mov rdx, qword [rsp + 0xa0]
test rdx, rdx
je 0x140005557
add rdx, rdx
mov r8d, 2
mov rcx, r15
call fcn.140005be0
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x14000556f
mov r8d, 1
mov rcx, r14
call fcn.140005be0
test rsi, rsi
je 0x140005191
mov r8d, 1
mov rcx, rdi
mov rdx, rsi
call fcn.140005be0
jmp 0x140005191