Function at 0x4129a9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42047f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push edi
mov dword [ebp - 0x12c], ecx
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x5c]
mov dword [eax + 0x84e8], edx
mov eax, dword [ebp + 8]
add eax, 0xb54
push eax
mov ecx, dword [ebp - 0x12c]
add ecx, 0x84ac
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [ebp + 8]
add ecx, 0xb54
mov dword [ebp - 0x10], ecx
push 0x42a5b4
mov edx, dword [ebp + 8]
add edx, 0xb54
push edx
call dword [sym.imp.MSVCRT.dll_strtok]
add esp, 8
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
je 0x412a56
mov eax, dword [ebp - 0x118]
push eax
mov ecx, 0x439a28
call sub.MFC42.DLL_CStringList::AddTail_1
push 0x42a5b8
push 0
call dword [sym.imp.MSVCRT.dll_strtok]
add esp, 8
mov dword [ebp - 0x118], eax
jmp 0x412a24
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x30c]
mov dword [ecx + 0x84c4], eax
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x310]
mov dword [ecx + 0x84c8], eax
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x318]
mov dword [ecx + 0x84cc], eax
mov ecx, dword [ebp + 8]
add ecx, 0x64
push ecx
mov ecx, dword [ebp - 0x12c]
add ecx, 0x84d0
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [ebp + 8]
add edx, 0x168
push edx
mov ecx, dword [ebp - 0x12c]
add ecx, 0x84d4
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [ebp + 8]
add eax, 0x1a8
push eax
mov ecx, dword [ebp - 0x12c]
add ecx, 0x84d8
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x318], 0
je 0x412be1
push 0x4355fc
mov ecx, dword [ebp - 0x12c]
add ecx, 0x84d4
call sub.MFC42.DLL_CString::operator_2
push 0x435600
mov ecx, dword [ebp - 0x12c]
add ecx, 0x84d8
call sub.MFC42.DLL_CString::operator_2
mov dword [ebp - 0x11c], 0
jmp 0x412b39
mov edx, dword [ebp - 0x11c]
add edx, 1
mov dword [ebp - 0x11c], edx
cmp dword [ebp - 0x11c], 0xc8
jge 0x412be1
mov eax, dword [ebp - 0x11c]
imul eax, eax, 0x18
cmp dword [eax + 0x4276d8], 2
jne 0x412b94
mov ecx, dword [ebp - 0x11c]
imul ecx, ecx, 0x18
add ecx, 0x4276c8
push ecx
mov ecx, dword [ebp - 0x12c]
add ecx, 0x84d4
call fcn.0041e2a8
push 0x42a5bc
mov ecx, dword [ebp - 0x12c]
add ecx, 0x84d4
call fcn.0041e2a8
jmp 0x412bdc
mov edx, dword [ebp - 0x11c]
imul edx, edx, 0x18
cmp dword [edx + 0x4276d8], 3
jne 0x412bdc
mov eax, dword [ebp - 0x11c]
imul eax, eax, 0x18
add eax, 0x4276c8
push eax
mov ecx, dword [ebp - 0x12c]
add ecx, 0x84d8
call fcn.0041e2a8
push 0x42a5c0
mov ecx, dword [ebp - 0x12c]
add ecx, 0x84d8
call fcn.0041e2a8
jmp 0x412b2a
push 0x42a5c4
mov ecx, dword [ebp + 8]
add ecx, 0x334
push ecx
call dword [sym.imp.MSVCRT.dll_strtok]
add esp, 8
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
je 0x412c50
mov edx, dword [ebp - 0x118]
push edx
mov ecx, dword [ebp - 0x12c]
add ecx, 0x843c
call sub.MFC42.DLL_CStringList::AddTail_1
mov eax, dword [ebp - 0x118]
push eax
mov ecx, dword [ebp - 0x12c]
add ecx, 0x8458
call sub.MFC42.DLL_CStringList::AddTail_1
push 0x42a5c8
push 0
call dword [sym.imp.MSVCRT.dll_strtok]
add esp, 8
mov dword [ebp - 0x118], eax
jmp 0x412bff
mov ecx, dword [ebp - 0x12c]
mov edx, dword [0x42aaa4]
mov dword [ecx + 0x84b4], edx
mov eax, dword [ebp - 0x12c]
mov ecx, dword [0x42aaa0]
mov dword [eax + 0x84b0], ecx
mov edx, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax + 0x84b0]
mov dword [edx + 0x84b8], ecx
mov edx, dword [ebp - 0x12c]
cmp dword [edx + 0x84bc], 0
je 0x412cbc
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax + 0x84bc]
mov dword [ebp - 0x120], ecx
mov edx, dword [ebp - 0x120]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax + 0x84b0]
shl ecx, 2
push ecx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x124], eax
mov edx, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x124]
mov dword [edx + 0x84bc], eax
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 0x12c]
mov dword [ecx + 0x84c0], eax
mov edx, dword [ebp - 0x12c]
mov dword [edx + 0x84dc], 0x989680
mov eax, dword [ebp - 0x12c]
mov dword [eax + 0x84e0], 0
push 0x21b0
push 0
mov ecx, dword [ebp - 0x12c]
add ecx, 0x2250
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x21b0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x12c]
add eax, 0x2250
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, 0x437878
call fcn.004138d0
push 0x21b0
mov ecx, dword [ebp + 8]
push ecx
push 0x437878
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 0x42a5cc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [ebp - 0x12c]
mov dword [edx + 0x84f4], eax
mov byte [ebp - 0x114], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x114]
push ecx
mov ecx, dword [ebp - 0x12c]
add ecx, 0x84f8
call sub.MFC42.DLL_CString::operator_2
push 0x42a5dc
lea ecx, [ebp - 0x128]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 0x130], eax
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0x134], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x134]
push eax
mov ecx, dword [ebp - 0x12c]
add ecx, 0x84f8
call fcn.0041e2cc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x128]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x12c]
add ecx, 0x84f8
push ecx
mov ecx, 0x439a78
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 4