Function at 0x18000aa00
Capabilities:
Check if file exists

Disassembly:
test cl, 4
je 0x18000b0db
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x8e0
mov rax, qword [0x180034040]
xor rax, rsp
mov qword [rsp + 0x8d0], rax
xor r12d, r12d
mov r13d, 0x20a
mov r8d, r13d
xor edx, edx
lea rcx, [r11 - 0x868]
call sub.ucrtbase.dll_memset
lea r9, [rsp + 0x90]
lea r8, str.CustomThemeMsstyle
xor edx, edx
mov rcx, qword [0x180037188]
call fcn.18000b354
mov ebx, 0x80070002
cmp eax, ebx
jne 0x18000aab6
lea r9, [rsp + 0x90]
lea r8, str.CustomThemeMsstyle
lea rdx, str.SoftwareMicrosoftWindowsDWM
mov rcx, 0xffffffff80000002
call fcn.18000b354
mov rcx, qword [rsp + 0x8f8]
mov r9d, ebx
lea r8d, [r12 + 1]
mov edx, eax
call fcn.180001b74
jmp 0x18000aac9
mov rcx, qword [rsp + 0x8f8]
test eax, eax
jns 0x18000aac9
mov edx, eax
call fcn.180001e14
mov dword [rsp + 0x80], 1
lea r9, [rsp + 0x80]
lea r8, str.CustomThemeMsstyleUseDefaults
xor edx, edx
mov rcx, qword [0x180037188]
call fcn.180001a5c
cmp eax, ebx
jne 0x18000ab31
lea r9, [rsp + 0x80]
lea r8, str.CustomThemeMsstyleUseDefaults
lea rdx, str.SoftwareMicrosoftWindowsDWM
mov rcx, 0xffffffff80000002
call fcn.180001a5c
mov rcx, qword [rsp + 0x8f8]
mov r9d, ebx
mov r8d, 1
mov edx, eax
call fcn.180001b74
jmp 0x18000ab44
mov rcx, qword [rsp + 0x8f8]
test eax, eax
jns 0x18000ab44
mov edx, eax
call fcn.180001e14
lea rcx, [rsp + 0x90]
or r14, 0xffffffffffffffff
mov rax, r14
inc rax
cmp word [rcx + rax*2], r12w
jne 0x18000ab53
lea rsi, [0x1800340e8]
mov r8, rsi
mov r15d, 7
cmp qword [reloc.OLEAUT32.dll_VariantInit], r15
cmova r8, qword [0x1800340e8]
mov rcx, qword [0x1800340f8]
cmp rcx, rax
jne 0x18000abce
lea rdx, [rsp + 0x90]
test rcx, rcx
je 0x18000abb4
lea rax, [rsp + 0x90]
sub r8, rax
movzx eax, word [rdx + r8]
cmp ax, word [rdx]
jne 0x18000abce
add rdx, 2
sub rcx, 1
jne 0x18000aba0
mov edi, dword [rsp + 0x80]
test edi, edi
setne al
cmp byte [0x1800340c8], al
je 0x18000b0aa
jmp 0x18000abd5
mov edi, dword [rsp + 0x80]
mov rbx, qword [0x180037198]
mov qword [0x180037198], r12
test rbx, rbx
je 0x18000ac02
mov rcx, rbx
call fcn.18000a704
mov r8, rbx
xor edx, edx
mov rcx, qword [0x1800375e8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rax, [rsp + 0x90]
mov r8, r14
inc r8
cmp word [rax + r8*2], r12w
jne 0x18000ac0d
lea rdx, [rsp + 0x90]
mov rcx, rsi
call fcn.18000b3b0
test edi, edi
setne byte [0x1800340c8]
cmp qword [0x1800340f8], r12
je 0x18000b0aa
mov rcx, rsi
cmp qword [reloc.OLEAUT32.dll_VariantInit], r15
cmova rcx, qword [0x1800340e8]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x18000b0aa
mov r8, r13
xor edx, edx
lea rcx, [rsp + 0x6c0]
call sub.ucrtbase.dll_memset
mov r8, r13
xor edx, edx
lea rcx, [rsp + 0x4b0]
call sub.ucrtbase.dll_memset
mov r8, r13
xor edx, edx
lea rcx, [rsp + 0x2a0]
call sub.ucrtbase.dll_memset
mov ecx, dword [0x180036f7c]
mov rax, qword gs:[0x58]
mov r13d, 4
mov rdi, qword [rax + rcx*8]
mov eax, dword [rdi + r13]
cmp dword [0x180037640], eax
jle 0x18000acf9
lea rcx, [0x180037640]
call fcn.180022974
cmp dword [0x180037640], r14d
jne 0x18000acf9
lea rcx, [0x1800298c8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180037648], rax
lea rcx, [0x180037640]
call fcn.180022908
mov rax, qword [0x180037648]
test rax, rax
je 0x18000ad50
cmp byte [0x1800340c8], r12b
je 0x18000ad50
mov rcx, rsi
cmp qword [reloc.OLEAUT32.dll_VariantInit], r15
cmova rcx, qword [0x1800340e8]
mov edx, 0x104
mov dword [rsp + 0x20], edx
lea r9, [rsp + 0x2a0]
mov r8d, edx
lea rdx, [rsp + 0x4b0]
call rax
mov rcx, qword [rsp + 0x8f8]
test eax, eax
js 0x18000b0dc
jmp 0x18000ad8f
mov edx, 0x104
mov dword [rsp + 0x28], edx
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x20], rax
mov r9d, edx
lea r8, [rsp + 0x4b0]
lea rcx, [rsp + 0x6c0]
call qword [sym.imp.UxTheme.dll_GetCurrentThemeName]
mov rcx, qword [rsp + 0x8f8]
test eax, eax
js 0x18000b0e3
mov ecx, 0x38
call fcn.180011d80
test rax, rax
je 0x18000adc9
mov qword [rax + 0x28], r12
mov qword [rax + 0x30], 0x646e65
movabs rcx, 0x656c69666d6874
mov qword [rax], rcx
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
mov qword [rax + 0x20], r12
jmp 0x18000adcc
mov rax, r12
mov rbx, qword [0x180037198]
mov qword [0x180037198], rax
test rbx, rbx
je 0x18000adf9
mov rcx, rbx
call fcn.18000a704
mov r8, rbx
xor edx, edx
mov rcx, qword [0x1800375e8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [rdi + r13]
cmp dword [0x180037650], eax
jle 0x18000ae48
lea rcx, [0x180037650]
call fcn.180022974
cmp dword [0x180037650], r14d
jne 0x18000ae48
lea rcx, [0x1800298c8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov edx, 0x5c
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180037658], rax
lea rcx, [0x180037650]
call fcn.180022908
mov rdi, qword [0x180037658]
test rdi, rdi
je 0x18000b0aa
mov r14, qword [0x180037198]
add r14, 0x20
mov r15, qword [r14]
lea rax, [r15 - 1]
cmp dword [0x1800375f0], 0x55f0
jae 0x18000af3a
cmp rax, 0xfffffffffffffffd
ja 0x18000ae99
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [r14], r12
mov r15, qword [0x180037198]
add r15, 0x10
mov r13, qword [r15]
lea rax, [r13 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x18000aecd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [r15], r12
cmp qword [reloc.OLEAUT32.dll_VariantInit], 7
cmova rsi, qword [0x1800340e8]
mov dword [rsp + 0x78], r12d
mov dword [rsp + 0x70], r12d
mov dword [rsp + 0x68], r12d
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x50], r12d
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r15
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4b0]
mov r8, rsi
xor edx, edx
xor ecx, ecx
call rdi
jmp 0x18000aff0
cmp rax, 0xfffffffffffffffd
ja 0x18000af59
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [r14], r12
mov r15, qword [0x180037198]
add r15, 0x10
mov r13, qword [r15]
lea rax, [r13 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x18000af8d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [r15], r12
cmp qword [reloc.OLEAUT32.dll_VariantInit], 7
cmova rsi, qword [0x1800340e8]
mov dword [rsp + 0x70], r12d
mov dword [rsp + 0x68], r12d
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x50], r12d
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r15
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4b0]
mov r8, rsi
xor edx, edx
xor ecx, ecx
call rdi
mov rcx, qword [rsp + 0x8f8]
test eax, eax
js 0x18000b0ea
mov rbx, qword [0x180037198]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, qword [0x180037198]
mov dword [rsp + 0x40], r12d
mov qword [rsp + 0x38], r12
mov edi, 4
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.api_ms_win_core_memory_l1_1_6.dll_MapViewOfFile3]
mov rcx, qword [rbx + 8]
mov qword [rbx + 8], rax
test rcx, rcx
je 0x18000b057
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rbx, qword [0x180037198]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, qword [0x180037198]
mov dword [rsp + 0x40], r12d
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rcx + 0x20]
call qword [sym.imp.api_ms_win_core_memory_l1_1_6.dll_MapViewOfFile3]
mov rcx, qword [rbx + 0x18]
mov qword [rbx + 0x18], rax
test rcx, rcx
je 0x18000b0aa
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
nop
mov rcx, qword [rsp + 0x8d0]
xor rcx, rsp
call fcn.180022510
lea r11, [rsp + 0x8e0]
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 r13
ret
mov edx, eax
call fcn.18000a404
mov edx, eax
call fcn.18000a404
mov edx, eax
call fcn.18000a404
int3