Function at 0x10144b98
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x310
mov esi, dword [ebp + 8]
mov eax, dword [0x102b0014]
xor eax, ebp
mov dword [esp + 0x308], eax
xor ebx, ebx
dec ebx
lea ecx, [esp + 0x28]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov edi, 0x1025a4cf
push edi
call fcn.1002e7a4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x100]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
push edi
call fcn.1002e7a4
lea ecx, [esp + 0x40]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
push 0x102639ca
call fcn.1002e7a4
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], ebx
movzx eax, byte [esi + 0xb]
test al, al
jns 0x10144c2b
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea edi, [esp + 0xd4]
push eax
push esi
push edi
call fcn.1015edd0
add esp, 0xc
movzx eax, byte [edi + 0xb]
test al, al
jns 0x10144c53
mov edi, dword [esp + 0xd4]
mov eax, dword [esp + 0xd8]
lea ecx, [esp + 0xe0]
push eax
push edi
call fcn.1014be70
cmp byte [esp + 0xdf], 0
jns 0x10144c7a
push dword [esp + 0xd4]
call fcn.10205096
add esp, 4
lea edi, [esp + 0x1c]
xor eax, eax
dec eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
lea ebx, [esp + 0xd4]
lea ecx, [esp + 0xe0]
push ebx
call fcn.1014c7f0
push 0xfde9
push ebx
push edi
call fcn.1016d080
add esp, 0xc
mov ecx, ebx
call fcn.1014bf30
movzx ecx, byte [esp + 0x10b]
test cl, cl
mov eax, dword [esp + 0x104]
mov esi, ecx
mov dword [esp + 0x14], eax
cmovs esi, eax
mov edx, dword [esp + 0x100]
lea eax, [esp + 0x100]
cmovns edx, eax
mov dword [esp + 8], edx
movzx eax, byte [edi + 0xb]
mov dword [esp + 0xc], edi
test al, al
jns 0x10144cfa
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xc], edx
mov dword [esp + 0x18], ecx
shr cl, 7
mov byte [esp + 7], cl
xor ebx, ebx
test esi, esi
je 0x10144d77
mov ecx, dword [esp + 0xc]
add eax, ecx
add ebx, ecx
mov edi, eax
sub eax, ebx
cmp eax, esi
jl 0x10144e26
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx]
mov dword [esp + 0x10], ecx
sub eax, esi
inc eax
je 0x10144e26
push eax
push dword [esp + 0x14]
push ebx
call fcn.10207440
add esp, 0xc
test eax, eax
je 0x10144e26
mov ebx, eax
push esi
push dword [esp + 0xc]
push eax
call fcn.1020d865
add esp, 0xc
test eax, eax
je 0x10144d6b
inc ebx
mov eax, edi
sub eax, ebx
cmp eax, esi
jge 0x10144d2a
jmp 0x10144e26
cmp ebx, edi
je 0x10144e26
sub ebx, dword [esp + 0xc]
mov esi, ebx
cmp ebx, 0xffffffff
je 0x10144e26
test byte [esp + 7], 1
mov edi, dword [esp + 0x18]
cmovne edi, dword [esp + 0x14]
movzx eax, byte [esp + 0x4b]
test al, al
cmovs eax, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x40]
cmovns edx, ecx
lea ecx, [esp + 0x1c]
push eax
push edx
push edi
push esi
call fcn.101407fe
movzx ebx, byte [esp + 0x4b]
test bl, bl
jns 0x10144dc1
mov ebx, dword [esp + 0x44]
add ebx, esi
movzx ecx, byte [esp + 0x10b]
test cl, cl
mov eax, dword [esp + 0x104]
mov esi, ecx
mov dword [esp + 0x14], eax
cmovs esi, eax
mov edx, dword [esp + 0x100]
lea eax, [esp + 0x100]
cmovns edx, eax
mov dword [esp + 8], edx
movzx edx, byte [esp + 0x27]
lea eax, [esp + 0x1c]
mov dword [esp + 0xc], eax
test dl, dl
jns 0x10144e0f
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], ecx
mov eax, ecx
shr al, 7
mov byte [esp + 7], al
mov eax, edx
cmp edx, ebx
jae 0x10144d07
lea ecx, [esp + 0xe0]
call fcn.1014bf30
cmp byte [esp + 0x4b], 0
jns 0x10144e45
push dword [esp + 0x40]
call fcn.10205096
add esp, 4
cmp byte [esp + 0x10b], 0
lea esi, [esp + 0x100]
jns 0x10144e65
push dword [esp + 0x100]
call fcn.10205096
add esp, 4
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
push 0x208
push 0xff
push esi
call fcn.10208980
add esp, 0xc
push 0x104
push esi
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
test eax, eax
lea edi, [esp + 0x40]
je 0x10144f0e
mov ecx, edi
push esi
call fcn.10036cb0
mov ecx, edi
push 1
push 0x1025cbc6
call fcn.1014190a
mov ecx, edi
push 0xb
push str.dbghelp.dll
call fcn.1014190a
cmp byte [esp + 0x4b], 0
jns 0x10144ec9
mov edi, dword [esp + 0x40]
xor eax, eax
push eax
push eax
push edi
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
test eax, eax
je 0x10144f0e
mov ebx, eax
push str.ImageNtHeader
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x10144f22
mov esi, eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
and eax, 0xffffff00
push eax
call esi
test eax, eax
je 0x10144f34
mov esi, dword [eax + 8]
mov eax, dword [eax + 0x58]
mov dword [esp + 8], eax
xor edi, edi
jmp 0x10144f43
mov dword [esp + 8], 0
call dword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
xor esi, esi
jmp 0x10144f4c
mov dword [esp + 8], 0
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
jmp 0x10144f41
mov edi, 6
mov dword [esp + 8], 0
xor esi, esi
push ebx
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov ebx, edi
cmp byte [esp + 0x4b], 0
jns 0x10144f5f
push dword [esp + 0x40]
call fcn.10205096
add esp, 4
test ebx, ebx
jne 0x101452d7
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0xd4]
xor eax, eax
dec eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
push 0x1025a4cf
call fcn.1002e7a4
lea ebx, [esp + 0x40]
push 0x90
push 0xff
push ebx
call fcn.10208980
add esp, 0xc
mov ecx, ebx
push 1
push 0x18
call fcn.1002ea92
mov ecx, 0x989680
mov eax, esi
mul ecx
add eax, 0xd53e8000
adc edx, 0x19db1de
lea ecx, [esp + 0xf8]
mov dword [ecx + 4], edx
mov dword [ecx], eax
pxor xmm0, xmm0
movdqa xmmword [esp + 0xe0], xmm0
lea eax, [esp + 0xe0]
push eax
push ecx
call dword [sym.imp.kernel32.dll_FileTimeToSystemTime]
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x12c], xmm0
movdqa xmmword [esp + 0x120], xmm0
movdqa xmmword [esp + 0x110], xmm0
movdqa xmmword [esp + 0x100], xmm0
movzx eax, word [esp + 0xec]
movzx ecx, word [esp + 0xea]
movzx edx, word [esp + 0xe8]
movzx esi, word [esp + 0xe6]
movzx ebx, word [esp + 0xe2]
movzx edi, word [esp + 0xe0]
push eax
push ecx
push edx
push esi
push ebx
push edi
lea edi, [esp + 0x118]
push str._04d__02d__02d:_02d:_02d:_02d
push 0x1e
push edi
call 0x1014531e
add esp, 0x24
push edi
call fcn.1020d865
add esp, 4
cmp eax, 0x7ffffff0
jae 0x10145315
mov ebx, eax
cmp eax, 5
jae 0x10145082
lea esi, [esp + 0x34]
mov byte [esi + 0xb], bl
test ebx, ebx
jne 0x101450af
jmp 0x101450be
lea edi, [ebx + 8]
and edi, 0xfffffff8
lea eax, [edi + edi]
push eax
call fcn.1020d865
add esp, 4
mov esi, eax
mov dword [esp + 0x34], eax
or edi, 0x80000000
mov dword [esp + 0x3c], edi
lea edi, [esp + 0x100]
mov dword [esp + 0x38], ebx
mov eax, ebx
add eax, ebx
push eax
push edi
push esi
call fcn.10208400
add esp, 0xc
mov word [esi + ebx*2], 0
lea eax, [esp + 0x34]
push 0xfde9
push eax
push edi
call fcn.1016d080
add esp, 0xc
movzx eax, byte [esp + 0x10b]
test al, al
jns 0x101450f1
mov eax, dword [esp + 0x104]
mov edi, dword [esp + 0x100]
push eax
push edi
lea eax, [esp + 0x50]
push eax
call fcn.1002e338
add esp, 0xc
cmp byte [esp + 0x10b], 0
mov ebx, dword [esp + 0x10]
lea esi, [esp + 0xd4]
jns 0x10145124
push dword [esp + 0x100]
call fcn.10205096
add esp, 4
cmp byte [esp + 0x3f], 0
jns 0x10145137
push dword [esp + 0x34]
call fcn.10205096
add esp, 4
movzx eax, byte [esp + 0xdf]
test al, al
cmovs eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xd4]
cmovns ecx, esi
push eax
push ecx
lea edi, [esp + 0x50]
push edi
call fcn.1002e338
add esp, 0xc
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 4]
mov ecx, dword [esp + eax + 0x4c]
and ecx, 0xffffffb5
or ecx, 8
mov dword [esp + eax + 0x4c], ecx
mov ecx, edi
push dword [esp + 8]
call fcn.1002afb0
movzx eax, byte [esp + 0xdf]
test al, al
jns 0x1014519c
mov eax, dword [esp + 0xd8]
mov esi, dword [esp + 0xd4]
push eax
push esi
lea esi, [esp + 0x50]
push esi
call fcn.1002e338
add esp, 0xc
lea ecx, [esp + 0x1c]
movzx eax, byte [ecx + 0xb]
test al, al
cmovs eax, dword [ecx + 4]
cmovs ecx, dword [ecx]
push eax
push ecx
push esi
call fcn.1002e338
add esp, 0xc
xor eax, eax
dec eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], eax
lea ecx, [esp + 0x4c]
lea edi, [esp + 0xe0]
push edi
call fcn.1002b5cc
push 0x3b
push str..._.._components_telemetry_client_app_info_provider_win.cc
call fcn.1014e430
add esp, 8
cmp eax, 2
jl 0x1014524e
lea esi, [esp + 0x100]
mov ecx, esi
push 0xfffffffffffffffe
push 0x6a
push str..._.._components_telemetry_client_app_info_provider_win.cc
call fcn.1014e450
movzx eax, byte [esp + 0xeb]
test al, al
cmovs eax, dword [esp + 0xe4]
lea ecx, [esp + 0x108]
cmovs edi, dword [esp + 0xe0]
push eax
push edi
push ecx
call fcn.1002e338
add esp, 0xc
mov ecx, esi
call fcn.1014e740
lea esi, [esp + 0x80]
mov eax, dword [esi - 0x40]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x40], 0x10259e78
lea edi, [esp + 0x4c]
mov dword [edi], 0x10259e90
cmp byte [edi + 0x2b], 0
jns 0x1014527f
push dword [esp + 0x6c]
call fcn.10205096
add esp, 4
mov ecx, edi
call fcn.1002a32a
mov ecx, edi
call fcn.1002a710
mov ecx, esi
call fcn.1002a320
cmp byte [esp + 0xdf], 0
jns 0x101452ad
push dword [esp + 0xd4]
call fcn.10205096
add esp, 4
mov esi, dword [ebp + 0xc]
cmp byte [esi + 0xb], 0
jns 0x101452c0
push dword [esi]
call fcn.10205096
add esp, 4
mov eax, dword [esp + 0xe8]
mov dword [esi + 8], eax
movsd xmm0, qword [esp + 0xe0]
movsd qword [esi], xmm0
cmp byte [esp + 0x27], 0
jns 0x101452ea
push dword [esp + 0x1c]
call fcn.10205096
add esp, 4
cmp byte [esp + 0x33], 0
jns 0x101452fd
push dword [esp + 0x28]
call fcn.10205096
add esp, 4
mov ecx, dword [esp + 0x308]
xor ecx, ebp
call fcn.10205d16
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x34]
call fcn.101407c4
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [0x102b0014]
xor eax, ebp
mov dword [ebp - 0x10], eax
test edx, edx
jle 0x1014538c
lea esi, [ebp + 0x14]
mov dword [ebp - 0x14], esi
lea edi, [edx - 1]
call fcn.1002e763
mov ecx, dword [eax]
or ecx, 1
push esi
push 0
push dword [ebp + 0x10]
push edi
push ebx
push dword [eax + 4]
push ecx
call fcn.1020d865
add esp, 0x1c
xor ecx, ecx
dec ecx
test eax, eax
cmovns ecx, eax
mov esi, 0x8007007a
test ecx, ecx
js 0x1014537d
cmp ecx, edi
ja 0x1014537d
xor esi, esi
cmp ecx, edi
jne 0x10145398
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov word [eax + ecx*2 - 2], 0
jmp 0x10145398
mov esi, 0x80070057
je 0x10145398
mov word [ebx], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10205d16
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret