Function at 0x419ef0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x46e008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x270], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push 0x208
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x25c]
push 0
push eax
call fcn.00430ec0
xor eax, eax
lea edi, [ebp - 0x26c]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [0x46ebc4]
test eax, eax
jne 0x41a0d1
lea eax, [ebp - 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call fcn.00445a1f
cmp dword [ebp - 0x270], 0
lea eax, [ebp - 0x25c]
je 0x419ff8
mov edi, 0x104
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x419fbf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x419f96
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x419f9d
mov esi, 0x80004005
push esi
push 0x47a
push str.c:_agent_work36_swix_src_burnenginecache.cpp
call fcn.004013b3
push str.Failed_to_get_windows_path_for_working_folder.
push esi
call fcn.004453e7
pop ecx
pop ecx
jmp 0x41a0fa
push edi
lea eax, [ebp - 0x25c]
push eax
call fcn.00404df4
mov esi, eax
test esi, esi
jns 0x419fd9
push str.Failed_to_ensure_windows_path_for_working_folder_ended_in_backslash.
jmp 0x419fb2
push str.Temp_
push edi
lea eax, [ebp - 0x25c]
push eax
call fcn.00401225
mov esi, eax
test esi, esi
jns 0x41a040
push str.Failed_to_concat_Temp_directory_on_windows_path_for_working_folder.
jmp 0x419fb2
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x41a040
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x41a01f
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x41a026
mov esi, 0x80004005
push esi
push 0x485
push str.c:_agent_work36_swix_src_burnenginecache.cpp
call fcn.004013b3
push str.Failed_to_get_temp_path_for_working_folder.
jmp 0x419fb2
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.RPCRT4.dll_UuidCreate]
mov esi, eax
or esi, 1
jge 0x41a05e
push str.Failed_to_create_working_folder_guid.
jmp 0x419fb2
push 0x27
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jne 0x41a094
mov esi, 0x8007000e
push esi
push 0x48f
push str.c:_agent_work36_swix_src_burnenginecache.cpp
call fcn.004013b3
push str.Failed_to_convert_working_folder_guid_into_string.
jmp 0x419fb2
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x25c]
push eax
push str._ls_ls_
push 0x46ebc4
call fcn.004029f6
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x41a0c1
push str.Failed_to_append_bundle_id_on_to_temp_path_for_working_folder.
jmp 0x419fb2
mov eax, dword [ebp - 0x270]
mov dword [0x46ebc8], eax
mov eax, dword [0x46ebc4]
push 0
push eax
push dword [ebp - 0x274]
call fcn.00402c72
mov esi, eax
test esi, esi
jns 0x41a0ef
push str.Failed_to_copy_working_folder_path.
jmp 0x419fb2
test ebx, ebx
je 0x41a0fa
mov eax, dword [0x46ebc8]
mov dword [ebx], eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00430093
leave
ret 0xc