Function at 0x14005d060
Capabilities:
Enumerate gui resources

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x9b8]
sub rsp, 0xaa0
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rbx, r9
mov r12, rdx
mov r15, rcx
sub r8d, 0x10
je 0x14005d67f
sub r8d, 0x3e
je 0x14005d6f5
sub r8d, 0xc2
je 0x14005d661
dec r8d
je 0x14005d0d5
cmp r8d, 0x107
jne 0x14005d0e0
cmp rbx, 4
je 0x14005d67f
jmp 0x14005d6f5
movzx ecx, bx
dec ecx
je 0x14005d0f8
dec ecx
je 0x14005d0e7
xor eax, eax
jmp 0x14005d6fa
mov rax, qword [r15 + 0x28c0]
xor esi, esi
mov word [rax], si
jmp 0x14005d6e7
xor esi, esi
mov word [rbp + 0x1a0], si
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp + 0x1a2]
call fcn.1400e4220
mov r9d, 0x400
lea r8, [rbp + 0x1a0]
mov edx, 0x4e9
mov rcx, qword [r15 + 0x10]
call qword [sym.imp.USER32.dll_GetDlgItemTextW]
call fcn.140004e00
mov rcx, rax
mov eax, esi
test rcx, rcx
setne al
test eax, eax
jne 0x14005d150
mov ecx, 0x80004005
call fcn.140004c30
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rcx, [rbp + 0x1a0]
lea rax, [rbp + 0x1a0]
or r14, 0xffffffffffffffff
test rax, 0xffffffffffff0000
jne 0x14005d19c
movzx ebx, cx
xor edx, edx
mov ecx, ebx
call fcn.14000bbc0
test rax, rax
je 0x14005d1c5
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14000c050
jmp 0x14005d1c5
lea rcx, [rbp + 0x1a0]
mov rax, r14
inc rax
cmp word [rcx + rax*2], 0
jne 0x14005d1a6
mov r8d, eax
lea rdx, [rbp + 0x1a0]
lea rcx, [rsp + 0x30]
call fcn.14000c250
nop
mov rdi, qword [rsp + 0x30]
mov rbx, rsi
cmp word [rdi], bx
je 0x14005d26d
nop word [rax + rax]
movzx edx, word [rdi]
lea rcx, [0x14012d1b8]
call fcn.1400e5fb4
test rax, rax
je 0x14005d1fe
test rbx, rbx
jne 0x14005d201
mov rbx, rdi
jmp 0x14005d201
mov rbx, rsi
add rdi, 2
cmp word [rdi], 0
jne 0x14005d1e0
test rbx, rbx
je 0x14005d26d
mov rax, qword [rsp + 0x30]
sub rbx, rax
sar rbx, 1
test ebx, ebx
jns 0x14005d22a
mov ecx, 0x80070057
call fcn.140004c30
int3
mov edx, 1
sub edx, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, ebx
or ecx, edx
jge 0x14005d24c
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1400096f0
mov rax, qword [rsp + 0x30]
cmp ebx, dword [rax - 0xc]
jg 0x14005d262
mov dword [rax - 0x10], ebx
movsxd rcx, ebx
mov rax, qword [rsp + 0x30]
mov word [rax + rcx*2], si
jmp 0x14005d26d
mov ecx, 0x80070057
call fcn.140004c30
int3
lea rdx, [0x14012d1b8]
lea rcx, [rsp + 0x30]
call fcn.14005d9c0
cmp word [0x14012c014], 0
je 0x14005d32d
mov rdi, qword [rsp + 0x30]
mov rbx, rsi
cmp word [rdi], bx
je 0x14005d32d
nop dword [rax]
movzx edx, word [rdi]
lea rcx, [0x14012c014]
call fcn.1400e5fb4
test rax, rax
je 0x14005d2be
test rbx, rbx
jne 0x14005d2c1
mov rbx, rdi
jmp 0x14005d2c1
mov rbx, rsi
add rdi, 2
cmp word [rdi], 0
jne 0x14005d2a0
test rbx, rbx
je 0x14005d32d
mov rax, qword [rsp + 0x30]
sub rbx, rax
sar rbx, 1
test ebx, ebx
jns 0x14005d2ea
mov ecx, 0x80070057
call fcn.140004c30
int3
mov edx, 1
sub edx, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, ebx
or ecx, edx
jge 0x14005d30c
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1400096f0
mov rax, qword [rsp + 0x30]
cmp ebx, dword [rax - 0xc]
jg 0x14005d322
mov dword [rax - 0x10], ebx
movsxd rcx, ebx
mov rax, qword [rsp + 0x30]
mov word [rax + rcx*2], si
jmp 0x14005d32d
mov ecx, 0x80070057
call fcn.140004c30
int3
lea rdx, [0x14012c014]
lea rcx, [rsp + 0x30]
call fcn.14005d9c0
mov rcx, qword [rax]
cmp dword [rcx - 0x10], 0
jle 0x14005d5c0
call fcn.14005d970
mov rdi, rax
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rsi
mov word [rsp + 0x38], si
xor r8d, r8d
lea rdx, [0x1401226e8]
lea rcx, [rsp + 0x38]
call fcn.1400076c0
nop
mov rax, qword [rdi + 0x50]
mov rbx, qword [rax]
cmp rbx, rax
je 0x14005d44c
nop dword [rax + rax]
mov rcx, qword [rbx + 0x40]
add rcx, 8
mov r9, qword [rsp + 0x30]
cmp word [r9], 0
jne 0x14005d3a9
mov rax, rsi
jmp 0x14005d3bb
mov rax, r14
nop dword [rax]
inc rax
cmp word [r9 + rax*2], 0
jne 0x14005d3b0
mov qword [rsp + 0x20], rax
mov r8, qword [rcx + 0x10]
xor edx, edx
call fcn.140034ee0
test eax, eax
je 0x14005d42a
cmp byte [rbx + 0x19], 0
jne 0x14005d41e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14005d3fe
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14005d41e
nop dword [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14005d3f0
jmp 0x14005d41e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14005d41b
cmp rbx, qword [rax + 0x10]
jne 0x14005d41b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14005d408
mov rbx, rax
cmp rbx, qword [rdi + 0x50]
jne 0x14005d390
jmp 0x14005d44c
mov rdx, qword [rbx + 0x40]
add rdx, 0x28
lea rax, [rsp + 0x38]
cmp rax, rdx
je 0x14005d44c
mov r9, r14
xor r8d, r8d
lea rcx, [rsp + 0x38]
call fcn.140007570
mov r9, qword [rsp + 0x48]
test r9, r9
je 0x14005d583
cmp qword [r15 + 0x28d8], 0
je 0x14005d4eb
lea rcx, [r15 + 0x28c8]
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rdx, qword [rsp + 0x38]
mov r10, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 8
jb 0x14005d48e
mov rcx, qword [rcx]
mov r8, r9
cmp r10, r9
cmovb r8, r10
test r8, r8
jmp 0x14005d4c4
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x14005d4b5
add rcx, 2
add rdx, 2
dec r8
jmp 0x14005d4c4
mov r8d, 1
cmp word [rcx], ax
cmovb r8d, r14d
jmp 0x14005d4c9
jne 0x14005d4a0
mov r8d, esi
movsxd rax, r8d
test r8d, r8d
jne 0x14005d4e3
cmp r10, r9
jae 0x14005d4db
mov eax, r14d
jmp 0x14005d4e3
mov eax, esi
cmp r10, r9
setne al
test eax, eax
je 0x14005d583
xor r8d, r8d
mov dword [rsp + 0x20], esi
mov r9, qword [r15 + 8]
mov edx, reloc.OLEAUT32.dll_VarDecFix
lea rcx, [rsp + 0x70]
call fcn.1400b0550
mov rbx, rax
xor r8d, r8d
mov dword [rsp + 0x20], esi
mov r9, qword [r15 + 8]
mov edx, 0x4f6
lea rcx, [rsp + 0x60]
call fcn.1400b0550
nop
xor r9d, r9d
mov r8, qword [rbx]
mov rdx, qword [rax]
mov rcx, qword [r15 + 0x10]
call fcn.1400b1160
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14005d550
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14005d569
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edx, 0x4e9
mov rcx, qword [r15 + 0x10]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetFocus]
jmp 0x14005d5a8
mov r8, qword [rsp + 0x30]
mov edx, 0x400
mov rcx, qword [r15 + 0x28c0]
call fcn.1400e59b4
mov edx, 1
mov rcx, r12
call qword [sym.imp.USER32.dll_EndDialog]
nop
cmp qword [rsp + 0x50], 8
jb 0x14005d63f
mov rcx, qword [rsp + 0x38]
call fcn.1400e4058
jmp 0x14005d63f
xor r8d, r8d
mov dword [rsp + 0x20], esi
mov r9, qword [r15 + 8]
mov edx, reloc.OLEAUT32.dll_VarDecFix
lea rcx, [rsp + 0x58]
call fcn.1400b0550
mov rbx, rax
xor r8d, r8d
mov dword [rsp + 0x20], esi
mov r9, qword [r15 + 8]
mov edx, 0x4f5
lea rcx, [rsp + 0x78]
call fcn.1400b0550
nop
xor r9d, r9d
mov r8, qword [rbx]
mov rdx, qword [rax]
mov rcx, qword [r15 + 0x10]
call fcn.1400b1160
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14005d625
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14005d63f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14005d6f5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14005d6f5
call fcn.140038d30
mov r9, qword [rbp + 0x9e0]
mov r8, rbx
mov rdx, r12
mov rcx, r15
call fcn.14005d730
cdqe
jmp 0x14005d6fa
mov rax, qword [rcx + 0x10]
mov qword [rbp - 0x70], rax
xor r8d, r8d
xor esi, esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov edx, reloc.OLEAUT32.dll_VarDecFix
lea rcx, [rsp + 0x68]
call fcn.1400b0550
mov r8, qword [rax]
mov edx, 0x104
lea rcx, [rbp - 0x68]
call fcn.1400e59b4
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14005d6cc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rbp - 0x70]
lea rcx, [0x1400c86f0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [r15 + 0x28c0]
mov word [rcx], si
mov edx, 2
mov rcx, r12
call qword [sym.imp.USER32.dll_EndDialog]
mov eax, 1
lea r11, [rsp + 0xaa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret