Function at 0x1c4ea70
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 [0x1d18014]
xor ecx, ebp
mov dword [esp + 0x230], ecx
xor ecx, ecx
dec ecx
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
cmp byte [eax + 0xb], 0
jns 0x1c4eab3
mov ecx, esp
push dword [eax + 4]
push dword [eax]
call fcn.01c4a320
jmp 0x1c4eac3
mov ecx, dword [eax + 8]
mov dword [esp + 8], ecx
movsd xmm0, qword [eax]
movsd qword [esp], xmm0
lea esi, [esp + 0x28]
xor eax, eax
dec eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov ecx, esi
push str.SOFTWAREPolicies_
call fcn.01cc8630
xor edi, edi
push esi
push edi
push dword [ebp + 0xc]
call fcn.01c4d1a0
add esp, 0xc
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
cmp byte [esi + 0xb], 0
jns 0x1c4eb03
mov esi, dword [esp + 0x28]
lea ebx, [esp + 0x18]
push ebx
push str.UserDataDir
push esi
push edi
push 1
call fcn.01c4ccc0
add esp, 0x14
test al, al
jne 0x1c4eb45
cmp byte [esp + 0x33], 0
jns 0x1c4eb2a
mov eax, dword [esp + 0x28]
jmp 0x1c4eb2e
lea eax, [esp + 0x28]
push ebx
push str.UserDataDir
push eax
push 0
push 2
call fcn.01c4ccc0
add esp, 0x14
test al, al
je 0x1c4eb78
lea eax, [esp + 0xc]
push ebx
push eax
call fcn.01c57830
add esp, 8
cmp byte [esp + 0xb], 0
jns 0x1c4eb65
push dword [esp]
call fcn.01c9ba37
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 0x1c4eb8b
push dword [esp + 0x18]
call fcn.01c9ba37
add esp, 4
cmp byte [esp + 0x33], 0
jns 0x1c4eb9e
push dword [esp + 0x28]
call fcn.01c9ba37
add esp, 4
movzx ecx, byte [esp + 0xb]
test cl, cl
jns 0x1c4ebad
mov eax, dword [esp + 4]
jmp 0x1c4ebb2
mov eax, ecx
and eax, 0x7f
test eax, eax
je 0x1c4ec26
shr cl, 7
mov edx, esp
mov esi, edx
test cl, 1
je 0x1c4ebc5
mov esi, dword [esp]
movzx edi, word [esi + eax*2 - 2]
cmp edi, 0x5c
je 0x1c4ebd4
cmp edi, 0x2f
jne 0x1c4ec13
lea ebx, [eax - 1]
test cl, 1
je 0x1c4ebe2
mov dword [esp + 4], ebx
jmp 0x1c4ebef
cmp eax, 6
jae 0x1c4ee64
mov byte [esp + 0xb], bl
mov word [esi + eax*2 - 2], 0
movzx ecx, byte [esp + 0xb]
test cl, cl
jns 0x1c4ec05
mov eax, dword [esp + 4]
jmp 0x1c4ec0a
mov eax, ecx
and eax, 0x7f
shr cl, 7
test eax, eax
jne 0x1c4ebbb
jmp 0x1c4ec26
mov eax, esp
push eax
call fcn.01c4dd10
add esp, 4
test al, al
jne 0x1c4ed7f
mov ecx, dword [ebp + 0x14]
mov edi, esp
cmp edi, ecx
je 0x1c4ec61
cmp byte [ecx + 0xb], 0
movzx eax, byte [esp + 0xb]
js 0x1c4ee46
test al, al
jns 0x1c4ec51
push dword [esp + 4]
push dword [esp + 4]
call fcn.01c4acd0
jmp 0x1c4ec61
mov eax, dword [esp + 8]
mov dword [ecx + 8], eax
movsd xmm0, qword [esp]
movsd qword [ecx], xmm0
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.01c4d750
add esp, 8
movzx eax, byte [esi + 0xb]
test al, al
jns 0x1c4ec8c
mov eax, dword [esp + 0x2c]
jmp 0x1c4ec8f
and eax, 0x7f
test eax, eax
je 0x1c4eccc
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 ecx, byte [esp + 0xb]
test cl, cl
jns 0x1c4ed1c
mov eax, dword [esp + 4]
jmp 0x1c4ed21
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1c4ed68
mov edi, eax
inc edi
mov ecx, esi
push 0
push edi
call fcn.01c7bf10
cmp byte [esp + 0x33], 0
jns 0x1c4ecf6
mov esi, dword [esp + 0x28]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1c4ee33
movzx ecx, byte [esp + 0x33]
test cl, cl
jns 0x1c4ee19
mov ecx, dword [esp + 0x2c]
jmp 0x1c4ee1c
mov eax, ecx
and eax, 0x7f
test eax, eax
je 0x1c4ee82
test cl, cl
jns 0x1c4ed30
mov edi, dword [esp]
cmp word [edi + eax*2 - 2], 0x5c
je 0x1c4ed41
mov ecx, esp
push 0x5c
call fcn.01c7bbe0
mov esi, esp
push esi
push 1
push dword [ebp + 0xc]
call fcn.01c4d1a0
add esp, 0xc
mov ecx, esi
push 0x5c
call fcn.01c7bbe0
mov ecx, esi
push str.User_Data
call fcn.01c4af90
mov bl, 1
cmp byte [esp + 0x33], 0
jns 0x1c4ed7b
push dword [esp + 0x28]
call fcn.01c9ba37
add esp, 4
test bl, bl
je 0x1c4eda2
lea edi, [esp + 0x28]
push 0x208
push 0xff
push edi
call fcn.01c9f2d0
add esp, 0xc
cmp byte [esp + 0xb], 0
jns 0x1c4eda6
mov eax, dword [esp]
jmp 0x1c4eda8
xor ebx, ebx
jmp 0x1c4edef
mov eax, esp
mov esi, dword [ebp + 0x10]
push 0x104
push eax
push edi
call fcn.01cb2950
add esp, 0xc
test eax, eax
jne 0x1c4ee3a
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
cmp byte [esi + 0xb], 0
jns 0x1c4eddc
push dword [esi]
call fcn.01c9ba37
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 0x1c4ee01
push dword [esp]
call fcn.01c9ba37
add esp, 4
mov ecx, dword [esp + 0x230]
xor ecx, ebp
call fcn.01c9ca53
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
and ecx, 0x7f
mov edi, esp
cmp eax, ecx
jae 0x1c4ee33
lea ecx, [esp + 0x28]
push 0
push eax
call fcn.01c7bf10
jmp 0x1c4ec93
xor ebx, ebx
jmp 0x1c4ed68
lea ecx, [esp + 0x18]
push edi
call fcn.01cc8630
jmp 0x1c4edcc
mov edx, eax
and edx, 0x7f
test al, al
cmovs edx, dword [esp + 4]
mov eax, dword [esp]
cmovns eax, edi
push edx
push eax
call fcn.01c4ac00
jmp 0x1c4ec61
push str.__s_should_never_be_greater_than_or_equal_to_the_short_string_capacity
push str.__s_____min_cap
push 0x66c
push str....._buildtools_third_partylibc_trunkinclude_string
push str._s:_d:_assertion__s_failed:__s
call fcn.01ccb1e0
push str.string_index_out_of_bounds
push str.__pos___size__
push 0xd57
jmp 0x1c4ee73