Function at 0x41a080
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x42c
lea ebp, [esp - 4]
mov eax, dword [0x45b27c]
xor eax, ebp
mov dword [ebp + 0x42c], eax
push 0xc
mov eax, 0x43e54a
call fcn.0043ac4f
mov ebx, dword [ebp + 0x438]
mov eax, dword [ebp + 0x43c]
xor esi, esi
cmp ebx, esi
mov edi, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], eax
je 0x41a154
cmp dword [edi + 0x24], esi
je 0x41a154
push esi
push ebx
call fcn.00419df2
test al, al
jne 0x41a154
push dword [ebp - 0x10]
lea ecx, [ebp]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
cmp dword [ebp + 0x14], esi
mov dword [ebp - 4], esi
jne 0x41a188
push 0x206
lea eax, [ebp + 0x226]
push esi
push eax
mov word [ebp + 0x224], si
call fcn.0043aeb2
push 0x206
lea eax, [ebp + 0x1e]
push esi
push eax
mov word [ebp + 0x1c], si
call fcn.0043aeb2
add esp, 0x18
lea eax, [ebp + 0x1c]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp + 0x224]
push eax
push esi
push 0x447920
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
lea ecx, [ebp]
jne 0x41a17b
or dword [ebp - 4], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x42c]
xor ecx, ebp
call fcn.0043ac40
add ebp, 0x430
leave
ret 0x14
lea eax, [ebp + 0x224]
push eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push 0x50
call fcn.0043aeca
pop ecx
mov dword [ebp - 0x14], eax
cmp eax, esi
mov byte [ebp - 4], 1
je 0x41a1a4
mov ecx, eax
call fcn.004195e1
mov esi, eax
mov ecx, edi
mov byte [ebp - 4], 0
mov dword [ebp - 0x10], esi
call fcn.004196c3
push ebx
lea ecx, [esi + 4]
mov dword [esi], eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
lea eax, [ebp]
push eax
lea ecx, [esi + 0x20]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov eax, dword [ebp + 0x444]
mov dword [esi + 0x4c], eax
mov eax, dword [ebp + 0x448]
mov dword [esi + 0x48], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [edi + 0x28]
call fcn.00419f02
lea ecx, [ebp]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
lea ecx, [ebp - 0x14]
call fcn.00410a06
mov ebx, eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00410a06
mov ebx, dword [ebx]
mov ecx, dword [eax]
mov eax, dword [edi + 0x24]
mov edx, dword [eax]
push 0
push 0
push dword [ebp + 0x440]
mov byte [ebp - 4], 3
push ebx
push dword [edi + 4]
push ecx
push eax
call dword [edx + 4]
push dword [ebp - 0x10]
mov bl, al
neg bl
sbb bl, bl
inc bl
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x14]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
or dword [ebp - 4], 0xffffffff
test bl, bl
lea ecx, [ebp]
je 0x41a25d
mov dword [edi + 0x38], 4
jmp 0x41a14e
mov dword [edi + 0x38], 1
mov esi, dword [esi]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, esi
jmp 0x41a156