Function at 0x1c5ba5c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x238
mov eax, dword [ebp + 8]
mov ecx, dword [0x1cf7014]
xor ecx, ebp
mov dword [esp + 0x230], ecx
xor edi, edi
dec edi
mov dword [esp], edi
mov dword [esp + 4], edi
mov dword [esp + 8], edi
cmp byte [eax + 0xb], 0
js 0x1c5baa3
mov ecx, dword [eax + 8]
mov dword [esp + 8], ecx
movsd xmm0, qword [eax]
movsd qword [esp], xmm0
jmp 0x1c5baaf
mov ecx, esp
push dword [eax + 4]
push dword [eax]
call fcn.01c553c0
lea esi, [esp + 0x28]
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov ecx, esi
push str.SOFTWAREPolicies_
call fcn.01c33dba
xor edi, edi
push esi
push edi
push dword [ebp + 0xc]
call fcn.01c59774
add esp, 0xc
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
cmp byte [esi + 0xb], 0
jns 0x1c5baec
mov esi, dword [esp + 0x28]
lea ebx, [esp + 0x18]
push ebx
push str.UserDataDir
push esi
push edi
push 1
call fcn.01c58d61
add esp, 0x14
test al, al
jne 0x1c5bb2e
cmp byte [esp + 0x33], 0
jns 0x1c5bb13
mov eax, dword [esp + 0x28]
jmp 0x1c5bb17
lea eax, [esp + 0x28]
push ebx
push str.UserDataDir
push eax
push 0
push 2
call fcn.01c58d61
add esp, 0x14
test al, al
je 0x1c5bb61
lea eax, [esp + 0xc]
push ebx
push eax
call fcn.01c64588
add esp, 8
cmp byte [esp + 0xb], 0
jns 0x1c5bb4e
push dword [esp]
call fcn.01cafb00
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 8], eax
movsd xmm0, qword [esp + 0xc]
movsd qword [esp], xmm0
cmp byte [esp + 0x23], 0
jns 0x1c5bb74
push dword [esp + 0x18]
call fcn.01cafb00
add esp, 4
cmp byte [esp + 0x33], 0
mov ebx, dword [ebp + 0xc]
jns 0x1c5bb8a
push dword [esp + 0x28]
call fcn.01cafb00
add esp, 4
mov al, byte [esp + 0xb]
test al, al
mov edx, dword [esp + 4]
movzx ecx, al
mov esi, ecx
cmovs esi, edx
test esi, esi
je 0x1c5bc1b
mov esi, esp
mov ecx, esi
call fcn.01c33c6e
cmp word [eax], 0x5c
je 0x1c5bbbc
mov ecx, esi
call fcn.01c33c6e
cmp word [eax], 0x2f
jne 0x1c5bc10
movzx eax, byte [esp + 0xb]
test al, al
js 0x1c5bbde
test eax, eax
je 0x1c5be1b
cmp al, 6
jae 0x1c5be2c
dec eax
mov byte [esp + 0xb], al
mov ecx, esi
jmp 0x1c5bbf2
mov eax, dword [esp + 4]
test eax, eax
je 0x1c5be1b
mov ecx, dword [esp]
dec eax
mov dword [esp + 4], eax
mov word [ecx + eax*2], 0
mov al, byte [esp + 0xb]
movzx ecx, al
test al, al
mov edx, dword [esp + 4]
mov edi, ecx
cmovs edi, edx
test edi, edi
jne 0x1c5bba2
jmp 0x1c5bc1b
mov al, byte [esp + 0xb]
mov edx, dword [esp + 4]
movzx ecx, al
test al, al
cmovs ecx, edx
test ecx, ecx
je 0x1c5bc37
mov eax, esp
push eax
call fcn.01c5abe9
add esp, 4
test al, al
jne 0x1c5bd6e
mov ecx, dword [ebp + 0x14]
mov edi, esp
push edi
call fcn.01c33c24
lea esi, [esp + 0x28]
xor eax, eax
dec eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push str.LOCALAPPDATA
push esi
call fcn.01c59f16
add esp, 8
movzx eax, byte [esi + 0xb]
test al, al
jns 0x1c5bc6b
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1c5bcab
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov esi, dword [esp + 0x30]
mov dword [esp + 8], esi
movsd xmm0, qword [esp + 0x28]
movsd qword [esp], xmm0
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
movzx eax, byte [esp + 0xb]
test al, al
js 0x1c5bd10
test eax, eax
jne 0x1c5bd1f
jmp 0x1c5be4a
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1c5bd57
mov edi, eax
inc edi
mov ecx, esi
push 0
push edi
call fcn.01c55f58
cmp byte [esp + 0x33], 0
jns 0x1c5bcd5
mov esi, dword [esp + 0x28]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
mov ebx, dword [ebp + 0xc]
je 0x1c5be14
movzx ecx, byte [esp + 0x33]
test cl, cl
jns 0x1c5bcf5
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
mov edi, esp
jae 0x1c5be14
lea ecx, [esp + 0x28]
push 0
push eax
call fcn.01c55f58
jmp 0x1c5bc6f
mov eax, dword [esp + 4]
test eax, eax
je 0x1c5be4a
mov edi, dword [esp]
cmp word [edi + eax*2 - 2], 0x5c
je 0x1c5bd30
mov ecx, esp
push 0x5c
call fcn.01c55c48
mov esi, esp
push esi
push 1
push ebx
call fcn.01c59774
add esp, 0xc
mov ecx, esi
push 0x5c
call fcn.01c55c48
mov ecx, esi
push 9
push str.User_Data
call fcn.01c55800
mov bl, 1
cmp byte [esp + 0x33], 0
jns 0x1c5bd6a
push dword [esp + 0x28]
call fcn.01cafb00
add esp, 4
test bl, bl
je 0x1c5bd91
lea edi, [esp + 0x28]
push 0x208
push 0xff
push edi
call fcn.01cb3330
add esp, 0xc
cmp byte [esp + 0xb], 0
jns 0x1c5bd95
mov eax, dword [esp]
jmp 0x1c5bd97
xor ebx, ebx
jmp 0x1c5bdea
mov eax, esp
mov esi, dword [ebp + 0x10]
push 0x104
push eax
push edi
call fcn.01cc598f
add esp, 0xc
test eax, eax
je 0x1c5bdb9
lea ecx, [esp + 0x18]
push edi
call fcn.01c33dba
jmp 0x1c5bdc7
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
cmp byte [esi + 0xb], 0
jns 0x1c5bdd7
push dword [esi]
call fcn.01cafb00
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [esi + 8], eax
movsd xmm0, qword [esp + 0x18]
movsd qword [esi], xmm0
mov bl, 1
cmp byte [esp + 0xb], 0
jns 0x1c5bdfc
push dword [esp]
call fcn.01cafb00
add esp, 4
mov ecx, dword [esp + 0x230]
xor ecx, ebp
call fcn.01cb0ac3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
jmp 0x1c5bd57
push str.string::pop_back__:_string_is_already_empty
push str._empty__
push 0xcb9
jmp 0x1c5be3b
push str.__s_should_never_be_greater_than_or_equal_to_the_short_string_capacity
push str.__s_____min_cap
push 0x6cf
push str....._buildtools_third_partylibc_trunkinclude_string
push str._s:_d:_assertion__s_failed:__s
call fcn.01c36838
push str.string_index_out_of_bounds
push str.__pos___size__
push 0x45b
jmp 0x1c5be3b