Function at 0x1c41fa0
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 [0x1cea148]
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.01c3e54e
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.01c3af3a
xor esi, esi
push edi
push esi
push dword [ebp + 0xc]
call fcn.01c42a18
add esp, 0xc
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], esi
cmp byte [edi + 0xb], 0
jns 0x1c42011
mov edi, dword [esp + 0x28]
lea ebx, [esp + 0x18]
push ebx
push str.UserDataDir
push edi
push esi
push 1
call fcn.01c418d6
add esp, 0x14
test al, al
je 0x1c42079
lea eax, [esp + 0xc]
push ebx
push eax
call fcn.01c438b8
add esp, 8
cmp byte [esp + 0xb], 0
jns 0x1c42062
mov eax, dword [esp]
mov word [eax], 0
mov dword [esp + 4], 0
cmp byte [esp + 0xb], 0
jns 0x1c42062
push dword [esp]
call fcn.01c8b528
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 0x1c420ed
cmp byte [esp + 0x33], 0
jns 0x1c42086
mov eax, dword [esp + 0x28]
jmp 0x1c4208a
lea eax, [esp + 0x28]
mov edi, esp
push ebx
push str.UserDataDir
push eax
push 0
push 2
call fcn.01c418d6
add esp, 0x14
test al, al
je 0x1c420ed
lea eax, [esp + 0xc]
push ebx
push eax
call fcn.01c438b8
add esp, 8
cmp byte [esp + 0xb], 0
jns 0x1c420da
mov eax, dword [esp]
mov word [eax], 0
mov dword [esp + 4], 0
cmp byte [esp + 0xb], 0
jns 0x1c420da
push dword [esp]
call fcn.01c8b528
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 0x1c42100
push dword [esp + 0x18]
call fcn.01c8b528
add esp, 4
cmp byte [esp + 0x33], 0
jns 0x1c42113
push dword [esp + 0x28]
call fcn.01c8b528
add esp, 4
mov ebx, dword [ebp + 0x14]
movzx eax, byte [esp + 0xb]
test al, al
js 0x1c42136
test al, al
je 0x1c42189
movzx ecx, word [esp + eax*2 - 2]
cmp cx, 0x2f
je 0x1c42158
cmp cx, 0x5c
je 0x1c42158
jmp 0x1c42189
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x1c42185
mov edx, dword [esp]
movzx ecx, word [edx + ecx*2 - 2]
cmp cx, 0x2f
je 0x1c42154
cmp cx, 0x5c
je 0x1c42167
jmp 0x1c42181
test al, al
js 0x1c42167
lea ecx, [eax - 1]
mov byte [esp + 0xb], cl
lea eax, [esp + eax*2]
add eax, 0xfffffffe
jmp 0x1c4217a
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 0x1c42116
test al, al
jns 0x1c42189
mov eax, dword [esp + 4]
test eax, eax
je 0x1c4219e
push edi
call fcn.01c43336
add esp, 4
test al, al
jne 0x1c422c4
mov esi, esp
mov ecx, ebx
push esi
call fcn.01c3e6a6
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.01c42e8a
add esp, 8
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x1c421d1
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1c4224d
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 0x1c42226
mov ecx, esp
push 0x5c
call fcn.01c3ece8
push esi
push 1
push dword [ebp + 0xc]
call fcn.01c42a18
add esp, 0xc
mov ecx, esi
push 0x5c
call fcn.01c3ece8
mov ecx, esi
push 0x1cb9ff2
call fcn.01c3ebd8
mov bl, 1
jmp 0x1c422ad
xor eax, eax
push eax
push eax
call dword [sym.imp.kernel32.dll_GetTempPathW]
test eax, eax
je 0x1c422a3
mov edi, eax
inc edi
mov ecx, ebx
push 0
push edi
call fcn.01c3e74a
cmp byte [esp + 0x33], 0
jns 0x1c42273
mov ebx, dword [esp + 0x28]
push ebx
push edi
call dword [sym.imp.kernel32.dll_GetTempPathW]
test eax, eax
je 0x1c422a9
movzx ecx, byte [esp + 0x33]
test cl, cl
jns 0x1c4228c
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
mov edi, esp
jae 0x1c422a5
lea ecx, [esp + 0x28]
push 0
push eax
call fcn.01c3e74a
jmp 0x1c421d5
mov edi, esp
xor ebx, ebx
jmp 0x1c422ad
xor ebx, ebx
mov edi, esp
cmp byte [esp + 0x33], 0
jns 0x1c422c0
push dword [esp + 0x28]
call fcn.01c8b528
add esp, 4
test bl, bl
je 0x1c42304
lea esi, [esp + 0x28]
push 0x208
push 0xff
push esi
call fcn.01c8cb90
add esp, 0xc
cmp byte [esp + 0xb], 0
jns 0x1c422e5
mov edi, dword [esp]
push 0x104
push edi
push esi
call fcn.01c9931c
add esp, 0xc
test eax, eax
je 0x1c42308
lea ecx, [esp + 0x18]
push esi
call fcn.01c3af3a
jmp 0x1c42316
xor ebx, ebx
jmp 0x1c42350
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 0x1c4233d
mov eax, dword [esi]
mov word [eax], 0
mov dword [esi + 4], 0
cmp byte [esi + 0xb], 0
jns 0x1c4233d
push dword [esi]
call fcn.01c8b528
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 0x1c42362
push dword [esp]
call fcn.01c8b528
add esp, 4
mov ecx, dword [esp + 0x230]
xor ecx, ebp
call fcn.01c8b52d
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret