Function at 0x4227c0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x429bf0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebx
push esi
push edi
mov dword [esp + 0x20], 0
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x24]
mov dword [esp + 0x12c], 1
rep stosd dword es:[edi], eax
lea eax, [esp + 0x24]
push eax
push 0xff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], 2
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x432154
push eax
call edi
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x422890
lea eax, [esp + 0xc]
push 0x432154
lea ecx, [esp + 0x14]
push eax
push ecx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x12c], 2
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x138]
push 0x433ae8
push edx
call edi
add esp, 8
test eax, eax
push 0x432154
jne 0x42292f
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_2
mov esi, eax
lea eax, [esp + 0xc]
push str.nbcodedatapath
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x138], 4
call sub.MFC42.DLL_operator_2
push esi
lea edx, [esp + 0x14]
mov bl, 5
push eax
push edx
mov byte [esp + 0x138], bl
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], 6
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x12c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x12c], 4
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x12c], 2
lea ecx, [esp + 0x18]
jmp 0x4229d6
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
mov esi, eax
lea eax, [esp + 0xc]
push str.nbcodedatapath
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x138], 7
call sub.MFC42.DLL_operator_2
push esi
lea edx, [esp + 0x20]
push eax
push edx
mov byte [esp + 0x138], 8
call sub.MFC42.DLL_operator_3
lea ecx, [esp + 0x138]
lea edx, [esp + 0x18]
push ecx
mov bl, 9
push eax
push edx
mov byte [esp + 0x138], bl
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], 0xa
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x12c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x12c], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x12c], 7
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x12c], 2
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x14]
push 1
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x432154
push eax
call edi
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x422a41
lea ecx, [esp + 0xc]
push 0x432154
lea edx, [esp + 0x18]
push ecx
push edx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], 0xb
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x12c], 2
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x134]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x20], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x12c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x138]
mov byte [esp + 0x12c], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x124]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x124
ret