Function at 0x140096150
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push rsi
push rdi
push r13
lea rbp, [rsp - 0x788]
sub rsp, 0x888
mov rax, qword gs:[0x58]
xor r13d, r13d
mov rsi, rcx
mov r8d, InitCommonControls
mov ecx, dword [0x14022faf0]
lea edi, [r13 + 6]
mov rdx, qword [rax + rcx*8]
mov eax, dword [r8 + rdx]
cmp dword [0x14022ee90], eax
jg 0x140096b38
cmp qword [0x14022ee48], r13
mov qword [rsp + 0x8b0], rbx
mov qword [rsp + 0x8b8], r12
mov qword [rsp + 0x8c0], r14
mov qword [rsp + 0x880], r15
je 0x1400964b9
xor r8d, r8d
mov qword [rsp + 0x50], r13
mov edx, 0x104
mov qword [rsp + 0x58], 7
lea rcx, [rsp + 0x40]
mov word [rsp + 0x40], r13w
call fcn.140003180
cmp qword [rsp + 0x58], 8
lea rbx, [rsp + 0x40]
cmovae rbx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r8d, dword [rsp + 0x50]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x70], r13
lea rdx, [0x1401ed8f4]
mov qword [rsp + 0x78], 7
lea rcx, [rsp + 0x40]
mov word [rsp + 0x60], r13w
call fcn.140081fa0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
lea r8, [rax + 1]
cmp qword [rsp + 0x50], r8
cmovb r8, qword [rsp + 0x50]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
call fcn.140003280
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1400962ad
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400962a8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140096cce
call fcn.14017b7ac
movdqa xmm0, xmmword [0x1401f8bd0]
lea rcx, [rbp - 0x80]
mov rbx, qword [rsp + 0x70]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r13w
lea rdx, [rbx + 6]
call fcn.14000ec30
cmp qword [rsp + 0x78], 8
lea rdx, [rsp + 0x60]
mov r8, rbx
lea rcx, [rbp - 0x80]
cmovae rdx, qword [rsp + 0x60]
call fcn.140002740
mov r8, rdi
lea rdx, str.theme_
lea rcx, [rbp - 0x80]
call fcn.140002740
cmp qword [rsi + 0x18], 8
mov rdx, rsi
jb 0x14009630e
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rbp - 0x80]
call fcn.140002740
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x30], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x14009637c
mov rcx, qword [rbp - 0x80]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140096377
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140096cd4
call fcn.14017b7ac
mov r8, qword [rsp + 0x38]
lea rcx, [rsp + 0x20]
mov rdx, qword [rsp + 0x20]
cmp r8, 8
mov rax, qword [rsp + 0x30]
cmovae rcx, rdx
cmp word [rcx + rax*2 - 8], 0x2e
je 0x1400963c1
mov r8d, 4
lea rdx, str..xml
lea rcx, [rsp + 0x20]
call fcn.140002740
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x20]
cmp r8, 8
lea rcx, [rsp + 0x20]
cmovae rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140096a94
and eax, 0x10
test al, al
jne 0x140096a94
xor edx, edx
lea rcx, [rbp]
call fcn.1400251d0
cmp qword [rsp + 0x38], 8
lea rdx, [rsp + 0x20]
lea rcx, [rbp]
cmovae rdx, qword [rsp + 0x20]
xor r8d, r8d
call fcn.140025500
lea rcx, [rbp]
test al, al
jne 0x1400964e8
call fcn.140025200
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140096463
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009645e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140096b32
call fcn.14017b7ac
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r13w
cmp rdx, 8
jb 0x1400964b9
mov rcx, qword [rsp + 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400964b4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140096b32
call fcn.14017b7ac
xor al, al
mov r15, qword [rsp + 0x880]
mov r14, qword [rsp + 0x8c0]
mov r12, qword [rsp + 0x8b8]
mov rbx, qword [rsp + 0x8b0]
add rsp, 0x888
pop r13
pop rdi
pop rsi
pop rbp
ret
lea rdx, [rbp + 0x360]
call fcn.140025790
lea rcx, [rbp + 0x360]
call fcn.140024f40
test al, al
jne 0x14009650d
lea rcx, [rbp]
jmp 0x14009641c
cmp qword [rsi + 0x18], 8
jb 0x140096517
mov rsi, qword [rsi]
mov rdx, rsi
lea rcx, str.LoadTheme:_s_n
call fcn.1400821b0
lea rcx, [rbp + 0x360]
call fcn.140024f50
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r13w
nop dword [rax]
inc r8
cmp word [rax + r8*2], r13w
jne 0x140096550
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140003280
mov r12, qword [rsp + 0x58]
lea rdx, [rsp + 0x40]
mov r15, qword [rsp + 0x40]
cmp r12, 8
cmovae rdx, r15
cmp qword [rsp + 0x50], rdi
jne 0x140096a4c
lea rcx, str.Global
sub rdx, rcx
movzx eax, word [rcx]
cmp word [rcx + rdx], ax
jne 0x140096a4c
add rcx, 2
sub rdi, 1
jne 0x140096593
mov esi, 7
mov qword [rbp - 0x30], r13
lea rdx, [rbp + 0x150]
mov qword [rbp - 0x28], rsi
lea rcx, [rbp + 0x360]
mov qword [rbp - 0x48], rsi
mov word [rbp - 0x40], r13w
mov qword [rbp - 0x50], r13
mov word [rbp - 0x60], r13w
call fcn.140024ef0
lea rcx, [rbp + 0x150]
call fcn.140024f40
test al, al
je 0x140096969
mov rdi, qword [rbp - 0x40]
lea rbx, str.Color
nop dword [rax + rax]
lea rcx, [rbp + 0x150]
call fcn.140024f50
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140096613
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140003280
mov r12, qword [rsp + 0x58]
lea r8, [rsp + 0x40]
mov r15, qword [rsp + 0x40]
cmp r12, 8
cmovae r8, r15
cmp qword [rsp + 0x50], 5
jne 0x14009666d
mov edx, 5
mov rcx, rbx
sub r8, rbx
movzx eax, word [rcx]
cmp word [rcx + r8], ax
jne 0x14009666d
add rcx, 2
sub rdx, 1
jne 0x140096655
mov al, 1
jmp 0x14009666f
xor al, al
test al, al
je 0x140096862
lea rcx, [rbp + 0x150]
call fcn.140025060
mov qword [rbp - 0x70], r13
mov ecx, 7
mov qword [rbp - 0x68], rcx
mov r14d, eax
mov qword [rbp - 8], rcx
mov ebx, r13d
mov word [rbp - 0x80], r13w
mov qword [rbp - 0x10], r13
mov word [rbp - 0x20], r13w
test eax, eax
jle 0x14009680e
lea r13, str.value
lea r12, str.name
nop
mov edx, ebx
lea rcx, [rbp + 0x150]
call fcn.140024f80
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400966d5
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140003280
mov edx, ebx
lea rcx, [rbp + 0x150]
call fcn.140024ff0
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140096701
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140003280
mov rsi, qword [rbp - 0x28]
lea r8, [rbp - 0x40]
mov rdi, qword [rbp - 0x40]
cmp rsi, 8
mov r9, qword [rbp - 0x30]
cmovae r8, rdi
cmp r9, 4
jne 0x14009675a
mov rdx, r9
mov rcx, r12
sub r8, r12
nop
movzx eax, word [rcx]
cmp word [rcx + r8], ax
jne 0x14009675a
add rcx, 2
sub rdx, 1
jne 0x140096740
lea rcx, [rbp - 0x80]
jmp 0x14009678d
cmp rsi, 8
lea r8, [rbp - 0x40]
cmovae r8, rdi
cmp r9, 5
jne 0x1400967a4
mov rdx, r9
mov rax, r13
sub r8, r13
movzx ecx, word [rax]
cmp word [r8 + rax], cx
jne 0x1400967a4
add rax, 2
sub rdx, 1
jne 0x140096775
lea rcx, [rbp - 0x20]
cmp qword [rbp - 0x48], 8
lea rdx, [rbp - 0x60]
mov r8, qword [rbp - 0x50]
cmovae rdx, qword [rbp - 0x60]
call fcn.140003280
inc ebx
cmp ebx, r14d
jl 0x1400966c0
mov r12, qword [rsp + 0x58]
xor r13d, r13d
cmp qword [rbp - 0x70], r13
je 0x1400967ca
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x80]
call fcn.14000a7d0
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x14009680a
mov rcx, qword [rbp - 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140096805
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140096b2c
call fcn.14017b7ac
mov rcx, qword [rbp - 0x68]
mov qword [rbp - 0x10], r13
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r13w
cmp rcx, 8
jb 0x14009685b
lea rdx, [rcx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140096856
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140096b2c
call fcn.14017b7ac
lea rbx, str.Color
lea rdx, [rbp + 0x570]
lea rcx, [rbp + 0x150]
call fcn.140024ea0
lea rcx, [rbp + 0x150]
mov edx, 4
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140096881
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
lea rcx, [rbp + 0x150]
call fcn.140024f40
test al, al
jne 0x140096600
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x14009692e
mov rcx, qword [rbp - 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140096929
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140096b32
call fcn.14017b7ac
cmp rsi, 8
jb 0x140096969
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140096961
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140096b32
mov rcx, rdi
call fcn.14017b7ac
cmp r12, 8
jb 0x1400969a4
lea rdx, [r12*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x14009699c
mov r15, qword [r15 - 8]
add rdx, 0x27
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140096b32
mov rcx, r15
call fcn.14017b7ac
lea rcx, [rbp]
call fcn.140025200
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x1400969ef
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400969ea
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140096b32
call fcn.14017b7ac
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r13w
cmp rdx, 8
jb 0x140096a45
mov rcx, qword [rsp + 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140096a40
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140096b32
call fcn.14017b7ac
mov al, 1
jmp 0x1400964bb
cmp r12, 8
jb 0x140096504
lea rdx, [r12*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x140096a83
mov r15, qword [r15 - 8]
add rdx, 0x27
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140096b32
mov rcx, r15
call fcn.14017b7ac
lea rcx, [rbp]
jmp 0x14009641c
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140096ad2
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140096acd
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140096b32
call fcn.14017b7ac
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r13w
cmp rdx, 8
jb 0x1400964b9
mov rcx, qword [rsp + 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400964b4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140096b32
jmp 0x1400964b4
call fcn.1401b08a0
int3
call fcn.1401b08a0
int3
lea rcx, [0x14022ee90]
call fcn.14017bc80
cmp dword [0x14022ee90], 0xffffffff
jne 0x140096198
xorps xmm0, xmm0
mov qword [0x14022ee28], r13
xorps xmm1, xmm1
movdqa xmmword [0x14022ed90], xmm0
mov r8, rdi
movdqa xmmword [0x14022eda0], xmm1
lea rdx, str.center
movdqa xmmword [0x14022ede0], xmm0
lea rcx, [0x14022ee18]
mov qword [0x14022ee30], 7
mov word [0x14022ee18], r13w
mov qword [0x14022ee48], r13
mov qword [0x14022ee50], 7
mov word [0x14022ee38], r13w
mov qword [0x14022ee68], r13
mov qword [0x14022ee70], 7
mov word [0x14022ee58], r13w
mov byte [0x14022ed80], r13b
mov qword [0x14022ed88], r13
mov qword [0x14022edb0], r13
mov dword [0x14022edb8], 0x1010100
mov dword [0x14022edbc], 0x10100
mov word [0x14022edc0], 1
mov qword [0x14022edc4], r13
mov dword [0x14022edcc], r13d
mov dword [0x14022edd0], 0x1000101
mov dword [0x14022edd4], 0x101
mov qword [0x14022edd8], r13
mov qword [0x14022edf0], r13
mov dword [0x14022edf8], r13d
mov qword [0x14022ee78], 0xffffffffffffffff
mov dword [0x14022edfc], 0x48
mov byte [0x14022ee00], r13b
mov dword [0x14022ee04], 0x48
mov byte [0x14022ee08], r13b
mov word [0x14022ee88], r13w
mov dword [0x14022ee8c], 0xff
mov byte [0x14022ee10], r13b
call fcn.140003280
mov r8d, 8
lea rdx, str.gray.xml
lea rcx, [0x14022ee38]
call fcn.140003280
xor r8d, r8d
lea rdx, [0x1401ed8f0]
lea rcx, [0x14022ee58]
call fcn.140003280
lea rcx, [0x1401c9d00]
call fcn.14017ba50
lea rcx, [0x14022ee90]
call fcn.14017bc20
jmp 0x140096198
call fcn.1401b08a0
int3
call fcn.1401b08a0
int3