Function at 0x1c4421c
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 [0x1cda44c]
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.01c3f47c
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.01c3be7a
xor esi, esi
push edi
push esi
push dword [ebp + 0xc]
call fcn.01c42ed8
add esp, 0xc
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], esi
cmp byte [edi + 0xb], 0
jns 0x1c4428d
mov edi, dword [esp + 0x28]
lea ebx, [esp + 0x18]
push ebx
push str.UserDataDir
push edi
push esi
push 1
call fcn.01c42724
add esp, 0x14
test al, al
je 0x1c442f5
lea eax, [esp + 0xc]
push ebx
push eax
call fcn.01c4e654
add esp, 8
cmp byte [esp + 0xb], 0
jns 0x1c442de
mov eax, dword [esp]
mov word [eax], 0
mov dword [esp + 4], 0
cmp byte [esp + 0xb], 0
jns 0x1c442de
push dword [esp]
call fcn.01c92abc
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 8], eax
movsd xmm0, qword [esp + 0xc]
movsd qword [esp], xmm0
mov edi, esp
jmp 0x1c44369
cmp byte [esp + 0x33], 0
jns 0x1c44302
mov eax, dword [esp + 0x28]
jmp 0x1c44306
lea eax, [esp + 0x28]
mov edi, esp
push ebx
push str.UserDataDir
push eax
push 0
push 2
call fcn.01c42724
add esp, 0x14
test al, al
je 0x1c44369
lea eax, [esp + 0xc]
push ebx
push eax
call fcn.01c4e654
add esp, 8
cmp byte [esp + 0xb], 0
jns 0x1c44356
mov eax, dword [esp]
mov word [eax], 0
mov dword [esp + 4], 0
cmp byte [esp + 0xb], 0
jns 0x1c44356
push dword [esp]
call fcn.01c92abc
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 0x1c4437c
push dword [esp + 0x18]
call fcn.01c92abc
add esp, 4
cmp byte [esp + 0x33], 0
jns 0x1c4438f
push dword [esp + 0x28]
call fcn.01c92abc
add esp, 4
mov ebx, dword [ebp + 0x14]
movzx eax, byte [esp + 0xb]
test al, al
js 0x1c443b2
test al, al
je 0x1c44405
movzx ecx, word [esp + eax*2 - 2]
cmp cx, 0x2f
je 0x1c443d4
cmp cx, 0x5c
je 0x1c443d4
jmp 0x1c44405
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x1c44401
mov edx, dword [esp]
movzx ecx, word [edx + ecx*2 - 2]
cmp cx, 0x2f
je 0x1c443d0
cmp cx, 0x5c
je 0x1c443e3
jmp 0x1c443fd
test al, al
js 0x1c443e3
lea ecx, [eax - 1]
mov byte [esp + 0xb], cl
lea eax, [esp + eax*2]
add eax, 0xfffffffe
jmp 0x1c443f6
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 0x1c44392
test al, al
jns 0x1c44405
mov eax, dword [esp + 4]
test eax, eax
je 0x1c4441a
push edi
call fcn.01c437f8
add esp, 4
test al, al
jne 0x1c44540
mov esi, esp
mov ecx, ebx
push esi
call fcn.01c3f5d4
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.01c4334a
add esp, 8
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x1c4444d
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1c444c9
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 0x1c444a2
mov ecx, esp
push 0x5c
call fcn.01c3fc12
push esi
push 1
push dword [ebp + 0xc]
call fcn.01c42ed8
add esp, 0xc
mov ecx, esi
push 0x5c
call fcn.01c3fc12
mov ecx, esi
push 0x1cc1f7e
call fcn.01c3fb06
mov bl, 1
jmp 0x1c44529
xor eax, eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1c4451f
mov edi, eax
inc edi
mov ecx, ebx
push 0
push edi
call fcn.01c3f678
cmp byte [esp + 0x33], 0
jns 0x1c444ef
mov ebx, dword [esp + 0x28]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1c44525
movzx ecx, byte [esp + 0x33]
test cl, cl
jns 0x1c44508
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
mov edi, esp
jae 0x1c44521
lea ecx, [esp + 0x28]
push 0
push eax
call fcn.01c3f678
jmp 0x1c44451
mov edi, esp
xor ebx, ebx
jmp 0x1c44529
xor ebx, ebx
mov edi, esp
cmp byte [esp + 0x33], 0
jns 0x1c4453c
push dword [esp + 0x28]
call fcn.01c92abc
add esp, 4
test bl, bl
je 0x1c44580
lea esi, [esp + 0x28]
push 0x208
push 0xff
push esi
call fcn.01c97000
add esp, 0xc
cmp byte [esp + 0xb], 0
jns 0x1c44561
mov edi, dword [esp]
push 0x104
push edi
push esi
call fcn.01ca7d8d
add esp, 0xc
test eax, eax
je 0x1c44584
lea ecx, [esp + 0x18]
push esi
call fcn.01c3be7a
jmp 0x1c44592
xor ebx, ebx
jmp 0x1c445cc
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
jns 0x1c445b9
mov eax, dword [esi]
mov word [eax], 0
mov dword [esi + 4], 0
cmp byte [esi + 0xb], 0
jns 0x1c445b9
push dword [esi]
call fcn.01c92abc
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 0x1c445de
push dword [esp]
call fcn.01c92abc
add esp, 4
mov ecx, dword [esp + 0x230]
xor ecx, ebp
call fcn.01c92b01
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret