Function at 0x1c46d84
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 [0x1d01324]
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 0x1c46dcb
mov ecx, dword [eax + 8]
mov dword [esp + 8], ecx
movsd xmm0, qword [eax]
movsd qword [esp], xmm0
jmp 0x1c46dd7
mov ecx, esp
push dword [eax + 4]
push dword [eax]
call fcn.01c40a78
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.01c3ceea
xor ebx, ebx
push esi
push ebx
push dword [ebp + 0xc]
call fcn.01c449a4
add esp, 0xc
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
cmp byte [esi + 0xb], 0
jns 0x1c46e14
mov esi, dword [esp + 0x28]
lea edi, [esp + 0x18]
push edi
push str.UserDataDir
push esi
push ebx
push 1
call fcn.01c441dd
add esp, 0x14
test al, al
jne 0x1c46e56
cmp byte [esp + 0x33], 0
jns 0x1c46e3b
mov eax, dword [esp + 0x28]
jmp 0x1c46e3f
lea eax, [esp + 0x28]
push edi
push str.UserDataDir
push eax
push 0
push 2
call fcn.01c441dd
add esp, 0x14
test al, al
je 0x1c46e89
lea eax, [esp + 0xc]
push edi
push eax
call fcn.01c4ac5c
add esp, 8
cmp byte [esp + 0xb], 0
jns 0x1c46e76
push dword [esp]
call fcn.01cb3106
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 0x1c46e9c
push dword [esp + 0x18]
call fcn.01cb3106
add esp, 4
cmp byte [esp + 0x33], 0
jns 0x1c46eaf
push dword [esp + 0x28]
call fcn.01cb3106
add esp, 4
mov edi, dword [ebp + 0x14]
movzx eax, byte [esp + 0xb]
test al, al
js 0x1c46ed2
test al, al
je 0x1c46f25
movzx ecx, word [esp + eax*2 - 2]
cmp cx, 0x2f
je 0x1c46ef4
cmp cx, 0x5c
je 0x1c46ef4
jmp 0x1c46f25
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x1c46f21
mov edx, dword [esp]
movzx ecx, word [edx + ecx*2 - 2]
cmp cx, 0x2f
je 0x1c46ef0
cmp cx, 0x5c
je 0x1c46f03
jmp 0x1c46f1d
test al, al
js 0x1c46f03
lea ecx, [eax - 1]
mov byte [esp + 0xb], cl
lea eax, [esp + eax*2]
add eax, 0xfffffffe
jmp 0x1c46f16
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 0x1c46eb2
test al, al
jns 0x1c46f25
mov eax, dword [esp + 4]
test eax, eax
je 0x1c46f3c
mov eax, esp
push eax
call fcn.01c45cde
add esp, 4
test al, al
jne 0x1c47000
mov ebx, esp
mov ecx, edi
push ebx
call fcn.01c21f1e
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.01c45112
add esp, 8
movzx eax, byte [edi + 0xb]
test al, al
jns 0x1c46f6f
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1c4704e
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 0x1c46fc4
mov ecx, esp
push 0x5c
call fcn.01c411a4
push ebx
push 1
push dword [ebp + 0xc]
call fcn.01c449a4
add esp, 0xc
mov ecx, ebx
push 0x5c
call fcn.01c411a4
mov ecx, ebx
push str.User_Data
call fcn.01c414d0
mov bl, 1
cmp byte [esp + 0x33], 0
jns 0x1c46ffc
push dword [esp + 0x28]
call fcn.01cb3106
add esp, 4
test bl, bl
je 0x1c47023
lea esi, [esp + 0x28]
push 0x208
push 0xff
push esi
call fcn.01cb76e0
add esp, 0xc
cmp byte [esp + 0xb], 0
jns 0x1c4702a
mov eax, dword [esp]
jmp 0x1c4702c
xor ebx, ebx
jmp 0x1c470d5
mov eax, esp
mov edi, dword [ebp + 0x10]
push 0x104
push eax
push esi
call fcn.01cca0bb
add esp, 0xc
test eax, eax
je 0x1c470a4
lea ecx, [esp + 0x18]
push esi
call fcn.01c3ceea
jmp 0x1c470b2
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1c46fe9
mov esi, eax
inc esi
mov ecx, edi
push 0
push esi
call fcn.01c4153e
cmp byte [esp + 0x33], 0
jns 0x1c47074
mov edi, dword [esp + 0x28]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
mov ebx, esp
je 0x1c470ff
movzx ecx, byte [esp + 0x33]
test cl, cl
jns 0x1c4708f
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jae 0x1c470ff
lea ecx, [esp + 0x28]
push 0
push eax
call fcn.01c4153e
jmp 0x1c46f77
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
cmp byte [edi + 0xb], 0
jns 0x1c470c2
push dword [edi]
call fcn.01cb3106
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 0x1c470e7
push dword [esp]
call fcn.01cb3106
add esp, 4
mov ecx, dword [esp + 0x230]
xor ecx, ebp
call fcn.01cb3141
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
jmp 0x1c46fe9