Function at 0x4382e0
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a6e68
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x4cd4a4]
xor eax, esp
mov dword [esp + 0x274], eax
push esi
push edi
mov eax, dword [0x4cd4a4]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x50], ecx
mov dword [ecx], edi
mov word [esp + 0x60], di
je 0x43834c
push eax
lea eax, [esp + 0x64]
push 0xa
push eax
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
add esp, 0xc
jmp 0x4386e0
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], 3
push 1
push 0x1a
lea ecx, [esp + 0x7c]
push ecx
push edi
mov dword [esp + 0x2a0], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, edi
jl 0x4385e3
call sub.jfutility.dll_public:_static_class_jfCharConverter____cdecl_jfCharConverter::Default_void_
mov edx, dword [eax]
push edi
mov ecx, eax
mov eax, dword [edx + 4]
push str.UTF16LE
call eax
push eax
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x20]
call sub.jfutility.dll_public:_void___thiscall_jfString::constructor_char_const___class_jfCharConverter_const___unsigned_int_
mov byte [esp + 0x290], 1
call fcn.0046d3d0
test al, al
je 0x4383eb
push 0x4b4724
lea ecx, [esp + 0x10]
call sub.jfutility.dll_public:_void___thiscall_jfString::constructor_wchar_t_const__
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x294], 2
call fcn.0049e6b2
cmp dword [esp + 0x10], edi
mov byte [esp + 0x290], 1
je 0x438537
lea ecx, [esp + 0xc]
call sub.jfutility.dll_private:_void___thiscall_jfString::ReleaseData_void_
jmp 0x438537
lea edx, [esp + 0x1c]
push edx
call fcn.0046d250
add esp, 4
push 0x4b4720
lea ecx, [esp + 0x2c]
mov byte [esp + 0x294], 3
call sub.jfutility.dll_public:_void___thiscall_jfString::constructor_wchar_t_const__
mov esi, eax
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x294], 4
call sub.jfutility.dll_public:_void___thiscall_jfString::constructor_wchar_t_const__
mov edi, eax
push 0x4b4724
lea ecx, [esp + 0x4c]
mov byte [esp + 0x294], 5
call sub.jfutility.dll_public:_void___thiscall_jfString::constructor_wchar_t_const__
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x48]
push edx
mov byte [esp + 0x29c], 6
call sub.jfutility.dll_class_jfString___cdecl_operator_class_jfString_const___class_jfString_const__
push edi
push eax
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x2a8], 7
call sub.jfutility.dll_class_jfString___cdecl_operator_class_jfString_const___class_jfString_const__
push esi
push eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x2b4], 8
call sub.jfutility.dll_class_jfString___cdecl_operator_class_jfString_const___class_jfString_const__
add esp, 0x24
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x294], 9
call sub.jfutility.dll_public:_class_jfString_const____thiscall_jfString::operator_class_jfString_const__
cmp dword [esp + 0x10], 0
mov byte [esp + 0x290], 8
je 0x4384ab
lea ecx, [esp + 0xc]
call sub.jfutility.dll_private:_void___thiscall_jfString::ReleaseData_void_
cmp dword [esp + 0x3c], 0
mov byte [esp + 0x290], 7
je 0x4384c3
lea ecx, [esp + 0x38]
call sub.jfutility.dll_private:_void___thiscall_jfString::ReleaseData_void_
cmp dword [esp + 0x44], 0
mov byte [esp + 0x290], 6
je 0x4384db
lea ecx, [esp + 0x40]
call sub.jfutility.dll_private:_void___thiscall_jfString::ReleaseData_void_
cmp dword [esp + 0x4c], 0
mov byte [esp + 0x290], 5
je 0x4384f3
lea ecx, [esp + 0x48]
call sub.jfutility.dll_private:_void___thiscall_jfString::ReleaseData_void_
cmp dword [esp + 0x34], 0
mov byte [esp + 0x290], 4
je 0x43850b
lea ecx, [esp + 0x30]
call sub.jfutility.dll_private:_void___thiscall_jfString::ReleaseData_void_
cmp dword [esp + 0x2c], 0
mov byte [esp + 0x290], 3
je 0x438523
lea ecx, [esp + 0x28]
call sub.jfutility.dll_private:_void___thiscall_jfString::ReleaseData_void_
lea ecx, [esp + 0x1c]
mov byte [esp + 0x290], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor edi, edi
push str.FormDesigner.ini
lea ecx, [esp + 0x10]
call sub.jfutility.dll_public:_void___thiscall_jfString::constructor_wchar_t_const__
push eax
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x29c], 0xa
call sub.jfutility.dll_class_jfString___cdecl_operator_class_jfString_const___class_jfString_const__
add esp, 0xc
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x294], 0xb
call sub.jfutility.dll_public:_void___thiscall_jfFileId::constructor_class_jfString_const__
cmp dword [esp + 0x2c], edi
mov byte [esp + 0x290], 0xd
je 0x438589
lea ecx, [esp + 0x28]
call sub.jfutility.dll_private:_void___thiscall_jfString::ReleaseData_void_
cmp dword [esp + 0x10], edi
mov byte [esp + 0x290], 0xe
je 0x4385a0
lea ecx, [esp + 0xc]
call sub.jfutility.dll_private:_void___thiscall_jfString::ReleaseData_void_
lea ecx, [esp + 0x54]
call sub.jfutility.dll_public:_int___thiscall_jfFileId::Exists_void_const
test eax, eax
je 0x4385bb
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x24]
call sub.jfutility.dll_public:_class_jfString_const____thiscall_jfString::operator_class_jfString_const__
lea ecx, [esp + 0x54]
mov byte [esp + 0x290], 1
call sub.jfutility.dll_public:_void___thiscall_jfFileId::destructor_void_
cmp dword [esp + 0x18], edi
mov byte [esp + 0x290], 0
je 0x4385e3
lea ecx, [esp + 0x14]
call sub.jfutility.dll_private:_void___thiscall_jfString::ReleaseData_void_
cmp dword [esp + 0x24], edi
je 0x4385f7
test dword [esp + 0x20], 0xfffffffc
jne 0x438687
push 0x4b4720
lea ecx, [esp + 0x18]
call sub.jfutility.dll_public:_void___thiscall_jfString::constructor_wchar_t_const__
mov esi, eax
lea edx, [esp + 0xc]
push edx
mov byte [esp + 0x294], 0xf
call fcn.00437f80
push esi
push eax
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x2a0], 0x10
call sub.jfutility.dll_class_jfString___cdecl_operator_class_jfString_const___class_jfString_const__
add esp, 0x10
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x294], 0x11
call sub.jfutility.dll_public:_class_jfString_const____thiscall_jfString::operator_class_jfString_const__
cmp dword [esp + 0x2c], edi
mov byte [esp + 0x290], 0x10
je 0x438659
lea ecx, [esp + 0x28]
call sub.jfutility.dll_private:_void___thiscall_jfString::ReleaseData_void_
cmp dword [esp + 0x10], edi
mov byte [esp + 0x290], 0xf
je 0x438670
lea ecx, [esp + 0xc]
call sub.jfutility.dll_private:_void___thiscall_jfString::ReleaseData_void_
cmp dword [esp + 0x18], edi
mov byte [esp + 0x290], 0
je 0x438687
lea ecx, [esp + 0x14]
call sub.jfutility.dll_private:_void___thiscall_jfString::ReleaseData_void_
push 0x4b46e8
lea ecx, [esp + 0x24]
call sub.jfutility.dll_public:_class_jfString_const____thiscall_jfString::operator_char_const__
lea ecx, [esp + 0x20]
call sub.jfutility.dll_public:_wchar_t____thiscall_jfString::GetAllocdJfChar_void_const
mov esi, eax
push esi
push 0xa
lea ecx, [esp + 0x68]
push ecx
push 0x4b46e0
push str.Language
push str.Language
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
cmp dword [esp + 0x24], edi
mov dword [esp + 0x290], 0xffffffff
je 0x4386e0
lea ecx, [esp + 0x20]
call sub.jfutility.dll_private:_void___thiscall_jfString::ReleaseData_void_
lea edx, [esp + 0x60]
push 0x4b46c4
push edx
call dword [sym.imp.MSVCR80.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x438815
lea eax, [esp + 0xc]
push eax
call fcn.00437f80
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x290], 0x12
call sub.jfutility.dll_public:_wchar_t____thiscall_jfString::GetAllocdJfChar_void_const
mov esi, eax
push esi
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push esi
mov byte [esp + 0x294], 0x13
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov esi, eax
push 0x4b4720
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x29c], 0x14
call fcn.004381b0
push esi
push eax
lea ecx, [esp + 0x54]
push ecx
mov byte [esp + 0x2a8], 0x15
call fcn.00438120
push 0x4b4720
push eax
lea edx, [esp + 0x68]
push edx
mov byte [esp + 0x2b4], 0x16
call fcn.004381b0
push str.ConvertWord.dll
push eax
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x2c0], 0x17
call fcn.004381b0
add esp, 0x30
lea ecx, [esp + 0x48]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x40]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x38]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x1c]
mov dword [edx], eax
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
cmp dword [esp + 0x10], edi
mov dword [esp + 0x290], 0xffffffff
je 0x438815
lea ecx, [esp + 0xc]
call sub.jfutility.dll_private:_void___thiscall_jfString::ReleaseData_void_
mov ecx, dword [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x274]
xor ecx, esp
call fcn.0049ec62
mov esp, ebp
pop ebp
ret