Function at 0x4189a0
Capabilities:
Check if file exists
Delete file
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f53b
mov eax, dword fs:[0]
push eax
mov eax, 0x1248
call fcn.00488190
mov eax, dword [0x4c9890]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.ExceptionHandle_LowDiscSpace
call fcn.00413860
add esp, 4
xor ebx, ebx
cmp dword [edi + 0xd520], 1
jne 0x4189ff
push ebx
push 2
mov ecx, edi
call fcn.00417d10
mov ebx, eax
test ebx, ebx
js 0x418bdc
push 0x400
push 0x32
lea eax, [ebp - 0xd8]
push eax
push 0x197
push dword [edi + 4]
call fcn.00412610
push 0x400
push 0x32
lea eax, [ebp - 0x74]
push eax
push 0x191
push dword [edi + 4]
call fcn.00412610
push 0x400
push 0x104
lea eax, [ebp - 0x4e8]
push eax
push 0xcd
push dword [edi + 4]
call fcn.00412610
mov ecx, dword [edi + 0x6a4]
lea eax, [ebp - 0x4e8]
mov dword [ebp - 0x1254], eax
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x1250], eax
add esp, 0x3c
lea eax, [ebp - 0x74]
mov dword [ebp - 0x124c], eax
mov dword [ebp - 0x1248], 0
mov dword [ebp - 0x1244], 0
mov dword [ebp - 0x1240], 0
mov dword [ebp - 0x123c], 0
mov dword [ebp - 0x1238], 0
mov dword [ebp - 0x1234], 0
test ecx, ecx
je 0x418ad7
call fcn.004089a0
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x418ad7
mov ecx, dword [edi + 0x6a4]
call fcn.004089a0
jmp 0x418ada
mov eax, dword [edi + 0xc]
push 0
push eax
lea eax, [ebp - 0x1254]
push eax
push 1
lea ecx, [ebp - 0x1230]
call fcn.004092f0
lea ecx, [ebp - 0x1230]
mov dword [ebp - 4], 0
call fcn.00409af0
cmp eax, 0x322
jne 0x418b3b
push str.User_click_OK_in_LOW_DISCSPACE_dlg
call fcn.004010d0
add esp, 4
mov ecx, edi
push 0
call fcn.004178a0
cmp eax, 0xa0070001
jne 0x418bca
push 0
mov ecx, edi
call fcn.00417e30
mov ebx, eax
jmp 0x418bca
push str.User_click_CANCEL_in_LOW_DISCSPACE_dlg
call fcn.004010d0
push 0x103
lea eax, [edi + 0x3982]
push eax
lea eax, [ebp - 0x2e0]
push eax
call fcn.00487152
xor eax, eax
add esp, 0x10
mov word [ebp - 0xda], ax
lea eax, [ebp - 0x2e0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
lea ecx, [ebp - 0x2e0]
add ecx, 0xfffffffe
nop
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x418b80
mov eax, dword [str..tmp]
mov dword [ecx], eax
mov eax, dword [0x4a904c]
mov dword [ecx + 4], eax
mov ax, word [0x4a9050]
mov word [ecx + 8], ax
lea eax, [ebp - 0x2e0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x418bca
lea eax, [ebp - 0x2e0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, edi
call fcn.0041af90
lea ecx, [ebp - 0x1230]
mov dword [ebp - 4], 0xffffffff
call fcn.004098d0
cmp dword [edi + 0xd520], 3
jne 0x418c35
push 0
lea ecx, [edi + 0x8e54]
call fcn.004089a0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
add edi, 0x9514
push 5
mov ecx, edi
call fcn.004089a0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, edi
call fcn.004089b0
push eax
mov ecx, edi
call fcn.004089a0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, edi
call fcn.004089a0
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00487c50
mov esp, ebp
pop ebp
ret