Function at 0x44c900
Capabilities:
Check if file exists
Delete file
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x544bdb
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x5868f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor esi, esi
lea eax, [ebp - 0x218]
push 0x208
push esi
push eax
mov dword [ebp - 0x248], esi
mov dword [ebp - 0x244], esi
call fcn.00516d20
xor eax, eax
mov dword [ebp - 0x21c], 7
add esp, 0xc
mov dword [ebp - 0x220], esi
mov word [ebp - 0x230], ax
mov dword [ebp - 4], eax
test ebx, ebx
je 0x44cbf2
call fcn.0044c8d0
test al, al
je 0x44cbf2
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44cbd0
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x44c9be
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x44cbd0
lea eax, [ebp - 0x248]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x44c9db
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44cbbe
test edi, edi
je 0x44c9e9
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or edi, 0xffffffff
mov eax, dword [ebp - 0x248]
cmp eax, dword [0x58b9e4]
jb 0x44cbc0
mov ecx, ebx
call fcn.004088a0
cmp eax, 0x104
jb 0x44ca13
mov esi, 0x6f
jmp 0x44cbc0
push ebx
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0052c361
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
jne 0x44ca44
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44cbbe
cmp dword [0x58ba14], 8
mov edx, dword [0x58ba00]
jae 0x44ca58
mov edx, 0x58ba00
lea eax, [ebp - 0x230]
push eax
movzx eax, byte [0x58ba18]
lea ecx, [ebp - 0x218]
push eax
call fcn.0044cc20
mov esi, eax
add esp, 8
test esi, esi
jne 0x44cbc0
cmp dword [ebp - 0x21c], 8
mov eax, dword [ebp - 0x230]
jae 0x44ca94
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44cbc0
cmp dword [ebp - 0x21c], 8
jb 0x44caba
mov esi, dword [ebp - 0x230]
mov dword [ebp - 0x23c], esi
jmp 0x44cac6
lea eax, [ebp - 0x230]
mov dword [ebp - 0x23c], eax
lea edx, [ebp - 0x234]
mov dword [ebp - 0x238], 0
mov ecx, ebx
call fcn.00436720
cmp dword [ebp - 0x234], 0
mov dword [ebp - 0x240], eax
ja 0x44caf8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x44cb3b
mov ecx, dword [ebp - 0x23c]
lea edx, [ebp - 0x234]
call fcn.00436720
cmp dword [ebp - 0x234], 0
mov dword [ebp - 0x238], eax
ja 0x44cb2a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x44cb3b
mov eax, dword [ebp - 0x238]
push eax
push dword [ebp - 0x240]
call fcn.004e1bd0
add esp, 8
mov esi, eax
mov eax, dword [ebp - 0x240]
test eax, eax
je 0x44cb4e
push eax
call fcn.004fdfa4
add esp, 4
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x44cb61
push eax
call fcn.004fdfa4
add esp, 4
mov ecx, esi
call fcn.00436660
mov esi, eax
test esi, esi
jne 0x44cbc0
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x44cbc0
cmp dword [0x58ba14], 8
mov ecx, dword [0x58ba00]
jae 0x44cb8d
mov ecx, 0x58ba00
cmp dword [0x58b9fc], 8
mov edx, dword [0x58b9e8]
jae 0x44cba1
mov edx, 0x58b9e8
push dword [0x58ba1c]
movzx eax, byte [0x58ba18]
push eax
push ecx
lea ecx, [ebp - 0x218]
call fcn.0044cdd0
add esp, 0xc
mov esi, eax
test edi, edi
je 0x44cbd0
cmp edi, 0xffffffff
je 0x44cbd0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x44cbee
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00403300
mov eax, esi
jmp 0x44cbf7
mov eax, 0x57
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fdf3d
mov esp, ebp
pop ebp
ret