Function at 0x14009d9b0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x1403486d0]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rdi, rcx
xor r12d, r12d
cmp qword [rcx + 0x4f0], r12
jne 0x14009dfaf
mov ecx, 0x318
call fcn.1400e69ec
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14009da2c
xor edx, edx
mov r8d, 0x318
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call fcn.140097b60
jmp 0x14009da2f
mov rax, r12
mov rcx, qword [rdi + 0x4f0]
mov qword [rdi + 0x4f0], rax
test rcx, rcx
je 0x14009da4d
mov rax, qword [rcx]
mov edx, 1
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rdi + 0x4f0]
call fcn.140078680
test al, al
je 0x14009de3e
mov rcx, qword [rdi + 0x4f0]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14009de3e
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rbp - 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rbp - 0x40]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r12w
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14009dad0
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x68]
call fcn.1400523d0
nop
lea rcx, [rbp - 0x68]
call fcn.14009d740
movzx ebx, al
mov r8, qword [str.mms_status.html]
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x58]
call fcn.140073ba0
nop
lea r14, str.TrayWnd::IsolationAwareCreateStatusWindowW
test bl, bl
je 0x14009dd7d
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14009dd7d
mov r15, qword [rsp + 0x68]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r15
cmp rax, 7
jb 0x14009dfdf
lea r13, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae r13, qword [rsp + 0x58]
mov qword [rsp + 0x78], r12
lea r12, [r15 + 7]
mov ebx, 7
lea rsi, [rsp + 0x78]
cmp r12, rbx
jbe 0x14009dbc0
mov rbx, r12
mov eax, 8
cmp r12, rax
cmovb rbx, rax
or rbx, 7
cmp rbx, rcx
jbe 0x14009db9e
mov rbx, rcx
jmp 0x14009dbaa
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x78]
call fcn.1400521e0
mov rsi, rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], rbx
movsd xmm0, qword [str.file:__]
movsd qword [rsi], xmm0
mov ecx, dword [0x140278868]
mov dword [rsi + 8], ecx
movzx ecx, word [0x14027886c]
mov word [rsi + 0xc], cx
lea rcx, [rsi + 0xe]
lea r8, [r15 + r15]
mov rdx, r13
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
mov word [rsi + r12*2], ax
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x14009dc44
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009dc3f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009dc3f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6a28
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rbp - 0x78]
movups xmmword [rsp + 0x68], xmm1
call fcn.1400c1f80
cmp dword [rax + 0x78], 6
jl 0x14009dcc2
call fcn.1400c1f80
lea r8, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae r8, qword [rsp + 0x58]
mov rdx, qword [rdi + 0x4f0]
mov rcx, qword [rdx + 8]
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r14
lea rcx, str._s:_Created_status_window__p:__p__hwnd:__08p___target_web_payload_is_at:__S...
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x138
lea r9, str.D:BWA29B6E26C_BE36_0MobileMeServices_237_srcrootMobileMeServicesTrayWnd.cpp
mov r8, r14
mov edx, 6
mov rcx, rax
call fcn.1400c23b0
xor r12d, r12d
mov rcx, qword [rdi + 0x4f0]
add rcx, 0x2e8
lea rax, [rsp + 0x58]
cmp rcx, rax
je 0x14009dcf8
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x68]
call fcn.1400523d0
call fcn.1400c1f80
cmp dword [rax + 0x78], 6
jl 0x14009dd39
call fcn.1400c1f80
mov qword [rsp + 0x30], r14
lea rcx, str._s:_Successfully_loaded_status_window_payload
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x144
lea r9, str.D:BWA29B6E26C_BE36_0MobileMeServices_237_srcrootMobileMeServicesTrayWnd.cpp
mov r8, r14
mov edx, 6
mov rcx, rax
call fcn.1400c23b0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x14009ddde
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009ddd9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009ddd9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400c1f80
cmp dword [rax + 0x78], 3
jl 0x14009dcc5
call fcn.1400c1f80
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rcx, qword [rbp - 0x68]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r14
lea rcx, str._s:_FATAL_ERROR:_web_payload_does_not_exist_at:__S_
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x131
lea r9, str.D:BWA29B6E26C_BE36_0MobileMeServices_237_srcrootMobileMeServicesTrayWnd.cpp
mov r8, r14
mov edx, 3
mov rcx, rax
call fcn.1400c23b0
jmp 0x14009dcc5
call fcn.1400e6a28
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r12w
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x14009dfaf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009de34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009de34
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6a28
jmp 0x14009dfaf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.1400c1f80
cmp dword [rax + 0x78], 3
jl 0x14009dfaf
call fcn.1400c1f80
mov rsi, rax
mov qword [rsp + 0x58], r12
movdqa xmm0, xmmword [0x140272430]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r12w
mov r8b, 1
mov edx, edi
lea rcx, [rsp + 0x78]
call fcn.140078e10
mov rbx, rax
lea rax, [rsp + 0x58]
cmp rax, rbx
je 0x14009df05
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x14009ded0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009decb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009df3d
call fcn.1400e6a28
movdqa xmm0, xmmword [0x140272430]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r12w
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 7
mov word [rbx], r12w
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x14009df49
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009df44
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009df44
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6a28
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r12w
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], edi
lea rax, str.Failed_to_create_status_window__error:___d___S_
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x11f
lea r9, str.D:BWA29B6E26C_BE36_0MobileMeServices_237_srcrootMobileMeServicesTrayWnd.cpp
lea r8, str.TrayWnd::IsolationAwareCreateStatusWindowW
mov edx, 3
mov rcx, rsi
call fcn.1400c23b0
nop
lea rcx, [rsp + 0x58]
call fcn.140052120
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400e6b50
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140052190
nop
int3