Function at 0x44f720
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c77e
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.menu_file_history
mov ecx, dword [0x5fbf48]
call fcn.0044a6f0
mov ecx, eax
call dword [sym.imp.DuiLib.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
mov dword [0x5fbf54], eax
cmp dword [0x5fbf54], 0
je 0x44f79c
push str.FileHistoryVerticalLayout
mov ecx, dword [0x5fbf54]
call fcn.00406070
mov ecx, eax
call fcn.00404760
mov ecx, eax
call fcn.00407490
mov ecx, eax
call dword [sym.imp.DuiLib.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
mov dword [0x5fbf58], eax
mov ecx, 0x5fbf5c
call fcn.0044fee0
push 0x581a2c
lea ecx, [ebp - 0x80]
call fcn.00403970
mov dword [ebp - 4], 0
push 0
push 0
lea eax, [ebp - 0x80]
push eax
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x5c]
call fcn.00565020
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.00403230
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x60]
call fcn.00438030
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.00402fc0
mov byte [ebp - 4], 4
mov dword [ebp - 0x64], 0
jmp 0x44f80c
mov ecx, dword [ebp - 0x64]
add ecx, 1
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x64], 5
jge 0x44f967
lea ecx, [ebp - 0x60]
call fcn.0044fc40
lea ecx, [ebp - 0x30]
call fcn.0041b9e0
mov edx, dword [ebp - 0x64]
add edx, 1
push edx
push str.FILE_d
lea eax, [ebp - 0x60]
push eax
call fcn.00450700
add esp, 0xc
lea ecx, [ebp - 0x60]
call fcn.004dfdf0
push eax
lea ecx, [ebp - 0x9c]
call fcn.00403970
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0xdc], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xdc]
push edx
lea ecx, [ebp - 0x30]
call fcn.00402bb0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x9c]
call fcn.00403230
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00564e20
movzx ecx, al
test ecx, ecx
je 0x44f962
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00565570
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xe4]
push edx
lea ecx, [ebp - 0x30]
call fcn.00402bb0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb8]
call fcn.00403230
lea ecx, [ebp - 0x30]
call fcn.00408b9e
movzx eax, al
test eax, eax
jne 0x44f956
lea ecx, [ebp - 0x30]
call fcn.00403810
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x44f956
lea ecx, [ebp - 0x30]
call fcn.00403810
push eax
lea ecx, [ebp - 0xd4]
push ecx
call fcn.00565cb0
add esp, 8
mov dword [ebp - 0xe8], eax
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0xec], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xec]
push eax
mov ecx, 0x5fbf5c
call fcn.0044fd20
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xd4]
call fcn.00406210
jmp 0x44f962
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00564ed0
jmp 0x44f803
call fcn.0044ed90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.00403230
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
call fcn.0044fc20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00565000
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret