Function at 0x14000c510
Capabilities:
Enumerate gui resources

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x188]
sub rsp, 0x260
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x140160188]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov rsi, rcx
xor r13d, r13d
mov dword [rsp + 0x30], r13d
mov rcx, qword [rcx + 0x78]
cmp qword [rcx + 0x260], r13
jne 0x14000c58e
call fcn.140009150
mov edx, 0x17ed
lea rcx, [0x140009d00]
call qword [sym.imp.USER32.dll_EnumWindows]
xor al, al
jmp 0x14000d010
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r13
mov r14, qword [rsi + 0x78]
add r14, 0x250
movdqu xmmword [rbp - 0x10], xmm0
movdqa xmm1, xmmword [0x14012f590]
movdqu xmmword [rbp - 0x10], xmm1
mov word [rbp - 0x20], r13w
mov dword [rsp + 0x30], 1
lea r15, [r14 + 0x10]
mov rdx, qword [r15]
add rdx, 7
lea rcx, [rbp - 0x20]
call fcn.14000f080
mov rcx, qword [rbp - 0x10]
mov rdx, qword [rbp - 8]
mov rax, rdx
sub rax, rcx
cmp rax, 7
jb 0x14000c620
lea rdi, [rcx + 7]
mov qword [rbp - 0x10], rdi
lea rbx, [rbp - 0x20]
cmp rdx, 8
cmovae rbx, qword [rbp - 0x20]
lea rcx, [rbx + rcx*2]
mov r8d, InitCommonControls
lea rdx, str.Bearer
call fcn.1400d0d10
mov word [rbx + rdi*2], r13w
jmp 0x14000c63e
mov qword [rsp + 0x20], 7
lea r9, str.Bearer
mov edx, 7
lea rcx, [rbp - 0x20]
call fcn.14000a0f0
cmp qword [r14 + 0x18], 8
jb 0x14000c648
mov r14, qword [r14]
mov rdx, qword [r15]
mov rcx, qword [rbp - 0x10]
mov r8, qword [rbp - 8]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x14000c68a
lea rdi, [rcx + rdx]
mov qword [rbp - 0x10], rdi
lea rbx, [rbp - 0x20]
cmp r8, 8
cmovae rbx, qword [rbp - 0x20]
lea r8, [rdx + rdx]
lea rcx, [rbx + rcx*2]
mov rdx, r14
call fcn.1400d0d10
mov word [rbx + rdi*2], r13w
jmp 0x14000c69c
mov qword [rsp + 0x20], rdx
mov r9, r14
lea rcx, [rbp - 0x20]
call fcn.14000a0f0
nop
lea rax, str.Authorization
mov qword [rbp + 8], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x20], xmm0
movups xmm6, xmmword [rbp - 0x20]
movups xmmword [rbp + 0x10], xmm6
movups xmm7, xmmword [rbp - 0x10]
movdqu xmmword [rbp + 0x20], xmm7
movdqa xmm0, xmmword [0x14012f590]
movdqu xmmword [rbp - 0x10], xmm0
mov word [rbp - 0x20], r13w
mov dword [rsp + 0x30], 3
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x40], xmm0
movdqa xmm1, xmmword [0x14012f590]
movdqa xmmword [rbp + 0x40], xmm1
mov word [rbp + 0x30], r13w
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x14000c700
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.140003470
nop
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x60], xmm0
movaps xmmword [rbp + 0x50], xmm6
movaps xmmword [rbp + 0x60], xmm7
movdqa xmm0, xmmword [0x14012f590]
movdqu xmmword [rbp + 0x20], xmm0
mov word [rbp + 0x10], r13w
mov rdx, qword [rsp + 0x40]
cmp qword [rsp + 0x48], rdx
je 0x14000c7a6
mov qword [rsp + 0x50], rdx
mov qword [rdx + 0x10], r13
mov qword [rdx + 0x18], r13
movaps xmm0, xmmword [rbp + 0x30]
movups xmmword [rdx], xmm0
movaps xmm1, xmmword [rbp + 0x40]
movups xmmword [rdx + 0x10], xmm1
movdqa xmm0, xmmword [0x14012f590]
movdqa xmmword [rbp + 0x40], xmm0
mov word [rbp + 0x30], r13w
mov qword [rdx + 0x30], r13
mov qword [rdx + 0x38], r13
movaps xmm0, xmmword [rbp + 0x50]
movups xmmword [rdx + 0x20], xmm0
movaps xmm1, xmmword [rbp + 0x60]
movups xmmword [rdx + 0x30], xmm1
movdqa xmm0, xmmword [0x14012f590]
movdqa xmmword [rbp + 0x60], xmm0
mov word [rbp + 0x50], r13w
add qword [rsp + 0x40], 0x40
jmp 0x14000c7b5
lea r8, [rbp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14000ecf0
nop
lea rcx, [rbp + 0x30]
call fcn.14000d0f0
mov r14d, 3
and r14d, 0xfffffffd
mov dword [rsp + 0x30], r14d
movdqa xmm0, xmmword [0x14012f590]
movdqu xmmword [rbp + 0x20], xmm0
mov word [rbp + 0x10], r13w
and r14d, 0xfffffffe
mov dword [rsp + 0x30], r14d
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x14000c828
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c823
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d050
call fcn.1400cea54
movdqa xmm0, xmmword [0x14012f590]
movdqu xmmword [rbp - 0x10], xmm0
mov word [rbp - 0x20], r13w
lea rdx, [rsp + 0x38]
lea rcx, [rsi + 8]
call fcn.140039d30
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xa0], xmm0
movdqa xmm1, xmmword [0x14012f5a0]
movdqu xmmword [rbp + 0xa0], xmm1
mov byte [rbp + 0x90], 0
lea rdx, [rbp + 0x90]
mov rcx, rsi
call fcn.14000e230
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x18], xmm0
movdqa xmm1, xmmword [0x14012f5a0]
movdqu xmmword [rbp + 0x18], xmm1
mov byte [rbp + 8], 0
mov r8d, 3
lea rdx, [0x140129768]
lea rcx, [rbp + 8]
call fcn.14000ba50
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x40], xmm0
movdqa xmm1, xmmword [0x14012f5a0]
movdqu xmmword [rbp + 0x40], xmm1
mov byte [rbp + 0x30], 0
mov r8d, 0x20
lea rdx, str.c6456bfa0e6312b0ccfe238a4c0dcabd
lea rcx, [rbp + 0x30]
call fcn.14000ba50
nop
lea r9, [rbp + 8]
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x20]
call fcn.14000aa20
mov rbx, rax
lea rax, [rbp + 0x90]
cmp rax, rbx
je 0x14000c930
lea rcx, [rbp + 0x90]
call fcn.14000b860
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x90], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0xa0], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], InitCommonControls
mov byte [rbx], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x14000c96b
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c966
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d056
call fcn.1400cea54
movdqa xmm0, xmmword [0x14012f5a0]
movdqu xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x14000c9b7
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c9b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d05c
call fcn.1400cea54
movdqa xmm0, xmmword [0x14012f5a0]
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], 0
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x14000ca03
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c9fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d062
call fcn.1400cea54
movdqa xmm0, xmmword [0x14012f5a0]
movdqu xmmword [rbp + 0x18], xmm0
mov byte [rbp + 8], 0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x80], xmm1
movdqu xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x70], 0
mov rdx, qword [rsi + 0x78]
lea r8, [rdx + 0x3b8]
add rdx, 0x398
lea rax, [rbp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x90]
lea rcx, [rsi + 8]
call fcn.14003a9c0
test al, al
jne 0x14000caac
mov rax, qword [rsi + 0x78]
lea r8, [rax + 0x3b8]
lea rdx, [rax + 0x398]
lea rax, [rbp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x90]
lea rcx, [rsi + 8]
call fcn.140039de0
test al, al
jne 0x14000caac
mov rcx, qword [rsi + 0x78]
call fcn.140009150
mov edx, 0x17ed
lea rcx, [0x140009d00]
call qword [sym.imp.USER32.dll_EnumWindows]
xor sil, sil
jmp 0x14000cfa9
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x40], xmm0
movdqa xmm1, xmmword [0x14012f5a0]
movdqu xmmword [rbp + 0x40], xmm1
mov byte [rbp + 0x30], 0
movdqu xmmword [rbp + 0x18], xmm0
movdqu xmmword [rbp + 0x18], xmm1
mov byte [rbp + 8], 0
mov r8d, 0x20
lea rdx, str.c6456bfa0e6312b0ccfe238a4c0dcabd
lea rcx, [rbp + 8]
call fcn.14000ba50
nop
lea r9, [rbp + 0x30]
lea r8, [rbp + 8]
lea rdx, [rbp + 0x70]
call fcn.14000bfa0
movzx ebx, al
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x14000cb39
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cb34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d04a
call fcn.1400cea54
movdqa xmm0, xmmword [0x14012f5a0]
movdqu xmmword [rbp + 0x18], xmm0
mov byte [rbp + 8], 0
test bl, bl
je 0x14000ce66
lea rax, str.LOG_TOKEN_ALREADY_EXPIRE
mov rbx, rdi
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14000cb60
lea rcx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0x10
cmovae rcx, qword [rbp + 0x30]
mov r15, qword [rbp + 0x40]
mov r8, r15
cmp rbx, r15
cmovb r8, rbx
mov rdx, rax
call fcn.1400d1500
test eax, eax
jne 0x14000ce66
cmp r15, rbx
jb 0x14000ce66
ja 0x14000ce66
mov rbx, qword [rsi + 0x78]
lea rax, vtable.RC::RCRefreshToken.0
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x68]
call fcn.140039b60
nop
mov qword [rbp - 0x28], rbx
cmp qword [rbp - 0x28], 0
je 0x14000cf33
lea rcx, [rsp + 0x60]
call fcn.14000f480
test al, al
je 0x14000cf33
mov r15, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
cmp rbx, r15
je 0x14000cc06
nop
mov rcx, rbx
call fcn.14000d0f0
add rbx, 0x40
cmp rbx, r15
jne 0x14000cbf0
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x40], rbx
mov r8, qword [rsi + 0x78]
add r8, 0x250
lea rdx, str.Bearer
lea rcx, [rbp + 8]
call fcn.14000eba0
nop
lea rcx, str.Authorization
mov qword [rbp - 0x20], rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 8], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 8], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
or r14d, 4
mov dword [rsp + 0x30], r14d
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0xf0]
call fcn.14000ec60
nop
mov rdx, qword [rsp + 0x40]
cmp qword [rsp + 0x48], rdx
je 0x14000ccf7
mov qword [rsp + 0x50], rdx
mov qword [rdx + 0x10], r13
mov qword [rdx + 0x18], r13
movaps xmm0, xmmword [rbp + 0xf0]
movups xmmword [rdx], xmm0
movaps xmm1, xmmword [rbp + 0x100]
movups xmmword [rdx + 0x10], xmm1
movdqa xmm0, xmmword [0x14012f590]
movdqa xmmword [rbp + 0x100], xmm0
mov word [rbp + 0xf0], r13w
mov qword [rdx + 0x30], r13
mov qword [rdx + 0x38], r13
movaps xmm0, xmmword [rbp + 0x110]
movups xmmword [rdx + 0x20], xmm0
movaps xmm1, xmmword [rbp + 0x120]
movups xmmword [rdx + 0x30], xmm1
movdqa xmm0, xmmword [0x14012f590]
movdqa xmmword [rbp + 0x120], xmm0
mov word [rbp + 0x110], r13w
add qword [rsp + 0x40], 0x40
jmp 0x14000cd09
lea r8, [rbp + 0xf0]
lea rcx, [rsp + 0x38]
call fcn.14000ecf0
nop
lea rcx, [rbp + 0xf0]
call fcn.14000d0f0
and r14d, 0xfffffffb
mov dword [rsp + 0x30], r14d
lea rcx, [rbp - 0x18]
call fcn.140003260
nop
lea rcx, [rbp + 8]
call fcn.140003260
lea rcx, [rsi + 0x20]
call fcn.14000e630
lea rdx, [rsp + 0x38]
lea rcx, [rsi + 8]
call fcn.140039d30
mov rdx, qword [rsi + 0x78]
lea r8, [rdx + 0x3b8]
add rdx, 0x398
lea rax, [rbp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x90]
lea rcx, [rsi + 8]
call fcn.14003a9c0
test al, al
je 0x14000cf33
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
movdqa xmm1, xmmword [0x14012f5a0]
movdqu xmmword [rbp - 0x10], xmm1
mov byte [rbp - 0x20], 0
movdqu xmmword [rbp + 0x18], xmm0
movdqu xmmword [rbp + 0x18], xmm1
mov byte [rbp + 8], 0
mov r8d, 0x20
lea rdx, str.c6456bfa0e6312b0ccfe238a4c0dcabd
lea rcx, [rbp + 8]
call fcn.14000ba50
nop
lea r9, [rbp - 0x20]
lea r8, [rbp + 8]
lea rdx, [rbp + 0x70]
call fcn.14000bfa0
movzx ebx, al
lea rcx, [rbp + 8]
call fcn.14000b7f0
test bl, bl
je 0x14000ce46
lea rdx, str.LOG_TOKEN_ALREADY_EXPIRE
inc rdi
cmp byte [rdx + rdi], 0
jne 0x14000cde1
lea rcx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0x10
cmovae rcx, qword [rbp + 0x70]
mov rbx, qword [rbp + 0x80]
mov r8, rbx
cmp rdi, rbx
cmovb r8, rdi
call fcn.1400d1500
test eax, eax
jne 0x14000ce46
cmp rbx, rdi
jb 0x14000ce46
ja 0x14000ce46
mov rcx, qword [rsi + 0x78]
call fcn.140009150
mov edx, 0x17ed
lea rcx, [0x140009d00]
call qword [sym.imp.USER32.dll_EnumWindows]
nop
lea rcx, [rbp - 0x20]
call fcn.14000b7f0
jmp 0x14000cf4f
lea rcx, [rbp - 0x20]
call fcn.14000b7f0
nop
lea rax, vtable.RC::RCRefreshToken.0
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x68]
call fcn.140039be0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x18], xmm0
movdqa xmm1, xmmword [0x14012f5a0]
movdqu xmmword [rbp + 0x18], xmm1
mov byte [rbp + 8], 0
movdqu xmmword [rbp + 0xc0], xmm0
movdqu xmmword [rbp + 0xc0], xmm1
mov byte [rbp + 0xb0], 0
mov r8d, 0x20
lea rdx, str.c6456bfa0e6312b0ccfe238a4c0dcabd
lea rcx, [rbp + 0xb0]
call fcn.14000ba50
nop
lea rdx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0x10
cmovae rdx, qword [rbp + 0xb0]
mov r8, qword [rbp + 0xc0]
lea rcx, [rbp + 8]
call fcn.14000ba50
nop
lea rcx, [rbp + 0xb0]
call fcn.14000b7f0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xe0], xmm0
movdqa xmm1, xmmword [0x14012f5a0]
movdqu xmmword [rbp + 0xe0], xmm1
mov byte [rbp + 0xd0], 0
lea r8, [rbp + 0xd0]
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 8]
call fcn.140036100
test al, al
je 0x14000cf6a
mov rax, qword [rsi]
lea rdx, [rbp + 0xd0]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov sil, 1
jmp 0x14000cf88
mov rcx, qword [rsi + 0x78]
call fcn.140009150
mov edx, 0x17ed
lea rcx, [0x140009d00]
call qword [sym.imp.USER32.dll_EnumWindows]
nop
lea rax, vtable.RC::RCRefreshToken.0
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x68]
call fcn.140039be0
xor sil, sil
jmp 0x14000cf9f
mov rcx, qword [rsi + 0x78]
call fcn.140009150
mov edx, 0x17ed
lea rcx, [0x140009d00]
call qword [sym.imp.USER32.dll_EnumWindows]
xor sil, sil
lea rcx, [rbp + 0xd0]
call fcn.14000b7f0
nop
lea rcx, [rbp + 8]
call fcn.14000b7f0
nop
lea rcx, [rbp + 0x30]
call fcn.14000b7f0
nop
lea rcx, [rbp + 0x70]
call fcn.14000b7f0
nop
lea rcx, [rbp + 0x90]
call fcn.14000b7f0
nop
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x14000d00c
mov rdi, qword [rsp + 0x40]
cmp rbx, rdi
je 0x14000cfea
mov rcx, rbx
call fcn.14000d0f0
add rbx, 0x40
cmp rbx, rdi
jne 0x14000cfd4
mov rbx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x48]
sub r8, rbx
sar r8, 6
mov rdx, rbx
call fcn.14000eb50
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r13
movzx eax, sil
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.1400ce670
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400d3cc4
nop
call fcn.1400d3cc4
nop
call fcn.1400d3cc4
nop
call fcn.1400d3cc4
nop
call fcn.1400d3cc4
int3