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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49dfe9
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x4cf06c]
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 edi, ecx
mov dword [ebp - 0x424], edi
mov eax, dword [ebp + 8]
mov dword [edi + 0xc], eax
call fcn.0045d820
lea edx, [ebp - 0x414]
mov dword [ebp - 0x414], edi
lea ecx, [ebp - 0x444]
call fcn.00418a50
push 0x18
mov dword [ebp - 4], 0
call fcn.0047d4f2
mov edx, eax
add esp, 4
mov dword [ebp - 0x41c], edx
lea ecx, [edx + 8]
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [ecx], 0
mov dword [ecx], ecx
mov dword [ecx + 4], ecx
mov dword [ecx + 8], 0
mov dword [edx + 0x14], 0
mov eax, dword [edi]
push 0
push 0
push 3
mov dword [edi + 0x14], edx
mov dword [edx], eax
mov dword [edx + 4], edi
mov eax, dword [edi]
push 0
push 1
push 0x80000000
mov dword [eax + 4], edx
push dword [edi + 0xc]
inc dword [edi + 8]
mov dword [edi], edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x41c], esi
mov byte [ebp - 4], 1
cmp esi, 0xffffffff
je 0x45de1b
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x418], eax
lea ecx, [ebp - 0x460]
push 0
inc eax
push eax
call fcn.004593a0
push 0
lea eax, [ebp - 0x418]
mov byte [ebp - 4], 2
mov ebx, dword [ebp - 0x460]
push eax
push dword [ebp - 0x418]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45de10
push 0
call fcn.00486e21
push 0x10000
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0
call fcn.0048714e
add esp, 8
mov dword [ebp - 0x43c], eax
test eax, eax
je 0x45dc0a
xor ecx, ecx
mov dword [ebp - 0x438], 0x10000
mov word [eax], cx
mov word [eax + 0xfffe], cx
push 0
call fcn.00486e21
push 0x10000
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x428], 0
call fcn.0048714e
add esp, 8
mov dword [ebp - 0x430], eax
test eax, eax
je 0x45dc52
xor ecx, ecx
mov dword [ebp - 0x42c], 0x10000
mov word [eax], cx
mov word [eax + 0xfffe], cx
mov byte [ebp - 4], 4
cmp byte [ebx], 0xef
mov edi, dword [edi + 0x14]
mov dword [ebp - 0x414], edi
jne 0x45dc73
cmp byte [ebx + 1], 0xbb
jne 0x45dc73
cmp byte [ebx + 2], 0xbf
jne 0x45dc73
add ebx, 3
push 0x4bdc28
push ebx
call fcn.00482c1c
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x45ddf7
mov esi, dword [ebp - 0x430]
push esi
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x420]
push eax
push ebx
call fcn.0045d720
test eax, eax
jne 0x45dd4e
test ebx, ebx
je 0x45dcd9
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45dcb7
sub eax, edx
cmp eax, 0xfff6
jl 0x45dcd9
push 0x4c5338
call fcn.00459e20
add esp, 4
jmp 0x45ddd8
push 0x10
call fcn.0047d4f2
mov edi, eax
add esp, 4
mov dword [ebp - 0x448], edi
mov byte [ebp - 4], 5
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
test ebx, ebx
je 0x45dd25
push 0
call fcn.0047d4ed
add esp, 4
or edx, 0xffffffff
mov ecx, ebx
call fcn.0043a7d0
mov dword [edi + 0xc], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x414]
add ecx, 8
mov eax, dword [ecx]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov eax, dword [ecx]
mov dword [eax + 4], edi
inc dword [ecx + 8]
mov dword [ecx], edi
mov edi, dword [ebp - 0x414]
jmp 0x45ddd8
cmp dword [ebp - 0x420], 0
je 0x45ddc9
push 0x18
call fcn.0047d4f2
mov edi, eax
lea ecx, [edi + 8]
mov dword [ebp - 0x414], edi
push 0
mov dword [ebp - 0x44c], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [ecx], 0
mov dword [ecx], ecx
mov dword [ecx + 4], ecx
mov dword [ecx + 8], 0
mov dword [edi + 0x14], 0
call fcn.0047d4ed
add esp, 8
lea ecx, [ebp - 0x410]
or edx, 0xffffffff
call fcn.0043a7d0
mov ecx, dword [ebp - 0x424]
mov dword [edi + 0x14], eax
mov eax, dword [ecx]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov eax, dword [ecx]
mov dword [eax + 4], edi
inc dword [ecx + 8]
mov dword [ecx], edi
jmp 0x45ddd8
push esi
lea eax, [ebp - 0x410]
mov ecx, edi
push eax
call fcn.0045d490
push 0x4bdc10
push 0
call fcn.00482c1c
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x45dc91
mov esi, dword [ebp - 0x41c]
push dword [ebp - 0x430]
call fcn.00486e21
push dword [ebp - 0x43c]
call fcn.00486e21
add esp, 8
lea ecx, [ebp - 0x460]
call fcn.004593f0
test esi, esi
je 0x45de2b
cmp esi, 0xffffffff
je 0x45de2b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x440], 0
je 0x45de3f
mov ecx, dword [ebp - 0x444]
call fcn.0045d8f0
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.0047d39f
mov esp, ebp
pop ebp
ret 4