Function at 0x41c650
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b809
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1e4
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0041cfa0
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x18], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x1c]
call fcn.00414ec0
test eax, eax
jne 0x41c6aa
mov eax, 1
jmp 0x41cc30
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00430af2
mov dword [ebp - 4], 0
push str..tmpd
lea ecx, [ebp - 0x20]
call fcn.00430b4c
lea ecx, [ebp - 0x20]
call fcn.0040c8c0
push eax
call fcn.00425250
add esp, 4
and eax, 0xff
test eax, eax
je 0x41c797
lea ecx, [ebp - 0x20]
call fcn.0040c8c0
push eax
call fcn.004252f0
add esp, 4
and eax, 0xff
test eax, eax
jne 0x41c797
mov byte [ebp - 0x124], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x123]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [ebp - 0x124]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov dword [ebp - 0x128], eax
push str.nouse.tmpd
mov eax, dword [ebp - 0x128]
lea ecx, [ebp + eax - 0x124]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
lea edx, [ebp - 0x124]
push edx
lea ecx, [ebp - 0x20]
call fcn.0040c8c0
push eax
call fcn.00425460
add esp, 8
and eax, 0xff
test eax, eax
jne 0x41c797
mov dword [ebp - 0x140], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x140]
jmp 0x41cc30
lea ecx, [ebp - 0x20]
call fcn.0040c8c0
push eax
mov ecx, dword [ebp + 8]
call fcn.0040c8c0
push eax
call fcn.004255f0
add esp, 8
and eax, 0xff
test eax, eax
je 0x41c8e7
mov ecx, dword [ebp + 8]
call fcn.0040c8c0
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0xc]
call fcn.00414ca0
and eax, 0xff
test eax, eax
jne 0x41c84f
mov edx, dword [ebp + 8]
push edx
push 0x43ec38
lea eax, [ebp - 0x144]
push eax
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x17c]
mov dword [ebp - 0x180], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x180]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 8
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x144]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x148], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x148]
jmp 0x41cc30
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0041cc50
and eax, 0xff
test eax, eax
jne 0x41c8d4
mov ecx, dword [ebp + 8]
push ecx
push 0x43ed38
lea edx, [ebp - 0x14c]
push edx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x188], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x188]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 8
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14c]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x150], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x150]
jmp 0x41cc30
push 1
lea edx, [ebp - 0x20]
push edx
call fcn.00418590
add esp, 8
jmp 0x41cc11
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x12c]
call fcn.00430af2
mov byte [ebp - 4], 3
push str..tmp
lea ecx, [ebp - 0x12c]
call fcn.00430b4c
lea ecx, [ebp - 0x12c]
call fcn.004080e0
test eax, eax
jne 0x41cb86
lea ecx, [ebp - 0x12c]
call fcn.0040c8c0
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0xc]
call fcn.00414ca0
and eax, 0xff
test eax, eax
jne 0x41c9c0
mov eax, dword [ebp + 8]
push eax
push 0x43ec38
lea ecx, [ebp - 0x154]
push ecx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x18c], eax
mov edx, dword [ebp - 0x18c]
mov dword [ebp - 0x190], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x190]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 8
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x154]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x158], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x12c]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x158]
jmp 0x41cc30
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.0041cc50
and eax, 0xff
test eax, eax
jne 0x41ca57
mov edx, dword [ebp + 8]
push edx
push 0x43ed38
lea eax, [ebp - 0x15c]
push eax
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x194], eax
mov ecx, dword [ebp - 0x194]
mov dword [ebp - 0x198], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x198]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 8
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x15c]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x160], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x12c]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x160]
jmp 0x41cc30
mov ecx, dword [ebp + 8]
call fcn.0040c8c0
push eax
lea ecx, [ebp - 0x12c]
call fcn.0040c8c0
push eax
call fcn.00425320
add esp, 8
and eax, 0xff
test eax, eax
je 0x41caf4
mov eax, dword [ebp + 8]
push eax
push 0x43ed28
lea ecx, [ebp - 0x164]
push ecx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x19c], eax
mov edx, dword [ebp - 0x19c]
mov dword [ebp - 0x1a0], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1a0]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 8
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x164]
call sub.MFC42.DLL_CString::CString
call fcn.0041b920
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
je 0x41caf2
push 0
push 0
push 0x7e8
call fcn.0041b920
mov ecx, eax
call fcn.0041c620
jmp 0x41cb73
mov ecx, dword [ebp + 8]
push ecx
push 0x43ec38
lea edx, [ebp - 0x168]
push edx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x1a8], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x1a8]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 8
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x168]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x16c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x12c]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x16c]
jmp 0x41cc30
push 2
lea edx, [ebp - 0x12c]
push edx
call fcn.00418590
add esp, 8
jmp 0x41cc02
mov eax, dword [ebp + 8]
push eax
push 0x43ec38
lea ecx, [ebp - 0x170]
push ecx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x1ac], eax
mov edx, dword [ebp - 0x1ac]
mov dword [ebp - 0x1b0], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x1b0]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 8
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x170]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x174], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x12c]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x174]
jmp 0x41cc30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x12c]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x178], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x178]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4