Function at 0x441f18
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 [0x4e3014]
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 0x441f5f
mov ecx, dword [eax + 8]
mov dword [esp + 8], ecx
movsd xmm0, qword [eax]
movsd qword [esp], xmm0
jmp 0x441f6b
mov ecx, esp
push dword [eax + 4]
push dword [eax]
call fcn.00433860
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.00412ea0
xor edi, edi
push esi
push edi
push dword [ebp + 0xc]
call fcn.00440d44
add esp, 0xc
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
cmp byte [esi + 0xb], 0
jns 0x441fa8
mov esi, dword [esp + 0x28]
lea ebx, [esp + 0x18]
push ebx
push str.UserDataDir
push esi
push edi
push 1
call fcn.00465121
add esp, 0x14
test al, al
jne 0x441fea
cmp byte [esp + 0x33], 0
jns 0x441fcf
mov eax, dword [esp + 0x28]
jmp 0x441fd3
lea eax, [esp + 0x28]
push ebx
push str.UserDataDir
push eax
push 0
push 2
call fcn.00465121
add esp, 0x14
test al, al
je 0x44201d
lea eax, [esp + 0xc]
push ebx
push eax
call fcn.004653fc
add esp, 8
cmp byte [esp + 0xb], 0
jns 0x44200a
push dword [esp]
call fcn.0049893c
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 0x442030
push dword [esp + 0x18]
call fcn.0049893c
add esp, 4
cmp byte [esp + 0x33], 0
mov ebx, dword [ebp + 0xc]
jns 0x442046
push dword [esp + 0x28]
call fcn.0049893c
add esp, 4
mov al, byte [esp + 0xb]
test al, al
mov edx, dword [esp + 4]
movzx ecx, al
mov esi, ecx
cmovs esi, edx
test esi, esi
je 0x4420d7
mov esi, esp
mov ecx, esi
call fcn.00430bf0
cmp word [eax], 0x5c
je 0x442078
mov ecx, esi
call fcn.00430bf0
cmp word [eax], 0x2f
jne 0x4420cc
movzx eax, byte [esp + 0xb]
test al, al
js 0x44209a
test eax, eax
je 0x4422d7
cmp al, 6
jae 0x4422e8
dec eax
mov byte [esp + 0xb], al
mov ecx, esi
jmp 0x4420ae
mov eax, dword [esp + 4]
test eax, eax
je 0x4422d7
mov ecx, dword [esp]
dec eax
mov dword [esp + 4], eax
mov word [ecx + eax*2], 0
mov al, byte [esp + 0xb]
movzx ecx, al
test al, al
mov edx, dword [esp + 4]
mov edi, ecx
cmovs edi, edx
test edi, edi
jne 0x44205e
jmp 0x4420d7
mov al, byte [esp + 0xb]
mov edx, dword [esp + 4]
movzx ecx, al
test al, al
cmovs ecx, edx
test ecx, ecx
je 0x4420f3
mov eax, esp
push eax
call fcn.00441761
add esp, 4
test al, al
jne 0x44222a
mov ecx, dword [ebp + 0x14]
mov edi, esp
push edi
call fcn.004382f0
lea esi, [esp + 0x28]
xor eax, eax
dec eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push str.LOCALAPPDATA
push esi
call fcn.004411b2
add esp, 8
movzx eax, byte [esi + 0xb]
test al, al
jns 0x442127
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x442167
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
js 0x4421cc
test eax, eax
jne 0x4421db
jmp 0x442306
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x442213
mov edi, eax
inc edi
mov ecx, esi
push 0
push edi
call fcn.00434144
cmp byte [esp + 0x33], 0
jns 0x442191
mov esi, dword [esp + 0x28]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
mov ebx, dword [ebp + 0xc]
je 0x4422d0
movzx ecx, byte [esp + 0x33]
test cl, cl
jns 0x4421b1
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
mov edi, esp
jae 0x4422d0
lea ecx, [esp + 0x28]
push 0
push eax
call fcn.00434144
jmp 0x44212b
mov eax, dword [esp + 4]
test eax, eax
je 0x442306
mov edi, dword [esp]
cmp word [edi + eax*2 - 2], 0x5c
je 0x4421ec
mov ecx, esp
push 0x5c
call fcn.00433f4a
mov esi, esp
push esi
push 1
push ebx
call fcn.00440d44
add esp, 0xc
mov ecx, esi
push 0x5c
call fcn.00433f4a
mov ecx, esi
push 9
push 0x4d371e
call fcn.00433ca0
mov bl, 1
cmp byte [esp + 0x33], 0
jns 0x442226
push dword [esp + 0x28]
call fcn.0049893c
add esp, 4
test bl, bl
je 0x44224d
lea edi, [esp + 0x28]
push 0x208
push 0xff
push edi
call fcn.0049bea0
add esp, 0xc
cmp byte [esp + 0xb], 0
jns 0x442251
mov eax, dword [esp]
jmp 0x442253
xor ebx, ebx
jmp 0x4422a6
mov eax, esp
mov esi, dword [ebp + 0x10]
push 0x104
push eax
push edi
call fcn.004afddd
add esp, 0xc
test eax, eax
je 0x442275
lea ecx, [esp + 0x18]
push edi
call fcn.00412ea0
jmp 0x442283
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
cmp byte [esi + 0xb], 0
jns 0x442293
push dword [esi]
call fcn.0049893c
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 0x4422b8
push dword [esp]
call fcn.0049893c
add esp, 4
mov ecx, dword [esp + 0x230]
xor ecx, ebp
call fcn.00499333
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
jmp 0x442213
push str.string::pop_back__:_string_is_already_empty
push str._empty__
push 0xcb9
jmp 0x4422f7
push str.__s_should_never_be_greater_than_or_equal_to_the_short_string_capacity
push str.__s_____min_cap
push 0x6cf
push str....._buildtools_third_partylibc_trunkinclude_string
push str._s:_d:_assertion__s_failed:__s
call fcn.00414fd8
push str.string_index_out_of_bounds
push str.__pos___size__
push 0x45b
jmp 0x4422f7