Function at 0x1c43f38
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 [0x1cd643c]
xor ecx, ebp
mov dword [esp + 0x230], ecx
xor esi, esi
dec esi
mov ecx, esp
mov dword [ecx], esi
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
push eax
call fcn.01c3f11c
lea edi, [esp + 0x28]
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov ecx, edi
push str.SOFTWAREPolicies_
call fcn.01c3bada
xor esi, esi
push edi
push esi
push dword [ebp + 0xc]
call fcn.01c42b68
add esp, 0xc
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], esi
cmp byte [edi + 0xb], 0
jns 0x1c43fa9
mov edi, dword [esp + 0x28]
lea ebx, [esp + 0x18]
push ebx
push str.UserDataDir
push edi
push esi
push 1
call fcn.01c423ce
add esp, 0x14
test al, al
je 0x1c43fe7
lea eax, [esp + 0xc]
push ebx
push eax
call fcn.01c4e604
add esp, 8
cmp byte [esp + 0xb], 0
js 0x1c44037
mov word [esp], 0
mov byte [esp + 0xb], 0
mov edi, esp
jmp 0x1c44063
cmp byte [esp + 0x33], 0
jns 0x1c43ff4
mov eax, dword [esp + 0x28]
jmp 0x1c43ff8
lea eax, [esp + 0x28]
mov edi, esp
push ebx
push str.UserDataDir
push eax
push 0
push 2
call fcn.01c423ce
add esp, 0x14
test al, al
je 0x1c44076
lea eax, [esp + 0xc]
push ebx
push eax
call fcn.01c4e604
add esp, 8
cmp byte [esp + 0xb], 0
js 0x1c44235
mov word [esp], 0
mov byte [esp + 0xb], 0
jmp 0x1c44063
mov eax, dword [esp]
mov word [eax], 0
mov dword [esp + 4], 0
cmp byte [esp + 0xb], 0
mov edi, esp
jns 0x1c44063
push dword [esp]
call fcn.01c8fed0
add esp, 4
mov dword [esp + 8], 0
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 0x1c44089
push dword [esp + 0x18]
call fcn.01c8fed0
add esp, 4
cmp byte [esp + 0x33], 0
jns 0x1c4409c
push dword [esp + 0x28]
call fcn.01c8fed0
add esp, 4
mov ebx, dword [ebp + 0x14]
movzx eax, byte [esp + 0xb]
test al, al
js 0x1c440bf
test al, al
je 0x1c44112
movzx ecx, word [esp + eax*2 - 2]
cmp cx, 0x2f
je 0x1c440e1
cmp cx, 0x5c
je 0x1c440e1
jmp 0x1c44112
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x1c4410e
mov edx, dword [esp]
movzx ecx, word [edx + ecx*2 - 2]
cmp cx, 0x2f
je 0x1c440dd
cmp cx, 0x5c
je 0x1c440f0
jmp 0x1c4410a
test al, al
js 0x1c440f0
lea ecx, [eax - 1]
mov byte [esp + 0xb], cl
lea eax, [esp + eax*2]
add eax, 0xfffffffe
jmp 0x1c44103
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 0x1c4409f
test al, al
jns 0x1c44112
mov eax, dword [esp + 4]
test eax, eax
je 0x1c44127
push edi
call fcn.01c434a7
add esp, 4
test al, al
jne 0x1c44270
mov esi, esp
mov ecx, ebx
push esi
call fcn.01c3f28c
lea ebx, [esp + 0x28]
xor eax, eax
dec eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
push str.LOCALAPPDATA
push ebx
call fcn.01c42fe6
add esp, 8
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x1c4415a
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1c441d9
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov ebx, esi
mov esi, dword [esp + 0x30]
mov dword [esp + 8], esi
mov esi, ebx
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 0x1c441af
mov ecx, esp
push 0x5c
call fcn.01c3f8c8
push esi
push 1
push dword [ebp + 0xc]
call fcn.01c42b68
add esp, 0xc
mov ecx, esi
push 0x5c
call fcn.01c3f8c8
mov ecx, esi
push 0x1cbdefe
call fcn.01c3f7b8
mov bl, 1
jmp 0x1c44259
xor eax, eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1c4422f
mov edi, eax
inc edi
mov ecx, ebx
push 0
push edi
call fcn.01c3f330
cmp byte [esp + 0x33], 0
jns 0x1c441ff
mov ebx, dword [esp + 0x28]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1c44255
movzx ecx, byte [esp + 0x33]
test cl, cl
jns 0x1c44218
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
mov edi, esp
jae 0x1c44231
lea ecx, [esp + 0x28]
push 0
push eax
call fcn.01c3f330
jmp 0x1c4415e
mov edi, esp
xor ebx, ebx
jmp 0x1c44259
mov eax, dword [esp]
mov word [eax], 0
mov dword [esp + 4], 0
cmp byte [esp + 0xb], 0
jns 0x1c44063
jmp 0x1c44050
xor ebx, ebx
mov edi, esp
cmp byte [esp + 0x33], 0
jns 0x1c4426c
push dword [esp + 0x28]
call fcn.01c8fed0
add esp, 4
test bl, bl
je 0x1c442b0
lea esi, [esp + 0x28]
push 0x208
push 0xff
push esi
call fcn.01c93b00
add esp, 0xc
cmp byte [esp + 0xb], 0
jns 0x1c44291
mov edi, dword [esp]
push 0x104
push edi
push esi
call fcn.01ca46bd
add esp, 0xc
test eax, eax
je 0x1c442b4
lea ecx, [esp + 0x18]
push esi
call fcn.01c3bada
jmp 0x1c442c2
xor ebx, ebx
jmp 0x1c4430e
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov esi, dword [ebp + 0x10]
cmp byte [esi + 0xb], 0
js 0x1c442d6
mov word [esi], 0
mov byte [esi + 0xb], 0
jmp 0x1c442fb
mov eax, dword [esi]
mov word [eax], 0
mov dword [esi + 4], 0
cmp byte [esi + 0xb], 0
jns 0x1c442fb
push dword [esi]
call fcn.01c8fed0
add esp, 4
mov dword [esi + 8], 0
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 0x1c44320
push dword [esp]
call fcn.01c8fed0
add esp, 4
mov ecx, dword [esp + 0x230]
xor ecx, ebp
call fcn.01c8ff11
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret