Function at 0x140004ec0
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.14000bb30
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], edx
mov rax, qword [0x140683130]
test rax, rax
jne 0x140004f30
lea rsi, [rsp + 0x60]
lea rdi, [0x140001900]
nop dword [rax]
mov rcx, rsi
call fcn.14000be50
cmp rax, 0xa
jae 0x140004f36
mov rcx, rdi
xor edx, edx
call sub.USER32.dll_EnumWindows
xor ecx, ecx
mov edx, 0xf4240
call fcn.140007e30
mov rax, qword [0x140683130]
test rax, rax
je 0x140004f00
test al, 1
je 0x140004f41
jmp 0x140004f55
mov rax, qword [0x140683130]
test al, 1
jne 0x140004f55
add rsp, 0x5c8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rbx, qword [0x140683138]
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.14001f800
mov qword [rsp + 0x1b8], rsi
mov qword [rsp + 0x1c0], r14
mov word [rsp + 0x1c8], 0
lea rcx, [rsp + 0x1b8]
mov rdx, rdi
call fcn.140005490
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.14001ca80
mov qword [rsp + 0x1a0], 0
mov qword [rsp + 0x1a8], r12
mov word [rsp + 0x1b0], 1
lea rcx, [rsp + 0x28]
mov rdx, r14
call fcn.140003fa0
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.14001ca80
mov qword [rsp + 0x120], 0
mov qword [rsp + 0x128], r12
mov word [rsp + 0x130], 1
lea rcx, [rsp + 0x1b8]
mov rdx, r13
call fcn.140003fa0
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.1400039e0
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.140004290
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x140005142
shl rdx, 4
mov r8d, 8
mov rcx, r12
call fcn.140005990
mov rdx, qword [rsp + 0x1b8]
test rdx, rdx
je 0x140005166
mov rcx, qword [rsp + 0x1c0]
shl rdx, 4
mov r8d, 8
call fcn.140005990
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x140005182
shl rdx, 4
mov r8d, 8
mov rcx, r14
call fcn.140005990
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.140003bb0
mov r15, qword [rsp + 0xa8]
lea rax, [0x140676239]
mov qword [rsp + 0x28], rax
lea rax, [0x140676241]
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.140003bb0
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 0x140005242
add rdx, rdx
mov r8d, 2
mov rcx, r13
call fcn.140005990
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x48], 0
lea rdx, [0x140003030]
lea r8, [rsp + 0x48]
mov rcx, rbx
call sub.USER32.dll_EnumChildWindows
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400052e1
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, [0x140003170]
lea r8, [rsp + 0x28]
mov rcx, rbx
call sub.USER32.dll_EnumChildWindows
cmp qword [rsp + 0x28], 0
je 0x1400052e1
xor ecx, ecx
mov edx, 0xf4240
call fcn.140007e30
mov rcx, qword [rsp + 0x28]
call fcn.1400032a0
xor ecx, ecx
mov edx, 0xf4240
call fcn.140007e30
mov rcx, qword [rsp + 0x28]
call fcn.1400032a0
mov rdx, qword [rsp + 0xa0]
test rdx, rdx
je 0x1400052ff
add rdx, rdx
mov r8d, 2
mov rcx, r15
call fcn.140005990
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x140005317
mov r8d, 1
mov rcx, r14
call fcn.140005990
test rsi, rsi
je 0x140004f41
mov r8d, 1
mov rcx, rdi
mov rdx, rsi
call fcn.140005990
jmp 0x140004f41