Function at 0x4731b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56ee1b
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x5f969c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x78], ecx
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x30]
push ecx
push 0
mov edx, dword [ebp + 8]
add edx, 0x20c
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x47340a
mov eax, dword [ebp + 8]
add eax, 0x414
push eax
lea ecx, [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
je 0x47340a
mov edx, dword [ebp + 8]
add edx, 0x20c
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47340a
lea ecx, [ebp - 0x44]
call fcn.00438030
mov dword [ebp - 4], 0
lea eax, [ebp - 0x44]
push eax
call fcn.0049e480
add esp, 4
lea ecx, [ebp - 0x3c]
call fcn.00438030
mov byte [ebp - 4], 1
push 0x9d
lea ecx, [ebp - 0x3c]
call fcn.0041a8c0
lea ecx, [ebp - 0x38]
call fcn.00438030
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
add ecx, 0x20c
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004dfdf0
push eax
lea edx, [ebp - 0x38]
push edx
call fcn.004386c0
add esp, 0xc
push 0x44
lea ecx, [ebp - 0x44]
call fcn.004dfdf0
push eax
lea ecx, [ebp - 0x38]
call fcn.004dfdf0
push eax
mov ecx, dword [0x5fbf48]
call dword [sym.imp.DuiLib.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 6
jne 0x4733e3
mov ecx, 0x5fc570
call fcn.0046ba40
mov dword [ebp - 0x6c], 0
xor eax, eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x6c]
push ecx
push 0
mov edx, dword [ebp + 8]
add edx, 0x20c
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x47334e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x58]
mov dword [eax + 0x414], ecx
mov edx, dword [ebp - 0x54]
mov dword [eax + 0x418], edx
push 0x258
call fcn.0053cf1e
add esp, 4
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x74], 0
je 0x473375
mov ecx, dword [ebp - 0x74]
call fcn.00463230
mov dword [ebp - 0x7c], eax
jmp 0x47337c
mov dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x48]
call fcn.0045d9e0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + 0x650]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
add eax, 4
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x20c
push ecx
lea ecx, [ebp - 0x48]
call fcn.004dfdf0
mov ecx, eax
call fcn.00463520
lea ecx, [ebp - 0x48]
call fcn.004dfdf0
push eax
mov ecx, dword [ebp - 0x78]
call fcn.00472d10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.00496090
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.0044fc20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.0044fc20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0044fc20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4