Function at 0x41b590
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b653
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
push edi
mov dword [ebp - 0x16c], ecx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x16c]
call fcn.0041bef4
lea ecx, [ebp - 0x1c]
call fcn.00414ba0
test eax, eax
jne 0x41b5da
mov eax, 1
jmp 0x41bb8c
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00430aaa
mov dword [ebp - 4], 0
push str..tmpd
lea ecx, [ebp - 0x10]
call fcn.00430b04
lea ecx, [ebp - 0x10]
call fcn.004081e0
push eax
call fcn.00424a0b
add esp, 4
and eax, 0xff
test eax, eax
je 0x41b6c7
lea ecx, [ebp - 0x10]
call fcn.004081e0
push eax
call fcn.00424bf5
add esp, 4
and eax, 0xff
test eax, eax
jne 0x41b6c7
mov byte [ebp - 0x120], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x11f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [ebp - 0x120]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov dword [ebp - 0x124], eax
push str.nouse.tmpd
mov eax, dword [ebp - 0x124]
lea ecx, [ebp + eax - 0x120]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
lea edx, [ebp - 0x120]
push edx
lea ecx, [ebp - 0x10]
call fcn.004081e0
push eax
call fcn.00424d89
add esp, 8
and eax, 0xff
test eax, eax
jne 0x41b6c7
mov dword [ebp - 0x130], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x130]
jmp 0x41bb8c
lea ecx, [ebp - 0x10]
call fcn.004081e0
push eax
mov ecx, dword [ebp + 8]
call fcn.004081e0
push eax
call fcn.00424ef6
add esp, 8
and eax, 0xff
test eax, eax
je 0x41b823
mov ecx, dword [ebp + 8]
call fcn.004081e0
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x16c]
mov ecx, dword [ecx + 0xc]
call fcn.00413ca7
and eax, 0xff
test eax, eax
jne 0x41b785
mov edx, dword [ebp + 8]
push edx
push 0x44869c
lea eax, [ebp - 0x134]
push eax
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x174], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x174]
push edx
mov ecx, dword [ebp - 0x16c]
add ecx, 8
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x138], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x138]
jmp 0x41bb8c
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x16c]
call fcn.0041bb9d
and eax, 0xff
test eax, eax
jne 0x41b810
mov ecx, dword [ebp + 8]
push ecx
push 0x4486ac
lea edx, [ebp - 0x13c]
push edx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x17c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x17c]
push ecx
mov ecx, dword [ebp - 0x16c]
add ecx, 8
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x13c]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x140], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x140]
jmp 0x41bb8c
push 1
lea edx, [ebp - 0x10]
push edx
call fcn.0041763c
add esp, 8
jmp 0x41bb6d
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x128]
call fcn.00430aaa
mov byte [ebp - 4], 3
push str..tmp
lea ecx, [ebp - 0x128]
call fcn.00430b04
lea ecx, [ebp - 0x128]
call fcn.00407f20
test eax, eax
jne 0x41badf
lea ecx, [ebp - 0x128]
call fcn.004081e0
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x16c]
mov ecx, dword [edx + 0xc]
call fcn.00413ca7
and eax, 0xff
test eax, eax
jne 0x41b906
mov eax, dword [ebp + 8]
push eax
push 0x4486cc
lea ecx, [ebp - 0x144]
push ecx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x180], eax
mov edx, dword [ebp - 0x180]
mov dword [ebp - 0x184], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x184]
push eax
mov ecx, dword [ebp - 0x16c]
add ecx, 8
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x144]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x148], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x128]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x148]
jmp 0x41bb8c
lea ecx, [ebp - 0x128]
push ecx
mov ecx, dword [ebp - 0x16c]
call fcn.0041bb9d
and eax, 0xff
test eax, eax
jne 0x41b9a7
mov edx, dword [ebp + 8]
push edx
push 0x4486dc
lea eax, [ebp - 0x14c]
push eax
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x188], eax
mov ecx, dword [ebp - 0x188]
mov dword [ebp - 0x18c], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x18c]
push edx
mov ecx, dword [ebp - 0x16c]
add ecx, 8
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14c]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x150], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x128]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x150]
jmp 0x41bb8c
mov ecx, dword [ebp + 8]
call fcn.004081e0
push eax
lea ecx, [ebp - 0x128]
call fcn.004081e0
push eax
call fcn.00424c57
add esp, 8
and eax, 0xff
test eax, eax
je 0x41ba4a
mov eax, dword [ebp + 8]
push eax
push 0x4486f4
lea ecx, [ebp - 0x154]
push ecx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x190], eax
mov edx, dword [ebp - 0x190]
mov dword [ebp - 0x194], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x194]
push eax
mov ecx, dword [ebp - 0x16c]
add ecx, 8
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x154]
call sub.MFC42.DLL_CString::CString
call fcn.0041a580
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x41ba45
push 0
push 0
push 0x7e8
call fcn.0041a580
mov ecx, eax
call fcn.0041c900
jmp 0x41bacc
mov ecx, dword [ebp + 8]
push ecx
push 0x448704
lea edx, [ebp - 0x158]
push edx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x19c], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x19c]
push ecx
mov ecx, dword [ebp - 0x16c]
add ecx, 8
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x158]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x15c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x128]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x15c]
jmp 0x41bb8c
push 2
lea edx, [ebp - 0x128]
push edx
call fcn.0041763c
add esp, 8
jmp 0x41bb5e
mov eax, dword [ebp + 8]
push eax
push 0x448714
lea ecx, [ebp - 0x160]
push ecx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x1a0], eax
mov edx, dword [ebp - 0x1a0]
mov dword [ebp - 0x1a4], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x1a4]
push eax
mov ecx, dword [ebp - 0x16c]
add ecx, 8
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x160]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x164], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x128]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x164]
jmp 0x41bb8c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x128]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x168], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 4