Function at 0x44fba0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af2b6
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x4f0100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], 0
cmp dword [edi + 0x14], 7
mov dword [ebp - 0x1c], eax
mov eax, edi
jbe 0x44fbed
mov eax, dword [edi]
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x28], eax
cmp eax, 0xffffffff
jne 0x44fd98
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x674804]
cmp eax, dword [ecx + 4]
jle 0x44fc74
push 0x674804
call fcn.0047b571
add esp, 4
cmp dword [0x674804], 0xffffffff
jne 0x44fc74
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0x674808
mov dword [0x67482c], 0
mov byte [ebp - 4], 0
push 0x4b1840
call fcn.0047ba41
mov dword [ebp - 4], 0xffffffff
push 0x674804
call fcn.0047b520
add esp, 8
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
push str.open_file_error_msg
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x68], xmm0
call fcn.0041cd80
mov dword [ebp - 4], 3
lea eax, [ebp - 0x68]
push eax
mov ecx, 0x674808
call fcn.0044aa90
mov edx, eax
cmp dword [eax + 0x14], 7
jbe 0x44fcb7
mov edx, dword [eax]
mov esi, dword [eax + 0x10]
mov byte [ebp - 4], 4
mov ecx, edi
cmp dword [edi + 0x14], 7
jbe 0x44fcc8
mov ecx, dword [edi]
mov eax, dword [edi + 0x10]
sub esp, 8
mov dword [ebp - 0x2c], eax
mov eax, esp
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], 0xc0000000
push esi
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x50]
push edx
mov dword [eax], 1
call fcn.0043c270
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 5
lea eax, [ebp - 0x120]
push 0xb8
push 0
push eax
call fcn.0047d590
add esp, 0x1c
lea ecx, [ebp - 0x120]
push 0x4f0c1c
call fcn.00432ae0
cmp dword [ebp - 0x3c], 7
lea edx, [ebp - 0x50]
push dword [ebp - 0x40]
cmova edx, dword [ebp - 0x50]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x18], 3
call fcn.0043d440
lea eax, [ebp - 0x110]
push eax
call fcn.0043a570
mov esi, 3
add esp, 8
mov dword [ebp - 0x18], esi
and esi, 0xfffffffd
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x120]
call fcn.00432be0
and esi, 0xfffffffe
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
call fcn.00416820
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00416c70
xor al, al
jmp 0x45013c
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], esi
cmp esi, 0xffffffff
jne 0x44ff3e
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x674804]
cmp eax, dword [ecx + 4]
jle 0x44fe11
push 0x674804
call fcn.0047b571
add esp, 4
cmp dword [0x674804], esi
jne 0x44fe11
mov dword [ebp - 4], 6
mov dword [ebp - 0x1c], 0x674808
mov dword [0x67482c], 0
mov byte [ebp - 4], 6
push 0x4b1840
call fcn.0047ba41
mov dword [ebp - 4], esi
push 0x674804
call fcn.0047b520
add esp, 8
push 0x17
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
push str.get_file_size_error_msg
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x50], xmm0
call fcn.0041cd80
mov dword [ebp - 4], 9
lea eax, [ebp - 0x50]
push eax
mov ecx, 0x674808
call fcn.0044aa90
mov edx, eax
cmp dword [eax + 0x14], 7
jbe 0x44fe54
mov edx, dword [eax]
mov esi, dword [eax + 0x10]
mov byte [ebp - 4], 0xa
mov ecx, edi
cmp dword [edi + 0x14], 7
jbe 0x44fe65
mov ecx, dword [edi]
mov eax, dword [edi + 0x10]
sub esp, 8
mov dword [ebp - 0x2c], eax
mov eax, esp
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], 0xc0000000
push esi
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x68]
push edx
mov dword [eax], 1
call fcn.0043c270
mov dword [ebp - 0x18], 4
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x120]
push 0xb8
push 0
push eax
call fcn.0047d590
add esp, 0x1c
lea ecx, [ebp - 0x120]
push 0x4f0c1c
call fcn.00432ae0
cmp dword [ebp - 0x54], 7
lea edx, [ebp - 0x68]
push dword [ebp - 0x58]
cmova edx, dword [ebp - 0x68]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x18], 0xc
call fcn.0043d440
lea eax, [ebp - 0x110]
push eax
call fcn.0043a570
mov esi, 0xc
add esp, 8
mov dword [ebp - 0x18], esi
and esi, 0xfffffff7
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x120]
call fcn.00432be0
and esi, 0xfffffffb
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x68]
call fcn.00416820
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00416c70
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x45013c
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 0x1d], 0
mov edx, dword [ecx + 4]
mov eax, dword [ecx]
mov dword [ebp - 0x38], edx
sub edx, eax
cmp esi, edx
jb 0x44ff83
jbe 0x44ff88
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
cmp esi, eax
jbe 0x44ff6d
lea eax, [ebp - 0x1d]
push eax
push esi
call fcn.004523f0
mov ecx, dword [ebp - 0x24]
jmp 0x44ff88
sub esi, edx
push esi
push 0
push dword [ebp - 0x38]
call fcn.0047d590
mov eax, dword [ebp - 0x38]
add esp, 0xc
mov ecx, dword [ebp - 0x24]
add eax, esi
mov dword [ecx + 4], eax
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
mov eax, dword [ebp - 0x1c]
push dword [eax]
push dword [ecx]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x28]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x45013a
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x674804]
cmp eax, dword [ecx + 4]
jle 0x450019
push 0x674804
call fcn.0047b571
add esp, 4
cmp dword [0x674804], 0xffffffff
jne 0x450019
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x1c], 0x674808
mov dword [0x67482c], esi
mov byte [ebp - 4], 0xc
push 0x4b1840
call fcn.0047ba41
mov dword [ebp - 4], 0xffffffff
push 0x674804
call fcn.0047b520
add esp, 8
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
push str.read_file_error_msg
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x50], xmm0
call fcn.0041cd80
mov dword [ebp - 4], 0xf
lea eax, [ebp - 0x50]
push eax
mov ecx, 0x674808
call fcn.0044aa90
mov edx, eax
cmp dword [eax + 0x14], 7
jbe 0x45005c
mov edx, dword [eax]
mov esi, dword [eax + 0x10]
mov byte [ebp - 4], 0x10
mov ecx, edi
cmp dword [edi + 0x14], 7
jbe 0x45006d
mov ecx, dword [edi]
mov eax, dword [edi + 0x10]
sub esp, 8
mov dword [ebp - 0x2c], eax
mov eax, esp
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], 0xc0000000
push esi
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x68]
push edx
mov dword [eax], 1
call fcn.0043c270
mov dword [ebp - 0x18], 0x10
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x120]
push 0xb8
push 0
push eax
call fcn.0047d590
add esp, 0x1c
lea ecx, [ebp - 0x120]
push 0x4f0c1c
call fcn.00432ae0
cmp dword [ebp - 0x54], 7
lea edx, [ebp - 0x68]
push dword [ebp - 0x58]
cmova edx, dword [ebp - 0x68]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x18], 0x30
call fcn.0043d440
lea eax, [ebp - 0x110]
push eax
call fcn.0043a570
mov esi, 0x30
add esp, 8
mov dword [ebp - 0x18], esi
and esi, 0xffffffdf
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x120]
call fcn.00432be0
and esi, 0xffffffef
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x68]
call fcn.00416820
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00416c70
xor al, al
jmp 0x45013c
mov al, 1
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.0047b4e2
mov esp, ebp
pop ebp
ret 0xc