Function at 0x401bd0
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490cbb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x398
mov eax, dword [0x4a8040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x120]
push eax
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea eax, [ebp - 0x330]
push 0x104
push eax
push str._ProgramW6432_
call esi
push 0x104
lea eax, [ebp - 0x228]
push eax
push str._ProgramFiles_x86__
call esi
lea edi, [ebp - 0x120]
dec edi
lea edx, [edi + 1]
nop dword [eax]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x401c60
mov ecx, 0xb
mov dword [ebp - 0x368], 0
mov esi, str.YandexYandexBrowserApplication_browser.exe
mov dword [ebp - 0x364], 0
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
xorps xmm0, xmm0
movups xmmword [ebp - 0x378], xmm0
movsw word es:[edi], word [esi]
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401ca0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x378]
call fcn.00402380
lea edi, [ebp - 0x228]
mov dword [ebp - 4], 1
dec edi
lea edx, [edi + 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x401cc7
mov ecx, 0xb
mov dword [ebp - 0x350], 0
mov esi, str.YandexYandexBrowserApplication_browser.exe
mov dword [ebp - 0x34c], 0
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
xorps xmm0, xmm0
movups xmmword [ebp - 0x360], xmm0
movsw word es:[edi], word [esi]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401d00
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x360]
call fcn.00402380
lea edi, [ebp - 0x330]
mov byte [ebp - 4], 2
dec edi
lea edx, [edi + 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x401d24
mov ecx, 0xb
mov dword [ebp - 0x338], 0
mov esi, str.YandexYandexBrowserApplication_browser.exe
mov dword [ebp - 0x334], 0
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
xorps xmm0, xmm0
movups xmmword [ebp - 0x348], xmm0
movsw word es:[edi], word [esi]
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401d60
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x348]
call fcn.00402380
cmp dword [ebp - 0x364], 0xf
lea ecx, [ebp - 0x3a8]
mov esi, dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
lea eax, [ebp - 0x378]
cmova eax, dword [ebp - 0x378]
push ecx
push eax
call esi
add esp, 8
cmp dword [ebp - 0x394], 0
jne 0x401ef1
cmp dword [ebp - 0x34c], 0xf
lea ecx, [ebp - 0x3a8]
lea eax, [ebp - 0x360]
cmova eax, dword [ebp - 0x360]
push ecx
push eax
call esi
add esp, 8
cmp dword [ebp - 0x394], 0
jne 0x401ef1
cmp dword [ebp - 0x334], 0xf
lea ecx, [ebp - 0x3a8]
lea eax, [ebp - 0x348]
cmova eax, dword [ebp - 0x348]
push ecx
push eax
call esi
add esp, 8
cmp dword [ebp - 0x394], 0
jne 0x401ef1
mov ecx, dword [ebp - 0x334]
cmp ecx, 0xf
jbe 0x401e40
mov edx, dword [ebp - 0x348]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401e36
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401fc3
push ecx
push edx
call fcn.0048f77f
add esp, 8
mov ecx, dword [ebp - 0x34c]
mov dword [ebp - 0x338], 0
mov dword [ebp - 0x334], 0xf
mov byte [ebp - 0x348], 0
cmp ecx, 0xf
jbe 0x401e95
mov edx, dword [ebp - 0x360]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401e8b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401fc3
push ecx
push edx
call fcn.0048f77f
add esp, 8
mov ecx, dword [ebp - 0x364]
mov dword [ebp - 0x350], 0
mov dword [ebp - 0x34c], 0xf
mov byte [ebp - 0x360], 0
cmp ecx, 0xf
jbe 0x401eea
mov edx, dword [ebp - 0x378]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401ee0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401fc3
push ecx
push edx
call fcn.0048f77f
add esp, 8
xor al, al
jmp 0x401fd5
mov ecx, dword [ebp - 0x334]
cmp ecx, 0xf
jbe 0x401f2b
mov edx, dword [ebp - 0x348]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401f21
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401fc3
push ecx
push edx
call fcn.0048f77f
add esp, 8
mov ecx, dword [ebp - 0x34c]
mov dword [ebp - 0x338], 0
mov dword [ebp - 0x334], 0xf
mov byte [ebp - 0x348], 0
cmp ecx, 0xf
jbe 0x401f7c
mov edx, dword [ebp - 0x360]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401f72
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401fc3
push ecx
push edx
call fcn.0048f77f
add esp, 8
mov ecx, dword [ebp - 0x364]
mov dword [ebp - 0x350], 0
mov dword [ebp - 0x34c], 0xf
mov byte [ebp - 0x360], 0
cmp ecx, 0xf
jbe 0x401fd3
mov edx, dword [ebp - 0x378]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401fc9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401fc9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0048f77f
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048f4f0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret