Function at 0x1c4a5c0
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 [0x1cf151c]
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 0x1c4a607
mov ecx, dword [eax + 8]
mov dword [esp + 8], ecx
movsd xmm0, qword [eax]
movsd qword [esp], xmm0
jmp 0x1c4a613
mov ecx, esp
push dword [eax + 4]
push dword [eax]
call fcn.01c453d6
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.01c2210a
xor ebx, ebx
push esi
push ebx
push dword [ebp + 0xc]
call fcn.01c492f4
add esp, 0xc
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
cmp byte [esi + 0xb], 0
jns 0x1c4a650
mov esi, dword [esp + 0x28]
lea edi, [esp + 0x18]
push edi
push str.UserDataDir
push esi
push ebx
push 1
call fcn.01c48af5
add esp, 0x14
test al, al
jne 0x1c4a692
cmp byte [esp + 0x33], 0
jns 0x1c4a677
mov eax, dword [esp + 0x28]
jmp 0x1c4a67b
lea eax, [esp + 0x28]
push edi
push str.UserDataDir
push eax
push 0
push 2
call fcn.01c48af5
add esp, 0x14
test al, al
je 0x1c4a6c5
lea eax, [esp + 0xc]
push edi
push eax
call fcn.01c55174
add esp, 8
cmp byte [esp + 0xb], 0
jns 0x1c4a6b2
push dword [esp]
call fcn.01caae80
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 0x1c4a6d8
push dword [esp + 0x18]
call fcn.01caae80
add esp, 4
cmp byte [esp + 0x33], 0
jns 0x1c4a6eb
push dword [esp + 0x28]
call fcn.01caae80
add esp, 4
mov edi, dword [ebp + 0x14]
movzx eax, byte [esp + 0xb]
test al, al
js 0x1c4a70e
test eax, eax
je 0x1c4a761
movzx ecx, word [esp + eax*2 - 2]
cmp cx, 0x2f
je 0x1c4a730
cmp cx, 0x5c
je 0x1c4a730
jmp 0x1c4a761
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x1c4a75d
mov edx, dword [esp]
movzx ecx, word [edx + ecx*2 - 2]
cmp cx, 0x2f
je 0x1c4a72c
cmp cx, 0x5c
je 0x1c4a73f
jmp 0x1c4a759
test al, al
js 0x1c4a73f
lea ecx, [eax - 1]
mov byte [esp + 0xb], cl
lea eax, [esp + eax*2]
add eax, 0xfffffffe
jmp 0x1c4a752
mov eax, dword [esp + 4]
lea ecx, [eax - 1]
mov dword [esp + 4], ecx
add eax, eax
add eax, 0xfffffffe
add eax, dword [esp]
mov word [eax], 0
jmp 0x1c4a6ee
test al, al
jns 0x1c4a761
mov eax, dword [esp + 4]
test eax, eax
je 0x1c4a778
mov eax, esp
push eax
call fcn.01c49b67
add esp, 4
test al, al
jne 0x1c4a83c
mov ebx, esp
mov ecx, edi
push ebx
call fcn.01c2200e
lea edi, [esp + 0x28]
xor eax, eax
dec eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
push str.LOCALAPPDATA
push edi
call fcn.01c496fb
add esp, 8
movzx eax, byte [edi + 0xb]
test al, al
jns 0x1c4a7ab
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1c4a88a
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
cmovs eax, dword [esp + 4]
mov ecx, dword [esp]
cmovns ecx, ebx
cmp word [ecx + eax*2 - 2], 0x5c
je 0x1c4a800
mov ecx, esp
push 0x5c
call fcn.01c45a54
push ebx
push 1
push dword [ebp + 0xc]
call fcn.01c492f4
add esp, 0xc
mov ecx, ebx
push 0x5c
call fcn.01c45a54
mov ecx, ebx
push 0x1cda512
call fcn.01c45d7e
mov bl, 1
cmp byte [esp + 0x33], 0
jns 0x1c4a838
push dword [esp + 0x28]
call fcn.01caae80
add esp, 4
test bl, bl
je 0x1c4a85f
lea esi, [esp + 0x28]
push 0x208
push 0xff
push esi
call fcn.01caf0d0
add esp, 0xc
cmp byte [esp + 0xb], 0
jns 0x1c4a866
mov eax, dword [esp]
jmp 0x1c4a868
xor ebx, ebx
jmp 0x1c4a911
mov eax, esp
mov edi, dword [ebp + 0x10]
push 0x104
push eax
push esi
call fcn.01cbfde6
add esp, 0xc
test eax, eax
je 0x1c4a8e0
lea ecx, [esp + 0x18]
push esi
call fcn.01c2210a
jmp 0x1c4a8ee
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1c4a825
mov esi, eax
inc esi
mov ecx, edi
push 0
push esi
call fcn.01c45da0
cmp byte [esp + 0x33], 0
jns 0x1c4a8b0
mov edi, dword [esp + 0x28]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
mov ebx, esp
je 0x1c4a93b
movzx ecx, byte [esp + 0x33]
test cl, cl
jns 0x1c4a8cb
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jae 0x1c4a93b
lea ecx, [esp + 0x28]
push 0
push eax
call fcn.01c45da0
jmp 0x1c4a7b3
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
cmp byte [edi + 0xb], 0
jns 0x1c4a8fe
push dword [edi]
call fcn.01caae80
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [edi + 8], eax
movsd xmm0, qword [esp + 0x18]
movsd qword [edi], xmm0
mov bl, 1
cmp byte [esp + 0xb], 0
jns 0x1c4a923
push dword [esp]
call fcn.01caae80
add esp, 4
mov ecx, dword [esp + 0x230]
xor ecx, ebp
call fcn.01caaec1
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
jmp 0x1c4a825