Function at 0x48a1d0
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
sub esp, 0x8a4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError_1]
push esi
xor esi, esi
push edi
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
mov dword [esp + 0x10], esi
push esi
lea eax, [esp + 0xb0]
push str.screen_03d.PCX
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0xac]
push ecx
call ebx
cmp eax, 0xffffffff
jne 0x48a235
call ebp
cmp eax, 2
jne 0x48a235
lea edx, [esp + 0xac]
push 0xe
push edx
call fcn.00489b40
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x48a253
inc esi
cmp esi, 0x3e8
jl 0x48a1f2
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x48a253
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x8a4
ret
push 0x100
lea eax, [esp + 0x4b8]
push 0
push eax
call fcn.0048a830
add esp, 0xc
call fcn.00489510
xor ebp, ebp
lea ecx, [esp + 0x24]
push ebp
lea edx, [esp + 0x18]
push ecx
push edx
push ebp
push ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x28], ebp
call sub.Storm.dll_Ordinal_350
test eax, eax
je 0x48a411
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x2c]
mov esi, 0x1df
rep stosd dword es:[edi], eax
mov eax, 0x48
lea ecx, [esp + 0x2c]
mov word [esp + 0x38], ax
mov word [esp + 0x3a], ax
mov eax, dword [esp + 0x10]
mov byte [esp + 0x2c], 0xa
push eax
push pe_nt_image_headers32
push ecx
mov byte [esp + 0x39], 5
mov byte [esp + 0x3a], 1
mov byte [esp + 0x3b], 8
mov word [esp + 0x40], 0x27f
mov word [esp + 0x42], si
mov byte [esp + 0x79], 1
mov word [esp + 0x7a], 0x280
call fcn.00489c40
add esp, 0xc
test eax, eax
je 0x48a411
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x14]
push ebp
push 0xa3
push str.C:war2bneGDScapture.cpp
push 0x500
mov dword [esp + 0x30], edx
call sub.Storm.dll_Ordinal_401
mov ebp, eax
mov dword [esp + 0x28], 1
mov dword [esp + 0x18], esi
mov ecx, 0x280
mov edi, ebp
mov esi, ebx
mov dl, byte [esi]
inc esi
dec ecx
mov eax, 1
je 0x48a357
cmp dl, byte [esi]
jne 0x48a352
cmp eax, 0x3f
jge 0x48a352
inc eax
dec ecx
inc esi
test ecx, ecx
jne 0x48a342
cmp eax, 1
jg 0x48a35c
cmp dl, 0xbf
jbe 0x48a361
or al, 0xc0
mov byte [edi], al
inc edi
mov byte [edi], dl
inc edi
test ecx, ecx
jne 0x48a337
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
sub edi, ebp
push eax
push edi
push ebp
add ebx, esi
call fcn.00489c40
add esp, 0xc
test eax, eax
je 0x48a39e
mov eax, dword [esp + 0x18]
mov cx, ax
add eax, 0xffff
test cx, cx
mov dword [esp + 0x18], eax
jne 0x48a32e
mov esi, dword [esp + 0x28]
jmp 0x48a3a0
xor esi, esi
push 0
push 0xaf
push str.C:war2bneGDScapture.cpp
push ebp
call sub.Storm.dll_Ordinal_403
test esi, esi
je 0x48a411
mov byte [esp + 0x1b0], 0xc
lea eax, [esp + 0x1b3]
lea ecx, [esp + 0x4b6]
mov esi, 0x100
mov dl, byte [ecx - 2]
add ecx, 4
mov byte [eax - 2], dl
mov dl, byte [ecx - 5]
mov byte [eax - 1], dl
mov dl, byte [ecx - 4]
mov byte [eax], dl
add eax, 3
dec esi
jne 0x48a3d1
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1b0]
push eax
push 0x301
push ecx
call fcn.00489c40
add esp, 0xc
test eax, eax
je 0x48a411
mov dword [esp + 0x1c], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48a425
push 0
push 0
push eax
push 0
call sub.Storm.dll_Ordinal_356
mov edx, dword [esp + 0x10]
push edx
call fcn.00489b30
mov eax, dword [esp + 0x20]
add esp, 4
test eax, eax
jne 0x48a448
lea eax, [esp + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.00489510
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x8a4
ret