Function at 0x4584c0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x496b80
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x4d01d4]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d01d4]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xd0]
mov ecx, dword [ebp + 0x378]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
sub esp, 0x84
mov edx, esp
mov dword [esp + 0x9c], esp
push edx
call eax
mov dword [esp + 0x14c], 0
or ebx, 0xffffffff
mov dword [esp + 0x14c], ebx
call fcn.004583a0
test eax, eax
jne 0x4586e3
mov ecx, dword [ebp + 0x37c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
sub esp, 0x84
mov eax, esp
mov dword [esp + 0x9c], esp
push eax
call edx
mov dword [esp + 0x14c], 1
mov dword [esp + 0x14c], ebx
call fcn.004583a0
test eax, eax
jne 0x4586e3
mov ecx, dword [ebp + 0x378]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esp + 0x1c]
push edx
call eax
mov dword [esp + 0xc8], 3
mov esi, dword [sym.imp.DTLUI.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
mov ecx, eax
call esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
sete byte [esp + 0x17]
mov dword [esp + 0xc8], ebx
mov edi, dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
lea ecx, [esp + 0x1c]
call edi
cmp byte [esp + 0x17], 0
je 0x458634
mov ecx, dword [ebp + 0x378]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0x1c]
push eax
call edx
mov dword [esp + 0xc8], 4
mov ecx, eax
call esi
push eax
call fcn.0048a980
add esp, 4
test eax, eax
sete byte [esp + 0x17]
mov dword [esp + 0xc8], ebx
lea ecx, [esp + 0x1c]
call edi
cmp byte [esp + 0x17], 0
je 0x458634
mov esi, str.STR_SETTING_WARNING1
lea edi, [esp + 0xa0]
call fcn.0040ba70
mov dword [esp + 0xc8], 5
mov ecx, eax
jmp 0x458725
mov ecx, dword [ebp + 0x37c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esp + 0x1c]
push edx
call eax
mov dword [esp + 0xc8], 6
mov ecx, eax
call esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
sete byte [esp + 0x17]
mov dword [esp + 0xc8], ebx
lea ecx, [esp + 0x1c]
call edi
cmp byte [esp + 0x17], 0
je 0x4586dc
mov ecx, dword [ebp + 0x37c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0x1c]
push eax
call edx
mov dword [esp + 0xc8], 7
mov ecx, eax
call esi
push eax
call fcn.0048a980
add esp, 4
test eax, eax
sete byte [esp + 0x17]
mov dword [esp + 0xc8], ebx
lea ecx, [esp + 0x1c]
call edi
cmp byte [esp + 0x17], 0
je 0x4586dc
mov esi, str.STR_SETTING_WARNING2
lea edi, [esp + 0xa0]
call fcn.0040ba70
mov dword [esp + 0xc8], 8
mov ecx, eax
jmp 0x458725
mov eax, 1
jmp 0x45875d
mov esi, str.STR_SETTING_WARNING3
lea edi, [esp + 0xa0]
call fcn.0040ba70
mov dword [esp + 0xc8], 2
push str._r_n_s
mov ecx, edi
call fcn.0048d1e0
push str.:____
mov ecx, edi
call fcn.0048cdb0
push eax
mov eax, edi
push eax
call fcn.0048d0b0
add esp, 0xc
mov ecx, edi
call fcn.0048cdb0
mov ecx, ebp
mov esi, eax
call dword [sym.imp.DTLUI.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push 0
push 0x30
push 0
push 0
push 0
push esi
push eax
call fcn.004528c0
add esp, 0x1c
mov dword [esp + 0xc8], ebx
lea ecx, [esp + 0xa0]
call fcn.0048cfe0
xor eax, eax
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.00470f4c
add esp, 0xb8
ret 4