Function at 0x1400b9c70
Capabilities:
Create directory
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x218
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x190], 0xfffffffffffffffe
mov rdi, rcx
lea rax, [rbp + 0x78]
xorps xmm0, xmm0
movups xmmword [rbp + 0x78], xmm0
mov qword [rbp + 0x70], rax
movaps xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], 0
lea rcx, [rbp - 0x28]
call fcn.1400cae20
lea rcx, [0x140164390]
lea r9, [rbp - 0x30]
xor edx, edx
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
lea rcx, [rbp + 0xa8]
call fcn.140036bd0
mov rcx, qword [rbp + 0xa8]
mov rax, qword [rcx]
lea r14, [rbp + 0x18]
mov rdx, r14
call qword [rax + 0x68]
cmp byte [rbp + 0x30], 0
je 0x1400b9dd3
cmp byte [rbp + 0x2f], 0
jns 0x1400b9d06
mov r14, qword [rbp + 0x18]
mov rcx, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400b9d26
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400ba0b6
lea rsi, [rbp + 0xb0]
mov rdx, rsi
call fcn.1400b9950
xorps xmm0, xmm0
movaps xmmword [rbp + 0xe0], xmm0
mov qword [rbp + 0xf0], 0
movzx eax, byte [rbp + 0xc7]
test al, al
jns 0x1400b9d63
mov rsi, qword [rbp + 0xb0]
mov rax, qword [rbp + 0xb8]
lea r8, [rsi + rax*2]
lea rcx, [rbp + 0xe0]
mov rdx, rsi
call fcn.14001acd0
xorps xmm0, xmm0
movaps xmmword [rbp + 0x150], xmm0
mov qword [rbp + 0x160], 0
lea rdx, str.crashpad_handler.exe
lea r8, [0x140187cb4]
lea rcx, [rbp + 0x150]
call fcn.14001b1d0
cmp byte [rbp + 0xf7], 0
js 0x1400b9e56
mov rax, qword [rbp + 0xf0]
mov qword [rbp + 0x110], rax
movaps xmm0, xmmword [rbp + 0xe0]
movaps xmmword [rbp + 0x100], xmm0
jmp 0x1400b9e70
cmp dword [0x1401fe208], 2
jg 0x1400ba166
mov ecx, 0x128
call fcn.14010e7c0
lea rdx, str.location_nearby_apps_better_together_windows_nearby_share_crash_handler_crashpad.cc
mov rcx, rax
mov r8d, 0x6b
mov r9d, 2
mov qword [rbp + 0x188], rax
call fcn.140032ef0
mov rsi, qword [rbp + 0x188]
mov qword [rbp + 0xb0], rsi
mov rcx, rsi
call fcn.140033140
lea rdx, str.StartCrashHandler
mov r8d, 0x11
mov rcx, rax
call fcn.140013430
lea rdx, str.:_Getting_crash_dump_path_failed._Crash_dump_path_is_empty.
mov rcx, rax
call fcn.14004c8a0
mov rcx, rsi
call fcn.140013310
mov rcx, rsi
jmp 0x1400ba161
mov rdx, qword [rbp + 0xe0]
mov r8, qword [rbp + 0xe8]
lea rcx, [rbp + 0x100]
call fcn.140048da0
lea rcx, [rbp + 0x100]
lea rdx, [rbp + 0x150]
call fcn.140019810
cmp byte [rbp + 0x167], 0
jns 0x1400b9e98
mov rcx, qword [rbp + 0x150]
call fcn.14010e7fc
lea rsi, [rbp + 0x150]
mov rcx, rsi
call fcn.1400bb940
movzx eax, byte [rbp + 0x167]
test al, al
cmovs rax, qword [rbp + 0x158]
mov rcx, qword [rbp + 0x150]
cmovns rcx, rsi
mov qword [rbp - 8], rcx
mov qword [rbp], rax
lea rcx, [rbp - 8]
call fcn.1400bb2d0
mov byte [rbp + 0x188], al
movzx eax, byte [rbp + 0x167]
test al, al
cmovs rax, qword [rbp + 0x158]
mov rcx, qword [rbp + 0x150]
cmovns rcx, rsi
mov qword [rbp + 8], rcx
mov qword [rbp + 0x10], rax
lea rcx, [rbp + 8]
call fcn.1400bb2d0
mov r12b, al
mov ecx, 0x30
call fcn.14010e7c0
mov r15, rax
mov eax, r12d
xor al, 1
movzx ebx, al
lea r8, [rbx*8 + 0x25]
lea rax, str.https:__clients2.google.com_cr_report
lea rdx, str.https:__clients2.google.com_cr_staging_report
test r12b, r12b
cmovne rdx, rax
mov qword [rbp + 0x90], r15
movabs rax, 0x8000000000000030
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0x98], r8
mov rcx, r15
call fcn.140111410
mov byte [r15 + rbx*8 + 0x25], 0
mov byte [rbp + 0x137], 4
mov dword [rbp + 0x120], 0x646f7270
mov byte [rbp + 0x124], 0
lea r13, [rbp + 0x120]
mov qword [rbp + 0x170], r13
lea r15, [rbp + 0xc8]
mov qword [rsp + 0x28], r15
lea r12, [rbp + 0x170]
mov qword [rsp + 0x20], r12
lea r9, [0x14015ff3f]
lea rcx, [rbp + 0x70]
lea rdx, [rbp + 0x138]
mov r8, r13
call fcn.1400bb7c0
mov rax, qword [rbp + 0x138]
cmp byte [rax + 0x4f], 0
js 0x1400b9fd8
mov byte [rax + 0x4f], 0x14
add rax, 0x38
jmp 0x1400b9fe4
mov qword [rax + 0x40], 0x14
mov rax, qword [rax + 0x38]
movaps xmm0, xmmword [str.Nearby_Share_Windows]
movups xmmword [rax], xmm0
mov dword [rax + 0x10], 0x73776f64
mov byte [rax + 0x14], 0
cmp byte [rbp + 0x137], 0
jns 0x1400ba00e
mov rcx, qword [rbp + 0x120]
call fcn.14010e7fc
mov byte [rbp + 0x137], 3
mov dword [rbp + 0x120], 0x726576
mov qword [rbp + 0x170], r13
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r12
lea r9, [0x14015ff3f]
lea r15, [rbp + 0x70]
lea r12, [rbp + 0x138]
mov rcx, r15
mov rdx, r12
mov r8, r13
call fcn.1400bb7c0
mov rax, qword [rbp + 0x138]
lea rcx, [rax + 0x38]
cmp rcx, rsi
je 0x1400ba18a
cmp byte [rax + 0x4f], 0
movzx eax, byte [rbp + 0x167]
js 0x1400ba093
test al, al
js 0x1400ba177
mov rax, qword [rbp + 0x160]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rbp + 0x150]
movups xmmword [rcx], xmm0
jmp 0x1400ba18a
movzx r8d, al
test al, al
cmovs r8, qword [rbp + 0x158]
mov rdx, qword [rbp + 0x150]
cmovns rdx, rsi
call fcn.1400482a0
jmp 0x1400ba18a
cmp dword [0x1401fe208], 2
jg 0x1400ba166
mov ecx, 0x128
call fcn.14010e7c0
lea rdx, str.location_nearby_apps_better_together_windows_nearby_share_crash_handler_crashpad.cc
mov rcx, rax
mov r8d, 0x74
mov r9d, 2
mov qword [rbp + 0x188], rax
call fcn.140032ef0
mov rdi, qword [rbp + 0x188]
mov qword [rbp + 0xb0], rdi
mov rcx, rdi
call fcn.140033140
lea rdx, str.StartCrashHandler
mov r8d, 0x11
mov rcx, rax
call fcn.140013430
lea rdx, str.:_creating_crash_path_failed:
mov rcx, rax
call fcn.14004c8a0
mov rcx, rax
mov rdx, r14
call fcn.14004c8a0
lea rdx, str.__error
mov rcx, rax
call fcn.14004c8a0
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
mov edx, eax
call fcn.14004bd50
mov rcx, rdi
call fcn.140013310
mov rcx, rdi
call fcn.14010e7fc
xor esi, esi
cmp byte [rbp + 0x30], 0
jne 0x1400ba75c
jmp 0x1400ba76b
mov rdx, qword [rbp + 0x150]
mov r8, qword [rbp + 0x158]
call fcn.1400483c0
cmp byte [rbp + 0x137], 0
jns 0x1400ba19f
mov rcx, qword [rbp + 0x120]
call fcn.14010e7fc
mov rcx, r14
call fcn.1401328d8
mov rbx, rax
movabs rax, 0x7ffffffffffffff0
cmp rbx, rax
jae 0x1400ba8f0
cmp rbx, 0xb
jae 0x1400ba1d0
mov byte [rbp + 0x14f], bl
test rbx, rbx
jne 0x1400ba212
jmp 0x1400ba223
mov r13, rbx
or r13, 7
inc r13
js 0x1400ba8fc
lea rcx, [r13*2]
call fcn.14010e7c0
mov r12, rax
mov qword [rbp + 0x138], rax
movabs rax, 0x8000000000000000
or r13, rax
mov qword [rbp + 0x148], r13
mov qword [rbp + 0x140], rbx
mov r8, rbx
add r8, rbx
mov rcx, r12
mov rdx, r14
call fcn.140111410
mov word [r12 + rbx*2], 0
lea rcx, [rbp + 0x120]
lea rdx, [rbp + 0x138]
call fcn.1400cf250
cmp byte [rbp + 0x14f], 0
js 0x1400ba26d
cmp byte [rbp + 0x117], 0
js 0x1400ba282
mov rax, qword [rbp + 0x110]
mov qword [rbp + 0x180], rax
movaps xmm0, xmmword [rbp + 0x100]
movaps xmmword [rbp + 0x170], xmm0
jmp 0x1400ba29c
mov rcx, qword [rbp + 0x138]
call fcn.14010e7fc
cmp byte [rbp + 0x117], 0
jns 0x1400ba24f
mov rdx, qword [rbp + 0x100]
mov r8, qword [rbp + 0x108]
lea rcx, [rbp + 0x170]
call fcn.140048da0
lea rcx, [rbp + 0x138]
lea rdx, [rbp + 0x170]
call fcn.1400cf250
cmp byte [rbp + 0x187], 0
jns 0x1400ba2c4
mov rcx, qword [rbp + 0x170]
call fcn.14010e7fc
lea r14, [rbp + 0x170]
lea rdx, [rbp + 0x120]
mov rcx, r14
call fcn.1400d44e0
mov rcx, qword [rbp + 0x170]
mov qword [rbp + 0x170], 0
mov rax, qword [rdi]
mov qword [rdi], rcx
test rax, rax
je 0x1400ba31e
mov r8, qword [rax]
mov rcx, rax
mov edx, 1
call qword [r8]
mov rcx, qword [rbp + 0x170]
test rcx, rcx
je 0x1400ba31b
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400ba5f6
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test rax, rax
je 0x1400ba5f6
mov rcx, qword [rdi]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, rax
xor edx, edx
call fcn.1400d5470
xorps xmm0, xmm0
movaps xmmword [rbp + 0x170], xmm0
mov qword [rbp + 0x180], 0
mov qword [rsp + 0x48], r14
lea rax, [rbp + 0x50]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
lea rdi, [rbp + 0x90]
mov qword [rsp + 0x20], rdi
mov byte [rsp + 0x40], 1
mov byte [rsp + 0x38], 1
lea rcx, [rbp - 0x28]
lea rdx, [rbp + 0x138]
lea r8, [rbp + 0x120]
mov r9, r8
call fcn.1400caf00
mov r14d, eax
mov r12, qword [rbp + 0x170]
test r12, r12
je 0x1400ba3e4
mov r15, qword [rbp + 0x178]
mov rcx, r12
cmp r15, r12
je 0x1400ba3d8
nop
add r15, 0xffffffffffffffe8
mov rcx, r15
call fcn.140047a20
cmp r15, r12
jne 0x1400ba3c0
mov rcx, qword [rbp + 0x170]
mov qword [rbp + 0x178], r12
call fcn.14010e7fc
mov eax, dword [0x1401fe208]
test r14b, r14b
je 0x1400ba681
test eax, eax
jg 0x1400ba4f2
mov ecx, 0x128
call fcn.14010e7c0
lea rdx, str.location_nearby_apps_better_together_windows_nearby_share_crash_handler_crashpad.cc
mov qword [rbp + 0x88], rax
mov rcx, rax
mov r8d, 0x99
xor r9d, r9d
call fcn.140032ef0
mov rcx, qword [rbp + 0x88]
mov qword [rbp + 0x170], rcx
call fcn.140033140
lea rdx, str.StartCrashHandler
mov r8d, 0x11
mov rcx, rax
call fcn.140013430
lea rdx, str.:_crashpad_client:_start_handler_succeeded._Send_reports_to_url
mov r8d, 0x40
mov rcx, rax
call fcn.140013430
movzx r8d, byte [rbp + 0xa7]
test r8b, r8b
cmovs r8, qword [rbp + 0x98]
cmovs rdi, qword [rbp + 0x90]
mov rcx, rax
mov rdx, rdi
call fcn.140013430
lea rdx, str.__version
mov r8d, 0xa
mov rcx, rax
call fcn.140013430
movzx r8d, byte [rbp + 0x167]
test r8b, r8b
cmovs r8, qword [rbp + 0x158]
cmovs rsi, qword [rbp + 0x150]
mov rcx, rax
mov rdx, rsi
call fcn.140013430
lea rdx, str.__release_mode
mov r8d, 0xf
mov rcx, rax
call fcn.140013430
mov rcx, rax
movzx edx, byte [rbp + 0x188]
call fcn.14004b4e0
lea rcx, [rbp + 0x170]
call fcn.1400105f0
lea rcx, [rbp + 0x138]
lea rdx, [rbp + 0xc8]
call fcn.1400cf610
mov ecx, 0x30
call fcn.14010e7c0
mov qword [rbp + 0x38], rax
movabs rcx, 0x8000000000000018
mov qword [rbp + 0x48], rcx
mov qword [rbp + 0x40], 0x10
movaps xmm0, xmmword [0x140187d50]
movups xmmword [rax + 0x10], xmm0
movaps xmm0, xmmword [str.crashpad_wer.dll]
movups xmmword [rax], xmm0
mov word [rax + 0x20], 0
lea rcx, [rbp + 0xc8]
lea rdx, [rbp + 0x170]
lea r8, [rbp + 0x38]
call fcn.1400cfd70
cmp byte [rbp + 0x4f], 0
jns 0x1400ba56a
mov rcx, qword [rbp + 0x38]
call fcn.14010e7fc
lea rcx, [rbp + 0xc8]
call fcn.140047a20
lea rcx, [rbp - 0x28]
lea rdx, [rbp + 0x170]
call fcn.1400ce160
mov esi, eax
mov eax, dword [0x1401fe208]
test sil, sil
je 0x1400ba879
test eax, eax
jg 0x1400ba8df
lea rdx, str.location_nearby_apps_better_together_windows_nearby_share_crash_handler_crashpad.cc
lea rcx, [rbp + 0xc8]
mov r8d, 0xa5
xor r9d, r9d
call fcn.140010560
mov rcx, qword [rbp + 0xc8]
call fcn.140033140
lea rdx, str.StartCrashHandler
mov r8d, 0x11
mov rcx, rax
call fcn.140013430
lea rdx, str.:_Crashpad_WER_report_is_enabled
mov r8d, 0x20
mov rcx, rax
call fcn.140013430
jmp 0x1400ba8d3
cmp dword [0x1401fe208], 2
jg 0x1400ba6fb
mov ecx, 0x128
call fcn.14010e7c0
lea rdx, str.location_nearby_apps_better_together_windows_nearby_share_crash_handler_crashpad.cc
mov rcx, rax
mov r8d, 0x8d
mov r9d, 2
mov qword [rbp + 0x188], rax
call fcn.140032ef0
mov rsi, qword [rbp + 0x188]
mov qword [rbp + 0x170], rsi
mov rcx, rsi
call fcn.140033140
lea rdx, str.StartCrashHandler
mov r8d, 0x11
mov rcx, rax
call fcn.140013430
lea rdx, str.:_database_initialization_failed.
mov r8d, 0x21
mov rcx, rax
call fcn.140013430
mov rcx, rsi
call fcn.140013310
mov rcx, rsi
call fcn.14010e7fc
jmp 0x1400ba6fb
cmp eax, 2
jg 0x1400ba6fb
mov ecx, 0x128
call fcn.14010e7c0
lea rdx, str.location_nearby_apps_better_together_windows_nearby_share_crash_handler_crashpad.cc
mov qword [rbp + 0x188], rax
mov rcx, rax
mov r8d, 0x95
mov r9d, 2
call fcn.140032ef0
mov rcx, qword [rbp + 0x188]
mov qword [rbp + 0x170], rcx
call fcn.140033140
lea rdx, str.StartCrashHandler
mov r8d, 0x11
mov rcx, rax
call fcn.140013430
lea rdx, str.:_crashpad_client:_start_handler_failed.
mov r8d, 0x28
mov rcx, rax
call fcn.140013430
lea rcx, [rbp + 0x170]
call fcn.1400105f0
xor esi, esi
lea rcx, [rbp + 0x138]
call fcn.140047a20
lea rcx, [rbp + 0x120]
call fcn.140047a20
cmp byte [rbp + 0xa7], 0
js 0x1400ba7fa
cmp byte [rbp + 0x167], 0
js 0x1400ba813
cmp byte [rbp + 0x117], 0
js 0x1400ba82c
cmp byte [rbp + 0xf7], 0
js 0x1400ba845
cmp byte [rbp + 0xc7], 0
js 0x1400ba85e
cmp byte [rbp + 0x30], 0
je 0x1400ba76b
cmp byte [rbp + 0x2f], 0
jns 0x1400ba76b
mov rcx, qword [rbp + 0x18]
call fcn.14010e7fc
mov rcx, qword [rbp + 0xa8]
test rcx, rcx
je 0x1400ba781
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
lea rcx, [rbp - 0x28]
call fcn.1400cae30
mov rdi, qword [rbp + 0x50]
test rdi, rdi
je 0x1400ba7d7
mov rbx, qword [rbp + 0x58]
mov rcx, rdi
cmp rbx, rdi
jne 0x1400ba7b9
jmp 0x1400ba7ce
add rbx, 0xffffffffffffffe8
cmp rbx, rdi
je 0x1400ba7ca
cmp byte [rbx - 1], 0
jns 0x1400ba7b0
mov rcx, qword [rbx - 0x18]
call fcn.14010e7fc
jmp 0x1400ba7b0
mov rcx, qword [rbp + 0x50]
mov qword [rbp + 0x58], rdi
call fcn.14010e7fc
mov rdx, qword [rbp + 0x78]
lea rcx, [rbp + 0x70]
call fcn.140036de0
mov eax, esi
add rsp, 0x218
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, qword [rbp + 0x90]
call fcn.14010e7fc
cmp byte [rbp + 0x167], 0
jns 0x1400ba72f
mov rcx, qword [rbp + 0x150]
call fcn.14010e7fc
cmp byte [rbp + 0x117], 0
jns 0x1400ba73c
mov rcx, qword [rbp + 0x100]
call fcn.14010e7fc
cmp byte [rbp + 0xf7], 0
jns 0x1400ba749
mov rcx, qword [rbp + 0xe0]
call fcn.14010e7fc
cmp byte [rbp + 0xc7], 0
jns 0x1400ba756
mov rcx, qword [rbp + 0xb0]
call fcn.14010e7fc
cmp byte [rbp + 0x30], 0
jne 0x1400ba75c
jmp 0x1400ba76b
cmp eax, 2
jg 0x1400ba8df
lea rdx, str.location_nearby_apps_better_together_windows_nearby_share_crash_handler_crashpad.cc
lea rcx, [rbp + 0xc8]
mov r8d, 0xa1
mov r9d, 2
call fcn.140010560
mov rcx, qword [rbp + 0xc8]
call fcn.140033140
lea rdx, str.StartCrashHandler
mov r8d, 0x11
mov rcx, rax
call fcn.140013430
lea rdx, str.:_Registering_WER_module_failed.
mov r8d, 0x20
mov rcx, rax
call fcn.140013430
lea rcx, [rbp + 0xc8]
call fcn.1400105f0
lea rcx, [rbp + 0x170]
call fcn.140047a20
jmp 0x1400ba6fd
lea rcx, [rbp + 0x138]
call fcn.1400132f0
call fcn.140012fe0
int3