Function at 0x1c41730
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x230
mov eax, dword [ebp + 8]
mov ecx, dword [0x1d17014]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
xor edi, edi
dec edi
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x234], edi
cmp byte [eax + 0xb], 0
jns 0x1c41777
lea ecx, [ebp - 0x23c]
push dword [eax + 4]
push dword [eax]
call fcn.01c3d500
jmp 0x1c4178c
mov ecx, dword [eax + 8]
mov dword [ebp - 0x234], ecx
movsd xmm0, qword [eax]
movsd qword [ebp - 0x23c], xmm0
lea esi, [ebp - 0x218]
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov ecx, esi
push str.SOFTWAREPolicies_
call fcn.01cc3870
xor edi, edi
push esi
push edi
push dword [ebp + 0xc]
call fcn.01c40060
add esp, 0xc
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x21c], edi
cmp byte [esi + 0xb], 0
jns 0x1c417d3
mov esi, dword [ebp - 0x218]
lea ebx, [ebp - 0x224]
push ebx
push str.UserDataDir
push esi
push edi
push 1
call fcn.01c3fbf0
add esp, 0x14
test al, al
jne 0x1c4181d
cmp byte [ebp - 0x20d], 0
jns 0x1c41800
mov eax, dword [ebp - 0x218]
jmp 0x1c41806
lea eax, [ebp - 0x218]
push ebx
push str.UserDataDir
push eax
push 0
push 2
call fcn.01c3fbf0
add esp, 0x14
test al, al
je 0x1c41860
lea eax, [ebp - 0x230]
push ebx
push eax
call fcn.01c4ac80
add esp, 8
cmp byte [ebp - 0x231], 0
jns 0x1c41844
push dword [ebp - 0x23c]
call fcn.01c97151
add esp, 4
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x234], eax
movsd xmm0, qword [ebp - 0x230]
movsd qword [ebp - 0x23c], xmm0
cmp byte [ebp - 0x219], 0
jns 0x1c41877
push dword [ebp - 0x224]
call fcn.01c97151
add esp, 4
cmp byte [ebp - 0x20d], 0
jns 0x1c4188e
push dword [ebp - 0x218]
call fcn.01c97151
add esp, 4
movzx edx, byte [ebp - 0x231]
test dl, dl
mov esi, dword [ebp - 0x238]
mov eax, edx
cmovs eax, esi
test eax, eax
je 0x1c4195d
mov ebx, edx
shr bl, 7
lea ecx, [ebp - 0x23c]
test bl, 1
je 0x1c418ee
test esi, esi
je 0x1c41c20
mov edx, dword [ebp - 0x23c]
movzx edx, word [edx + esi*2 - 2]
cmp edx, 0x2f
je 0x1c418da
cmp edx, 0x5c
jne 0x1c41946
dec eax
jmp 0x1c418e0
dec eax
test bl, 1
je 0x1c4190c
mov edx, dword [ebp - 0x23c]
mov dword [ebp - 0x238], eax
jmp 0x1c4191d
test dl, dl
je 0x1c41c20
movzx edx, dl
movzx edx, word [ebp + edx*2 - 0x23e]
cmp edx, 0x2f
je 0x1c4190b
cmp edx, 0x5c
jne 0x1c41946
dec eax
cmp eax, 5
jae 0x1c41bf1
mov byte [ebp - 0x231], al
mov edx, ecx
mov word [edx + eax*2], 0
movzx edx, byte [ebp - 0x231]
mov ebx, edx
shr bl, 7
test dl, dl
mov esi, dword [ebp - 0x238]
mov eax, edx
cmovs eax, esi
test eax, eax
jne 0x1c418b5
jmp 0x1c4195d
lea eax, [ebp - 0x23c]
push eax
call fcn.01c40b10
add esp, 4
test al, al
jne 0x1c41a0b
mov ecx, dword [ebp + 0x14]
lea ebx, [ebp - 0x23c]
cmp ebx, ecx
mov edi, 0xffffffff
je 0x1c419ac
cmp byte [ecx + 0xb], 0
movzx eax, byte [ebp - 0x231]
js 0x1c41b1d
test al, al
jns 0x1c41997
push dword [ebp - 0x238]
push dword [ebp - 0x23c]
call fcn.01c3de40
jmp 0x1c419ac
mov eax, dword [ebp - 0x234]
mov dword [ecx + 8], eax
movsd xmm0, qword [ebp - 0x23c]
movsd qword [ecx], xmm0
lea esi, [ebp - 0x218]
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
push str.LOCALAPPDATA
push esi
call fcn.01c40640
add esp, 8
movzx eax, byte [esi + 0xb]
test al, al
jns 0x1c419d6
mov eax, dword [ebp - 0x214]
test eax, eax
jne 0x1c41b49
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x1c41ac2
cmp byte [ebp - 0x20d], 0
jns 0x1c41a07
push dword [ebp - 0x218]
call fcn.01c97151
add esp, 4
test bl, bl
je 0x1c41a35
lea edi, [ebp - 0x218]
push 0x208
push 0xff
push edi
call fcn.01c9afc0
add esp, 0xc
cmp byte [ebp - 0x231], 0
jns 0x1c41a39
mov eax, dword [ebp - 0x23c]
jmp 0x1c41a3f
xor ebx, ebx
jmp 0x1c41a94
lea eax, [ebp - 0x23c]
mov esi, dword [ebp + 0x10]
push 0x104
push eax
push edi
call fcn.01cad96e
add esp, 0xc
test eax, eax
jne 0x1c41b0c
xor eax, eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x21c], eax
cmp byte [esi + 0xb], 0
jns 0x1c41a7d
push dword [esi]
call fcn.01c97151
add esp, 4
mov eax, dword [ebp - 0x21c]
mov dword [esi + 8], eax
movsd xmm0, qword [ebp - 0x224]
movsd qword [esi], xmm0
mov bl, 1
cmp byte [ebp - 0x231], 0
jns 0x1c41aab
push dword [ebp - 0x23c]
call fcn.01c97151
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c97fe3
mov eax, ebx
add esp, 0x230
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, eax
inc edi
mov ecx, esi
push 0
push edi
call fcn.01c75710
cmp byte [ebp - 0x20d], 0
jns 0x1c41ade
mov esi, dword [ebp - 0x218]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
lea ebx, [ebp - 0x23c]
je 0x1c41b05
movzx ecx, byte [ebp - 0x20d]
test cl, cl
jns 0x1c41b01
mov ecx, dword [ebp - 0x214]
cmp eax, ecx
jb 0x1c41b3b
xor ebx, ebx
jmp 0x1c419f0
lea ecx, [ebp - 0x224]
push edi
call fcn.01cc3870
jmp 0x1c41a6d
test al, al
cmovs eax, dword [ebp - 0x238]
mov edx, dword [ebp - 0x23c]
cmovns edx, ebx
push eax
push edx
call fcn.01c3dd70
jmp 0x1c419ac
lea ecx, [ebp - 0x218]
push 0
push eax
call fcn.01c75710
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 0x238]
mov edx, dword [ebp - 0x234]
mov esi, dword [ebp - 0x210]
mov dword [ebp - 0x234], esi
movsd xmm0, qword [ebp - 0x218]
movsd qword [ebp - 0x23c], xmm0
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], edx
movzx ecx, byte [ebp - 0x231]
mov eax, ecx
test cl, cl
jns 0x1c41b9c
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x1c41c0f
test cl, cl
jns 0x1c41baa
mov ebx, dword [ebp - 0x23c]
cmp word [ebx + eax*2 - 2], 0x5c
je 0x1c41bbf
lea ecx, [ebp - 0x23c]
push 0x5c
call fcn.01c75430
lea esi, [ebp - 0x23c]
push esi
push 1
push dword [ebp + 0xc]
call fcn.01c40060
add esp, 0xc
mov ecx, esi
push 0x5c
call fcn.01c75430
mov ecx, esi
push 9
push str.User_Data
call fcn.01c3dad0
mov bl, 1
jmp 0x1c419f0
push str.__s_should_never_be_greater_than_or_equal_to_the_short_string_capacity
push str.__s_____min_cap
push 0x6d7
push str....._buildtools_third_partylibc_trunkinclude_string
push str._s:_d:_assertion__s_failed:__s
call fcn.01cc47f0
push str.string_index_out_of_bounds
push str.__pos___size__
push 0x464
jmp 0x1c41c00
push str.string::back__:_string_is_empty
push str._empty__
push 0x4d1
jmp 0x1c41c00