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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10267bbf
mov eax, dword fs:[0]
push eax
mov eax, 0x2050
call fcn.102610d0
mov eax, dword [0x1030f644]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x2040], eax
mov dword [ebp - 0x2034], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x205c], eax
mov dword [ebp - 0x2038], 0
mov dword [ebp - 4], 1
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2030]
mov dword [ebp - 0x2038], 1
call fcn.101335e0
lea eax, [ebp - 0x2030]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0x2058]
call fcn.1004b850
lea ecx, [ebp - 0x2030]
mov esi, eax
call sym.BasicBusinessConfigCenter.dll_public:_void___thiscall_RC::DM::RCCloudDataSetting::constructor_void_
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x1013415a
mov edx, dword [eax]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x10134224
mov eax, edx
cmp word [eax], 0x25
je 0x1013417a
add eax, 2
sub ecx, 1
jne 0x10134167
jmp 0x10134224
test eax, eax
je 0x10134224
sub eax, edx
sar eax, 1
cmp eax, 0xffffffff
je 0x10134224
cmp dword [ebp - 0x201c], 8
lea eax, [ebp - 0x2030]
push 0
cmovae eax, dword [ebp - 0x2030]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, eax
test edi, edi
je 0x10134224
push 0x1000
lea eax, [ebp - 0x1010]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x1010]
cmp dword [ebp - 0x201c], 8
lea eax, [ebp - 0x2030]
cmovae eax, dword [ebp - 0x2030]
push 0x7ff
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x10134224
cmp eax, edi
ja 0x10134224
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10134202
sub ecx, edx
lea eax, [ebp - 0x1010]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2058]
call fcn.1004d240
lea eax, [ebp - 0x2030]
cmp eax, esi
je 0x1013425f
mov ecx, eax
call fcn.1004bcb0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x2030], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x2020], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 0x2038], 1
lea ecx, [ebp - 0x2058]
mov byte [ebp - 4], 4
call fcn.1004bcb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x17c]
push 0x12
xorps xmm0, xmm0
mov dword [ebp - 0x16c], 0
xor eax, eax
mov dword [ebp - 0x168], 0
push str._desktopdirectory_
movlpd qword [ebp - 0x2018], xmm0
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 7
mov word [ebp - 0x17c], ax
call fcn.1004d240
mov byte [ebp - 4], 8
mov dword [ebp - 0x164], 0x10
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x160]
push 0x18
xor eax, eax
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0
push str._commondesktopdirectory_
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 7
mov word [ebp - 0x160], ax
call fcn.1004d240
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x148], 0x19
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x144]
push 0xb
xor eax, eax
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0
push str._startmenu_
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 7
mov word [ebp - 0x144], ax
call fcn.1004d240
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x12c], 0xb
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x128]
push 0x11
xor eax, eax
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
push str._commonstartmenu_
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 7
mov word [ebp - 0x128], ax
call fcn.1004d240
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x110], 0x16
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x10c]
push 9
xor eax, eax
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0
push str._appdata_
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 7
mov word [ebp - 0x10c], ax
call fcn.1004d240
mov byte [ebp - 4], 0x10
mov dword [ebp - 0xf4], 0x1a
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xf0]
push 0xf
xor eax, eax
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0
push str._commonappdata_
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 7
mov word [ebp - 0xf0], ax
call fcn.1004d240
mov byte [ebp - 4], 0x12
mov dword [ebp - 0xd8], 0x23
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xd4]
push 0xa
xor eax, eax
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
push str._programs_
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 7
mov word [ebp - 0xd4], ax
call fcn.1004d240
mov byte [ebp - 4], 0x14
mov dword [ebp - 0xbc], 2
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xb8]
push 0x10
xor eax, eax
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
push str._commonprograms_
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
call fcn.1004d240
mov byte [ebp - 4], 0x16
mov dword [ebp - 0xa0], 0x17
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x9c]
push 0xe
xor eax, eax
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
push str._localappdata_
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 7
mov word [ebp - 0x9c], ax
call fcn.1004d240
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x84], 0x1c
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x80]
push 9
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
push 0x102eba88
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
call fcn.1004d240
mov byte [ebp - 4], 0x1a
mov dword [ebp - 0x68], 0
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0x54], 0
push 0xa
xor eax, eax
mov dword [ebp - 0x50], 0
push str._system32_
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
call fcn.1004d240
mov byte [ebp - 4], 0x1c
mov dword [ebp - 0x4c], 0x25
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x48]
push 0xe
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
push str._localappdata_
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
call fcn.1004d240
mov byte [ebp - 4], 0x1e
mov dword [ebp - 0x30], 0x1c
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x2c]
push 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push str._windir_
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.1004d240
mov byte [ebp - 4], 0x20
mov dword [ebp - 0x14], 0x24
mov byte [ebp - 4], 0x21
mov dword [ebp - 0x2018], 0
mov dword [ebp - 0x2014], 0
call fcn.1004c260
mov dword [ebp - 0x2018], eax
mov byte [ebp - 4], 0x23
lea edi, [ebp - 0x17c]
nop dword [eax]
mov esi, dword [ebp - 0x2018]
lea ecx, [ebp - 0x2018]
push edi
call fcn.10137a10
push eax
add eax, 0x10
lea ecx, [ebp - 0x2018]
push eax
push esi
lea eax, [ebp - 0x2034]
push eax
call fcn.10137a90
add edi, 0x1c
lea eax, [ebp - 0x10]
cmp edi, eax
jne 0x101346b0
push fcn.1004b840
push 0xd
push 0x1c
lea eax, [ebp - 0x17c]
mov byte [ebp - 4], 0x25
push eax
call fcn.101afe85
mov edi, dword [ebp - 0x2018]
mov esi, dword [edi]
cmp esi, edi
je 0x101347fe
nop dword [eax]
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
mov dword [ebp - 0x203c], eax
mov ecx, eax
jb 0x10134723
mov ecx, dword [eax]
cmp dword [ebp - 0x201c], 8
lea eax, [ebp - 0x2030]
push ecx
cmovae eax, dword [ebp - 0x2030]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov ecx, eax
test ecx, ecx
jne 0x10134785
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], cl
je 0x10134769
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], cl
jne 0x10134765
cmp esi, dword [eax + 8]
jne 0x10134765
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10134755
mov esi, eax
jmp 0x1013477f
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1013477f
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x10134773
cmp esi, edi
jne 0x10134710
jmp 0x101347fe
cmp dword [ebp - 0x201c], 8
lea eax, [ebp - 0x2030]
push 0x1000
cmovae eax, dword [ebp - 0x2030]
sub ecx, eax
lea eax, [ebp - 0x2010]
sar ecx, 1
push 0
push eax
mov dword [ebp - 0x2034], ecx
call sub.VCRUNTIME140.dll_memset
mov esi, dword [ebp - 0x203c]
lea eax, [ebp - 0x2010]
add esp, 0xc
push 0
push dword [esi + 0x18]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x101347fe
lea ecx, [ebp - 0x2010]
call fcn.1004c340
push eax
lea eax, [ebp - 0x2010]
push eax
push dword [esi + 0x10]
lea ecx, [ebp - 0x2030]
push dword [ebp - 0x2034]
call fcn.10089380
lea edx, [ebp - 0x2030]
lea ecx, [ebp - 0x2058]
call fcn.101337f0
mov esi, eax
mov byte [ebp - 4], 0x26
mov edi, dword [ebp - 0x2040]
cmp edi, esi
je 0x10134847
mov ecx, edi
call fcn.1004b930
movups xmm0, xmmword [esi]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov byte [ebp - 4], 0x27
mov edx, dword [ebp - 0x2044]
cmp edx, 0x10
jb 0x10134887
mov ecx, dword [ebp - 0x2058]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1013487d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1013487d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.101afe54
add esp, 8
mov dword [ebp - 0x2048], 0
mov dword [ebp - 0x2044], 0xf
mov byte [ebp - 0x2058], 0
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x2018]
mov esi, dword [ebp - 0x2018]
push dword [esi + 4]
call fcn.1004c280
mov eax, dword [ebp - 0x2018]
push 0x2c
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x2018]
mov dword [eax], esi
mov eax, dword [ebp - 0x2018]
mov dword [eax + 8], esi
mov dword [ebp - 0x2014], 0
mov byte [ebp - 4], 0x2c
push dword [ebp - 0x2018]
call fcn.101afe54
add esp, 8
lea ecx, [ebp - 0x2030]
mov dword [ebp - 4], 0x2e
call fcn.1004bcb0
mov byte [ebp - 4], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101afab5
mov esp, ebp
pop ebp
ret