Function at 0x1cba170
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x230
mov eax, dword [ebp + 8]
mov ecx, dword [0x1d8f008]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x23c], 0xffffffff
mov dword [ebp - 0x238], 0xffffffff
mov dword [ebp - 0x234], 0xffffffff
cmp byte [eax + 0xb], 0
js 0x1cba1c5
mov ecx, dword [eax + 8]
mov dword [ebp - 0x234], ecx
movsd xmm0, qword [eax]
movsd qword [ebp - 0x23c], xmm0
jmp 0x1cba1d5
lea ecx, [ebp - 0x23c]
push dword [eax + 4]
push dword [eax]
call fcn.01cb8ee0
mov dword [ebp - 0x218], 0xffffffff
mov dword [ebp - 0x214], 0xffffffff
mov dword [ebp - 0x210], 0xffffffff
lea esi, [ebp - 0x218]
mov ecx, esi
push str.SOFTWAREPoliciesYandexBrowser
call fcn.01cf1750
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x21c], 0
cmp byte [ebp - 0x20d], 0
jns 0x1cba232
mov esi, dword [ebp - 0x218]
lea edi, [ebp - 0x224]
push edi
push str.UserDataDir
push esi
push 0
push 1
call fcn.01d1da30
add esp, 0x14
test al, al
jne 0x1cba27d
cmp byte [ebp - 0x20d], 0
js 0x1cba260
lea eax, [ebp - 0x218]
jmp 0x1cba266
mov eax, dword [ebp - 0x218]
push edi
push str.UserDataDir
push eax
push 0
push 2
call fcn.01d1da30
add esp, 0x14
test al, al
je 0x1cba2e2
lea eax, [ebp - 0x230]
push edi
push eax
call fcn.01cc0690
add esp, 8
cmp byte [ebp - 0x231], 0
jns 0x1cba2a4
push dword [ebp - 0x23c]
call fcn.01cc3180
add esp, 4
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x234], eax
movsd xmm0, qword [ebp - 0x230]
movsd qword [ebp - 0x23c], xmm0
cmp byte [ebp - 0x219], 0
jns 0x1cba2eb
push dword [ebp - 0x224]
call fcn.01cc3180
add esp, 4
cmp byte [ebp - 0x20d], 0
jns 0x1cba302
jmp 0x1cba2f4
cmp byte [ebp - 0x219], 0
js 0x1cba2c9
cmp byte [ebp - 0x20d], 0
jns 0x1cba302
push dword [ebp - 0x218]
call fcn.01cc3180
add esp, 4
movzx eax, byte [ebp - 0x231]
mov ecx, eax
and ecx, 0x7f
test al, al
mov edx, dword [ebp - 0x238]
mov esi, ecx
cmovs esi, edx
test esi, esi
je 0x1cba3ca
lea esi, [ebp - 0x23c]
jmp 0x1cba38b
mov dword [ebp - 0x238], ebx
jmp 0x1cba367
mov eax, ecx
and eax, 0x7f
test eax, eax
je 0x1cba75b
lea ebx, [eax - 1]
mov edx, esi
test cl, cl
jns 0x1cba35c
mov edx, dword [ebp - 0x23c]
js 0x1cba330
and bl, 0x7f
mov byte [ebp - 0x231], bl
mov word [edx + eax*2 - 2], 0
movzx eax, byte [ebp - 0x231]
mov ecx, eax
and ecx, 0x7f
test al, al
mov edx, dword [ebp - 0x238]
mov edi, ecx
cmovs edi, edx
test edi, edi
je 0x1cba3ca
mov ecx, esi
call fcn.01cf1630
cmp word [eax], 0x5c
jne 0x1cba3ab
movzx ecx, byte [ebp - 0x231]
test cl, cl
jns 0x1cba340
mov eax, dword [ebp - 0x238]
jmp 0x1cba345
mov ecx, esi
call fcn.01cf1630
cmp word [eax], 0x2f
je 0x1cba398
movzx eax, byte [ebp - 0x231]
mov edx, dword [ebp - 0x238]
mov ecx, eax
and ecx, 0x7f
test al, al
cmovs ecx, edx
test ecx, ecx
je 0x1cba4bb
lea eax, [ebp - 0x23c]
push eax
call fcn.01cbb4c0
add esp, 4
test al, al
je 0x1cba4bb
lea edi, [ebp - 0x218]
push 0x208
push 0xff
push edi
call fcn.01cc71b0
add esp, 0xc
cmp byte [ebp - 0x231], 0
js 0x1cba418
lea eax, [ebp - 0x23c]
jmp 0x1cba41e
mov eax, dword [ebp - 0x23c]
mov esi, dword [ebp + 0x10]
push 0x104
push eax
push edi
call fcn.01cd95f3
add esp, 0xc
test eax, eax
jne 0x1cba4a7
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x21c], 0
cmp byte [esi + 0xb], 0
jns 0x1cba462
push dword [esi]
call fcn.01cc3180
add esp, 4
mov eax, dword [ebp - 0x21c]
mov dword [esi + 8], eax
movsd xmm0, qword [ebp - 0x224]
movsd qword [esi], xmm0
mov bl, 1
cmp byte [ebp - 0x231], 0
jns 0x1cba490
push dword [ebp - 0x23c]
call fcn.01cc3180
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01cc3f9d
mov eax, ebx
add esp, 0x230
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [ebp - 0x224]
push edi
call fcn.01cf1750
cmp byte [esi + 0xb], 0
jns 0x1cba462
jmp 0x1cba458
mov ecx, dword [ebp + 0x14]
lea ebx, [ebp - 0x23c]
push ebx
call fcn.01cf15e0
mov dword [ebp - 0x218], 0xffffffff
mov dword [ebp - 0x214], 0xffffffff
mov dword [ebp - 0x210], 0xffffffff
lea esi, [ebp - 0x218]
push str.LOCALAPPDATA
push esi
call fcn.01d1f0d0
add esp, 8
movzx eax, byte [ebp - 0x20d]
mov ecx, eax
and ecx, 0x7f
test al, al
mov edx, dword [ebp - 0x214]
mov edi, ecx
cmovs edi, edx
test edi, edi
jne 0x1cba5a7
mov dword [ebp - 0x230], 0
lea eax, [ebp - 0x230]
push eax
push 0
push 0
push 0x1d6c518
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jns 0x1cba5fb
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x21c], 0
cmp byte [ebp - 0x20d], 0
jns 0x1cba579
push dword [ebp - 0x218]
call fcn.01cc3180
add esp, 4
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x210], eax
movsd xmm0, qword [ebp - 0x224]
movsd qword [ebp - 0x218], xmm0
movzx eax, byte [ebp - 0x20d]
mov edx, dword [ebp - 0x214]
mov ecx, eax
and ecx, 0x7f
test al, al
cmovs ecx, edx
test ecx, ecx
jne 0x1cba6a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x1cba648
xor ebx, ebx
cmp byte [ebp - 0x20d], 0
jns 0x1cba5df
push dword [ebp - 0x218]
call fcn.01cc3180
add esp, 4
test bl, bl
jne 0x1cba3ee
xor ebx, ebx
cmp byte [ebp - 0x231], 0
jns 0x1cba490
jmp 0x1cba482
mov dword [ebp - 0x224], 0xffffffff
mov dword [ebp - 0x220], 0xffffffff
mov dword [ebp - 0x21c], 0xffffffff
lea ecx, [ebp - 0x224]
push dword [ebp - 0x230]
call fcn.01cf1750
push dword [ebp - 0x230]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp byte [ebp - 0x20d], 0
jns 0x1cba579
jmp 0x1cba56b
mov edi, eax
inc edi
mov ecx, esi
push 0
push edi
call fcn.01d1bb60
cmp byte [ebp - 0x20d], 0
jns 0x1cba664
mov esi, dword [ebp - 0x218]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1cba5c6
movzx ecx, byte [ebp - 0x20d]
test cl, cl
js 0x1cba684
and ecx, 0x7f
jmp 0x1cba68a
mov ecx, dword [ebp - 0x214]
cmp eax, ecx
jae 0x1cba5c6
lea ecx, [ebp - 0x218]
push 0
push eax
call fcn.01d1bb60
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 0x238]
mov edx, dword [ebp - 0x234]
mov esi, dword [ebp - 0x210]
mov dword [ebp - 0x234], esi
movsd xmm0, qword [ebp - 0x218]
movsd qword [ebp - 0x23c], xmm0
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], edx
movzx ecx, byte [ebp - 0x231]
test cl, cl
jns 0x1cba6f3
mov eax, dword [ebp - 0x238]
jmp 0x1cba6f8
mov eax, ecx
and eax, 0x7f
test eax, eax
je 0x1cba779
test cl, cl
jns 0x1cba706
mov ebx, dword [ebp - 0x23c]
mov edi, dword [ebp + 0xc]
cmp word [ebx + eax*2 - 2], 0x5c
je 0x1cba71e
lea ecx, [ebp - 0x23c]
push 0x5c
call fcn.01d1b920
lea esi, [ebp - 0x23c]
push esi
push 1
push edi
call fcn.01d1eac0
add esp, 0xc
mov ecx, esi
push 0x5c
call fcn.01d1b920
mov ecx, esi
push 9
push str.User_Data
call fcn.01cb8fd0
mov bl, 1
cmp byte [ebp - 0x20d], 0
jns 0x1cba5df
jmp 0x1cba5d1
push str.string::pop_back__:_string_is_already_empty
push str._empty__
push 0xc69
push str....._third_partylibc_srcinclude_string
push str._s:_d:_assertion__s_failed:__s_n
call fcn.01cfd380
push str.string_index_out_of_bounds
push 0x1d7acd0
push 0x4b8
jmp 0x1cba76a