Function at 0x45de9b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7af3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x40dc
call fcn.004a5250
mov dword [ebp - 0x40c8], ecx
mov eax, dword [ebp - 0x40c8]
cmp dword [eax + 0x260], 1
jne 0x45e35b
mov ecx, dword [ebp - 0x40c8]
mov edx, dword [ebp - 0x40c8]
fld dword [ecx + 0x23c]
fsub dword [edx + 0x240]
fstp dword [ebp - 0x2058]
mov eax, dword [ebp - 0x40c8]
mov ecx, dword [ebp - 0x40c8]
fld dword [eax + 0x240]
fsub dword [ecx + 0x248]
fstp dword [ebp - 0x40b0]
fld dword [ebp - 0x2058]
fdiv dword [ebp + 0xc]
fstp dword [ebp - 0x3104]
fld dword [ebp - 0x2058]
fadd dword [ebp - 0x40b0]
fdiv dword [ebp + 0xc]
fstp dword [ebp - 0x40a8]
fld dword [ebp - 0x40a8]
fcomp dword [0x4af51c]
fnstsw ax
test ah, 1
jne 0x45df5c
fld dword [ebp - 0x40a8]
fcomp dword [0x4af518]
fnstsw ax
test ah, 0x41
jne 0x45df6d
mov edx, dword [ebp + 8]
mov dword [edx], 0
or eax, 0xffffffff
jmp 0x45e371
mov dword [ebp - 0x2160], 0
jmp 0x45df88
mov eax, dword [ebp - 0x2160]
add eax, 1
mov dword [ebp - 0x2160], eax
cmp dword [ebp - 0x2160], 0x3e8
jge 0x45dfda
mov ecx, dword [ebp - 0x2160]
mov dword [ebp + ecx*4 - 0x3100], 0
mov edx, dword [ebp - 0x2160]
mov dword [ebp + edx*4 - 0x2054], 0
mov eax, dword [ebp - 0x2160]
mov dword [ebp + eax*4 - 0x40a4], 0
mov ecx, dword [ebp - 0x2160]
mov dword [ebp + ecx*4 - 0x10b0], 0
jmp 0x45df79
mov dword [ebp - 0x40ac], 0
lea edx, [ebp - 0x110]
push edx
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x110]
push eax
push 0x4d2840
lea ecx, [ebp - 0x215c]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x40bc], esp
lea edx, [ebp - 0x215c]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x40cc], eax
mov eax, dword [ebp - 0x40cc]
mov dword [ebp - 0x40d0], eax
mov dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x40c0], esp
push str.3_12_19
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x40d4], eax
mov ecx, dword [ebp - 0x40d4]
mov dword [ebp - 0x40d8], ecx
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x40c4], esp
push 0x4d2860
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x40dc], eax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.JsTools3D.dll_int___cdecl_SaveResouceDataToFile_class_CString__class_CString__class_CString_]
add esp, 0xc
mov dword [ebp - 0x40e0], eax
cmp dword [ebp - 0x40e0], 1
jne 0x45e0d6
lea edx, [ebp - 0x40a4]
push edx
lea eax, [ebp - 0x2054]
push eax
lea ecx, [ebp - 0x3100]
push ecx
lea edx, [ebp - 0x10b0]
push edx
lea eax, [ebp - 0x40ac]
push eax
lea ecx, [ebp - 0x215c]
push ecx
mov ecx, dword [ebp - 0x40c8]
call fcn.0045e552
mov dword [ebp - 0x2160], 0
jmp 0x45e0f1
mov edx, dword [ebp - 0x2160]
add edx, 1
mov dword [ebp - 0x2160], edx
mov eax, dword [ebp - 0x2160]
cmp eax, dword [ebp - 0x40ac]
jge 0x45e349
mov ecx, dword [ebp - 0x2160]
fld dword [ebp - 0x40a8]
fsub dword [ebp + ecx*4 - 0x3100]
sub esp, 8
fstp qword [esp]
call sub.MSVCRT.dll_fabs
add esp, 8
fst dword [ebp - 0x40e4]
fcomp dword [0x4af514]
fnstsw ax
test ah, 1
je 0x45e18e
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x40a4]
push eax
lea ecx, [ebp - 0x2054]
push ecx
lea edx, [ebp - 0x10b0]
push edx
mov eax, dword [ebp - 0x2160]
push eax
mov ecx, dword [ebp - 0x3104]
push ecx
mov ecx, dword [ebp - 0x40c8]
call fcn.0045e381
mov dword [ebp - 0x10b4], eax
cmp dword [ebp - 0x10b4], 0xffffffff
jne 0x45e189
mov edx, dword [ebp + 8]
mov dword [edx], 0
or eax, 0xffffffff
jmp 0x45e371
jmp 0x45e344
mov eax, dword [ebp - 0x2160]
fld dword [ebp - 0x40a8]
fsub dword [ebp + eax*4 - 0x30fc]
sub esp, 8
fstp qword [esp]
call sub.MSVCRT.dll_fabs
add esp, 8
fst dword [ebp - 0x40e8]
fcomp dword [0x4af514]
fnstsw ax
test ah, 1
je 0x45e21c
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x40a4]
push edx
lea eax, [ebp - 0x2054]
push eax
lea ecx, [ebp - 0x10b0]
push ecx
mov edx, dword [ebp - 0x2160]
add edx, 1
push edx
mov eax, dword [ebp - 0x3104]
push eax
mov ecx, dword [ebp - 0x40c8]
call fcn.0045e381
mov dword [ebp - 0x10b4], eax
cmp dword [ebp - 0x10b4], 0xffffffff
jne 0x45e217
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
or eax, 0xffffffff
jmp 0x45e371
jmp 0x45e344
mov edx, dword [ebp - 0x2160]
fld dword [ebp - 0x40a8]
fcomp dword [ebp + edx*4 - 0x3100]
fnstsw ax
test ah, 0x41
jne 0x45e344
mov eax, dword [ebp - 0x2160]
fld dword [ebp - 0x40a8]
fcomp dword [ebp + eax*4 - 0x30fc]
fnstsw ax
test ah, 1
je 0x45e344
lea ecx, [ebp - 0x40b4]
push ecx
lea edx, [ebp - 0x40a4]
push edx
lea eax, [ebp - 0x2054]
push eax
lea ecx, [ebp - 0x10b0]
push ecx
mov edx, dword [ebp - 0x2160]
push edx
mov eax, dword [ebp - 0x3104]
push eax
mov ecx, dword [ebp - 0x40c8]
call fcn.0045e381
mov dword [ebp - 0x10b4], eax
cmp dword [ebp - 0x10b4], 0xffffffff
jne 0x45e2ae
mov dword [ebp - 0x40b4], 0
or eax, 0xffffffff
jmp 0x45e371
lea ecx, [ebp - 0x40b8]
push ecx
lea edx, [ebp - 0x40a4]
push edx
lea eax, [ebp - 0x2054]
push eax
lea ecx, [ebp - 0x10b0]
push ecx
mov edx, dword [ebp - 0x2160]
add edx, 1
push edx
mov eax, dword [ebp - 0x3104]
push eax
mov ecx, dword [ebp - 0x40c8]
call fcn.0045e381
mov dword [ebp - 0x10b4], eax
cmp dword [ebp - 0x10b4], 0xffffffff
jne 0x45e304
mov dword [ebp - 0x40b8], 0
or eax, 0xffffffff
jmp 0x45e371
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x40a8]
push edx
mov eax, dword [ebp - 0x40b8]
push eax
mov ecx, dword [ebp - 0x40b4]
push ecx
mov edx, dword [ebp - 0x2160]
mov eax, dword [ebp + edx*4 - 0x30fc]
push eax
mov ecx, dword [ebp - 0x2160]
mov edx, dword [ebp + ecx*4 - 0x3100]
push edx
mov ecx, dword [ebp - 0x40c8]
call fcn.00465116
jmp 0x45e0e2
mov eax, dword [ebp + 8]
fld dword [eax]
fdiv dword [0x4af3f4]
mov ecx, dword [ebp + 8]
fstp dword [ecx]
jmp 0x45e36c
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x40c8]
mov ecx, dword [eax + 0x264]
mov dword [edx], ecx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8