Function at 0x10002e20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007af6c
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x10094610]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x22c], eax
mov edi, dword [0x10095a04]
mov esi, ecx
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x22c], edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x224], edi
mov byte [ebp - 4], 2
cmp dword [edi - 8], eax
je 0x10002ee0
cmp dword [edi - 0xc], eax
lea ebx, [edi - 0xc]
jl 0x10002eb7
lea eax, [edi - 0xc]
cmp eax, dword [0x10095a00]
je 0x10002ee0
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x10002ea9
push ebx
call fcn.10066c8a
add esp, 4
mov edi, dword [0x10095a04]
mov dword [ebp - 0x224], edi
jmp 0x10002ee0
push 0x100824b4
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x100824b4
mov ebx, eax
lea esi, [ebp - 0x224]
call fcn.10004f10
mov edi, dword [ebp - 0x224]
mov esi, dword [ebp - 0x220]
lea ecx, [ebp - 0x218]
push ecx
push 1
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x10002fb0
cmp dword [edi - 0xc], 0
lea ebx, [edi - 0xc]
mov dword [ebp - 0x228], ebx
jl 0x10002f17
push ebx
mov dword [esi], edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x10002f3a
mov edx, dword [0x10095a04]
push edi
mov dword [esi], edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
mov ebx, eax
call fcn.10004f10
mov esi, dword [ebp - 0x220]
mov ebx, dword [ebp - 0x228]
add edi, 0xfffffff4
cmp edi, dword [0x10095a00]
je 0x10002f59
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x10002f59
push ebx
call fcn.10066c8a
add esp, 4
mov edi, dword [ebp - 0x230]
lea eax, [edi - 0xc]
cmp eax, dword [0x10095a00]
je 0x10002f81
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x10002f81
push edi
call fcn.10066c8a
add esp, 4
mov edi, dword [ebp - 0x22c]
lea ecx, [edi - 0xc]
cmp ecx, dword [0x10095a00]
je 0x10002fa9
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x10002fa9
push edi
call fcn.10066c8a
add esp, 4
mov eax, esi
jmp 0x100030ee
lea ebx, [ebp - 0x218]
lea esi, [ebp - 0x21c]
call fcn.10004670
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x21c]
mov eax, dword [ecx - 8]
test eax, eax
jle 0x10002fdf
cmp word [ecx + eax*2 - 2], 0x5c
je 0x10002fdf
call fcn.10003150
push str.GoogleChromeUser_DataDefault
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x10002ffe
push str.GoogleChromeUser_DataDefault
lea ecx, [ebp - 0x21c]
call fcn.100031e0
lea edi, [ebp - 0x21c]
lea eax, [ebp - 0x224]
call fcn.10003400
mov edi, dword [ebp - 0x224]
cmp dword [edi - 0xc], 0
lea ebx, [edi - 0xc]
mov dword [ebp - 0x228], ebx
jl 0x10003035
mov edx, dword [ebp - 0x220]
push ebx
mov dword [edx], edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x10003057
mov eax, dword [0x10095a04]
mov esi, dword [ebp - 0x220]
push edi
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
mov ebx, eax
call fcn.10004f10
mov ebx, dword [ebp - 0x228]
mov esi, dword [ebp - 0x21c]
lea ecx, [esi - 0xc]
cmp ecx, dword [0x10095a00]
je 0x1000307f
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x1000307f
push esi
call fcn.10066c8a
add esp, 4
add edi, 0xfffffff4
cmp edi, dword [0x10095a00]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
je 0x100030a0
push ebx
call edi
test eax, eax
jg 0x100030a0
push ebx
call fcn.10066c8a
add esp, 4
mov esi, dword [ebp - 0x230]
lea edx, [esi - 0xc]
cmp edx, dword [0x10095a00]
je 0x100030c4
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x100030c4
push esi
call fcn.10066c8a
add esp, 4
mov esi, dword [ebp - 0x22c]
lea eax, [esi - 0xc]
cmp eax, dword [0x10095a00]
je 0x100030e8
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x100030e8
push esi
call fcn.10066c8a
add esp, 4
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100660ff
mov esp, ebp
pop ebp
ret