Function at 0x44d410
Capabilities:
Check if file exists
Delete file
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x547bc0
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x672114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x74], eax
mov esi, dword [ebp + 8]
lea edi, [eax + 0x18]
push 0xc
push str.GameIconNull
push dword [edi + 0x10]
mov ecx, edi
mov dword [ebp - 0x84], 0
push 0
call fcn.004266e0
test eax, eax
jne 0x44d477
push 0x656bb0
mov ecx, esi
call fcn.004024f0
jmp 0x44d757
push 0
push 0x656bb0
push dword [edi + 0x10]
mov ecx, edi
push 0
call fcn.004266e0
test eax, eax
je 0x44d4c8
cmp dword [edi + 0x14], 8
jb 0x44d498
mov eax, dword [edi]
jmp 0x44d49a
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44d4c8
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
push edi
mov word [esi], ax
call fcn.00402880
jmp 0x44d757
mov edi, dword [ebp - 0x74]
lea ecx, [ebp - 0x58]
xor eax, eax
mov dword [ebp - 0x44], 7
push 0xffffffffffffffff
push eax
push edi
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.00402880
mov dword [ebp - 4], 0
call fcn.004dc85c
push eax
xorps xmm0, xmm0
lea eax, [ebp - 0x40]
push 0x557870
push eax
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x30], xmm0
movq qword [ebp - 0x20], xmm0
call fcn.004081f0
add esp, 0xc
cmp word [ebp - 0x40], 0
jne 0x44d524
xor ecx, ecx
jmp 0x44d53f
lea ecx, [ebp - 0x40]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44d530
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x58]
call fcn.00404240
push 4
push str..ico
lea ecx, [ebp - 0x58]
call fcn.00404240
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44d5ad
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
lea eax, [ebp - 0x58]
push eax
call fcn.004041d0
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x44d757
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00402750
jmp 0x44d757
xor eax, eax
mov dword [ebp - 0x5c], 7
push 0xffffffffffffffff
push eax
push edi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
call fcn.00402880
push 8
push str.icon.ico
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.00404240
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
push 0
cmovae eax, dword [ebp - 0x70]
push 0x80
push 4
push 0
push 0
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
xor edi, edi
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], 0
cmp eax, 0xffffffff
je 0x44d69c
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x78], eax
lea ecx, [eax + 0xa]
push ecx
call fcn.004741dd
add esp, 4
mov dword [ebp - 0x7c], 0
mov edi, eax
lea eax, [ebp - 0x7c]
push 0
push eax
push dword [ebp - 0x78]
push edi
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x895440
push 0xf4240
call fcn.004dc623
push eax
xor ecx, ecx
mov byte [ebp - 0x18], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x17], ecx
push 0x5b5b80
push eax
mov word [ebp - 0x13], cx
mov byte [ebp - 0x11], cl
call fcn.0040b010
mov ecx, dword [ebp - 0x78]
add esp, 0x14
mov eax, dword [ebp - 0x18]
mov dword [edi + ecx], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + ecx + 4], eax
add ecx, 8
mov dword [ebp - 0x78], ecx
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test edi, edi
je 0x44d729
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 0
cmovae eax, dword [ebp - 0x58]
push 0x80
push 1
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x74], eax
cmp eax, 0xffffffff
je 0x44d729
push 0
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], 0
push ecx
push dword [ebp - 0x78]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
lea eax, [ebp - 0x58]
jmp 0x44d73f
mov dword [esi + 0x14], 7
xor eax, eax
mov dword [esi + 0x10], 0
mov word [esi], ax
lea eax, [ebp - 0x70]
push eax
mov ecx, esi
call fcn.004041d0
lea ecx, [ebp - 0x70]
call fcn.004024b0
lea ecx, [ebp - 0x58]
call fcn.004024b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00474193
mov esp, ebp
pop ebp
ret 4