Function at 0x18000a3dc
Capabilities:
Check if file exists

Disassembly:
test cl, 4
je 0x18000aab7
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.18000ad30
mov ebx, 0x80070002
cmp eax, ebx
jne 0x18000a492
lea r9, [rsp + 0x90]
lea r8, str.CustomThemeMsstyle
lea rdx, str.SoftwareMicrosoftWindowsDWM
mov rcx, 0xffffffff80000002
call fcn.18000ad30
mov rcx, qword [rsp + 0x8f8]
mov r9d, ebx
lea r8d, [r12 + 1]
mov edx, eax
call fcn.180001b74
jmp 0x18000a4a5
mov rcx, qword [rsp + 0x8f8]
test eax, eax
jns 0x18000a4a5
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 0x18000a50d
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 0x18000a520
mov rcx, qword [rsp + 0x8f8]
test eax, eax
jns 0x18000a520
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 0x18000a52f
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 0x18000a5aa
lea rdx, [rsp + 0x90]
test rcx, rcx
je 0x18000a590
lea rax, [rsp + 0x90]
sub r8, rax
movzx eax, word [rdx + r8]
cmp ax, word [rdx]
jne 0x18000a5aa
add rdx, 2
sub rcx, 1
jne 0x18000a57c
mov edi, dword [rsp + 0x80]
test edi, edi
setne al
cmp byte [0x1800340c8], al
je 0x18000aa86
jmp 0x18000a5b1
mov edi, dword [rsp + 0x80]
mov rbx, qword [0x180037198]
mov qword [0x180037198], r12
test rbx, rbx
je 0x18000a5de
mov rcx, rbx
call fcn.18000a0e0
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 0x18000a5e9
lea rdx, [rsp + 0x90]
mov rcx, rsi
call fcn.18000ad8c
test edi, edi
setne byte [0x1800340c8]
cmp qword [0x1800340f8], r12
je 0x18000aa86
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 0x18000aa86
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 0x18000a6d5
lea rcx, [0x180037640]
call fcn.180021cd4
cmp dword [0x180037640], r14d
jne 0x18000a6d5
lea rcx, [0x180029908]
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.180021c68
mov rax, qword [0x180037648]
test rax, rax
je 0x18000a72c
cmp byte [0x1800340c8], r12b
je 0x18000a72c
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 0x18000aab8
jmp 0x18000a76b
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 0x18000aabf
mov ecx, 0x38
call fcn.180011590
test rax, rax
je 0x18000a7a5
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 0x18000a7a8
mov rax, r12
mov rbx, qword [0x180037198]
mov qword [0x180037198], rax
test rbx, rbx
je 0x18000a7d5
mov rcx, rbx
call fcn.18000a0e0
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 0x18000a824
lea rcx, [0x180037650]
call fcn.180021cd4
cmp dword [0x180037650], r14d
jne 0x18000a824
lea rcx, [0x180029908]
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.180021c68
mov rdi, qword [0x180037658]
test rdi, rdi
je 0x18000aa86
mov r14, qword [0x180037198]
add r14, 0x20
mov r15, qword [r14]
lea rax, [r15 - 1]
cmp dword [0x1800375f0], 0x55f0
jae 0x18000a916
cmp rax, 0xfffffffffffffffd
ja 0x18000a875
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 0x18000a8a9
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 0x18000a9cc
cmp rax, 0xfffffffffffffffd
ja 0x18000a935
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 0x18000a969
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 0x18000aac6
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 0x18000aa33
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 0x18000aa86
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
nop
mov rcx, qword [rsp + 0x8d0]
xor rcx, rsp
call fcn.180021870
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.180009de0
mov edx, eax
call fcn.180009de0
mov edx, eax
call fcn.180009de0
int3