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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a09f4
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x4c448c]
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 esi, ecx
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
lea edi, [esi + 4]
push ecx
mov ecx, edi
call fcn.00419d20
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
xor ebx, ebx
mov dword [edi + 8], ebx
mov esi, dword [esi]
cmp dword [esi - 0xc], ebx
je 0x45c58c
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
push eax
mov dword [ebp - 0xc0], eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
je 0x45c57f
lea eax, [esi + 2]
push eax
call fcn.0047125f
add esp, 4
lea ecx, [esi + 2]
push ecx
push ebx
push eax
mov dword [ebp - 0xc4], eax
call fcn.00479dd0
mov ecx, dword [ebp - 0xc0]
add esp, 0xc
push ebx
lea eax, [ebp - 0xd8]
push eax
push esi
mov esi, dword [ebp - 0xc4]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x45c593
push esi
call fcn.00472958
add esp, 4
mov edx, dword [ebp - 0xc0]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x45c743
mov eax, dword [0x4c41fc]
mov edx, dword [eax + 0xc]
mov ecx, 0x4c41fc
call edx
add eax, 0x10
mov dword [ebp - 0xd4], eax
mov edx, esi
mov dword [ebp - 4], ebx
lea esi, [ebp - 0xd4]
mov dword [ebp - 0xc8], ebx
call fcn.00429690
mov dword [ebp - 4], 1
mov eax, dword [0x4c41fc]
mov edx, dword [eax + 0xc]
mov ecx, 0x4c41fc
call edx
add eax, 0x10
mov dword [ebp - 0xbc], eax
mov eax, esi
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xd0], ebx
call fcn.00429770
test al, al
je 0x45c6cb
mov ecx, dword [ebp - 0xbc]
push ecx
push str.read_cache_line__s
call fcn.004261a0
mov eax, dword [ebp - 0xbc]
add esp, 8
push 3
push eax
lea ecx, [ebp - 0xb8]
lea edx, [ebp - 0xb4]
push ecx
mov dword [ebp - 0xb8], edx
call fcn.00403aa0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xb8]
mov eax, ecx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x45c651
sub eax, esi
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00403b70
lea edx, [ebp - 0x2c]
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.0045c9c0
mov byte [eax], 1
cmp dword [ebp - 0x18], 0x10
jb 0x45c687
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00472958
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xb8]
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp eax, ecx
je 0x45c6b1
push eax
call fcn.00473a61
add esp, 4
lea edx, [ebp - 0xd4]
push edx
lea ecx, [ebp - 0xbc]
call fcn.00429770
test al, al
jne 0x45c600
mov eax, dword [ebp - 0xc4]
push eax
call fcn.00472958
mov ecx, dword [ebp - 0xc0]
add esp, 4
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xbc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45c70d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp - 0xd4]
mov dword [ebp - 4], 0xffffffff
call fcn.00429620
mov eax, dword [ebp - 0xd4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c741
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
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.00474985
mov esp, ebp
pop ebp
ret