Function at 0x443df4
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push 0xd4
mov eax, 0x586c11
call fcn.00480ef9
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xdc], edi
push edi
xor eax, eax
mov dword [ebp - 4], edi
push 0x5dfd10
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], ax
call fcn.0041fdf0
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 1
call fcn.00457350
call fcn.004458bd
test al, al
je 0x443e71
push eax
push eax
pop edi
push eax
pop ebp
pop ebx
pop ebx
pop edx
pop ecx
pop edi
pop edx
push eax
pop eax
push ecx
push esp
pop ebp
push ebp
pop esi
pop ecx
push esp
pop ebp
pop esp
push esi
push ebx
push edx
pop edi
push edx
push esi
mov ebx, dword [ebp - 0xcc]
xor edi, edi
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x444129
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
push edi
cmovae eax, dword [ebp + 0xc]
push 0x80
push 4
push edi
push 1
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc8], eax
cmp eax, 0xffffffff
jne 0x443ee1
push 0x5dfd10
mov ecx, ebx
call fcn.0041fba0
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.0041fd30
push edi
push 1
lea ecx, [ebp + 0xc]
call fcn.0041fd30
mov eax, ebx
jmp 0x444154
call fcn.0044598c
test al, al
je 0x443f04
push ebx
pop edx
push ebp
push ecx
push esp
push esp
pop esi
pop ebx
pop edx
pop edx
pop ebx
push esi
push eax
push esp
push esp
pop eax
pop ebx
pop eax
pop esi
pop eax
pop ebp
pop edi
push ebx
push edi
pop ebx
pop edx
call fcn.00445b2a
test al, al
je 0x443f29
push esi
pop esp
push eax
push esi
push ebx
push esi
pop esp
push edi
pop ebp
push edi
push edx
pop edi
pop esp
push ecx
push ecx
pop eax
push ecx
pop ebp
push ebp
push ebx
pop esi
pop edi
pop ebx
push eax
pop ebp
push esp
push esi
push ebx
xor ebx, ebx
push ebx
push dword [ebp - 0xc8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xd4], eax
inc eax
push eax
mov dword [ebp - 0xd8], eax
call fcn.00436bf4
mov dword [ebp - 0xd0], eax
pop ecx
test eax, eax
jne 0x443f77
mov ecx, dword [ebp - 0xcc]
push 0x5dfd10
call fcn.0041fba0
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0041fd30
push ebx
jmp 0x444144
call fcn.00445a16
test al, al
je 0x443f95
pop edx
pop ebp
pop eax
push ecx
pop edx
push edx
pop edi
push eax
pop ebx
push esp
pop esi
push ebp
pop eax
pop ebx
pop edi
pop eax
push ebx
push edx
push ebx
push edi
pop eax
call fcn.004457a9
test al, al
je 0x443fae
pop ecx
push ebp
pop ebp
push eax
pop ebp
pop ecx
push ebp
pop ecx
push edx
pop edi
pop edx
push eax
pop edx
pop edx
pop ecx
pop eax
call fcn.00445d52
test al, al
je 0x443fcb
pop esi
push ecx
pop edx
pop edx
push ebx
pop ebx
pop ecx
push edx
pop esi
pop ebp
push esi
push esi
pop esi
push ebp
push edi
pop ebx
push ebx
pop edi
pop ebp
pop esi
push dword [ebp - 0xd8]
mov ebx, dword [ebp - 0xd0]
push 0
push ebx
call fcn.0045eed0
add esp, 0xc
lea eax, [ebp - 0xe0]
push 0
push eax
push dword [ebp - 0xd4]
push ebx
push dword [ebp - 0xc8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
call fcn.00445a16
test al, al
je 0x44402d
push eax
pop esp
pop ecx
push ebx
pop eax
pop ecx
push ecx
pop ebx
pop edx
push edi
push ebx
pop esp
push ebx
push ebx
push edi
pop esp
push edx
pop edi
pop ecx
pop ebx
push ebp
pop edx
pop edi
push edi
push edx
pop esp
push esi
push ebp
push esi
push edi
push ebx
push ebp
mov ebx, dword [ebp - 0xd0]
call fcn.00445d0d
test al, al
je 0x44404f
push esp
push edx
push edi
push edx
pop eax
pop ecx
push esp
push edx
pop ecx
pop edx
pop ecx
push esp
pop eax
push esp
pop edx
push esi
pop esp
push ebx
push edx
push esp
pop esi
push esp
push esi
push edi
pop edi
push dword [ebp - 0xc8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xd4]
lea ecx, [ebp - 0xc4]
push ebx
call fcn.00457d9d
push ebx
call fcn.00436bef
pop ecx
call fcn.004457a9
test al, al
je 0x44408d
push ebp
push ebp
pop esi
push ecx
pop edi
push edi
push eax
push edi
pop ebx
pop ebx
push esi
push ebp
push esi
push edx
push ebx
push esp
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0xc4]
call fcn.004575eb
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
call fcn.004427d5
pop ecx
pop ecx
xor edi, edi
mov byte [ebp - 4], 4
push edi
push 1
lea ecx, [ebp - 0x58]
call fcn.00423140
call fcn.00445a16
test al, al
je 0x4440e3
push ebp
push ecx
push edi
pop esi
pop ecx
pop eax
pop esp
push ebx
push edi
pop ecx
push ecx
pop esp
push ecx
push eax
push ebx
push edi
push ebp
push esp
push eax
push ebx
pop esp
push eax
pop ebx
pop esi
pop eax
push ebp
push esi
push ecx
push edx
call fcn.00445c83
test al, al
je 0x444109
push esp
pop edx
push ebx
pop ebp
pop eax
pop ebp
push ecx
pop eax
push eax
push ecx
pop ebx
push edx
pop esi
push edx
pop esp
pop esp
push ebp
pop edx
pop ecx
push ebp
push eax
push edi
push esp
pop edi
push esi
push ecx
pop edi
xor edi, edi
cmp dword [ebp - 0x30], 0
jbe 0x44411e
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0041fef0
push edi
push 1
lea ecx, [ebp - 0x40]
call fcn.0041fd30
mov ecx, dword [ebp - 0xcc]
lea eax, [ebp - 0x28]
push eax
call fcn.004271c0
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.0041fd30
push edi
push 1
lea ecx, [ebp + 0xc]
call fcn.0041fd30
mov eax, dword [ebp - 0xcc]
call fcn.00480eb4
ret