Function at 0x451040
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a4c0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x5caea4]
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, ecx
mov eax, dword [ebp + 8]
mov esi, dword [edi + 0x98]
mov edx, dword [edi + 0x9c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
add eax, 0xffffffb0
push 0
sub esi, eax
push 0
sbb edx, 0
push edx
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x4511b7
mov esi, dword [ebp - 0x18]
mov ecx, esi
push esi
push dword [ebp + 0xc]
call fcn.0044cab0
push 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [esi]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4510d1
cmp dword [ebp - 0x14], 0
je 0x4510d1
mov al, 1
jmp 0x45129c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x4c]
call fcn.0044ccb0
push eax
mov edx, 0x5beb54
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00452b10
mov esi, eax
add edi, 0x30
add esp, 4
cmp edi, esi
je 0x45112c
mov ecx, edi
call fcn.00448eb0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x451166
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45115c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4512b9
push edx
push ecx
call fcn.00518d68
add esp, 8
mov edx, dword [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
cmp edx, 8
jb 0x45129a
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x451290
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4512be
jmp 0x451290
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x64]
call fcn.0044ccb0
push 0x24
push str.Tail:_Cannot_set_file_pointer._Code
push ecx
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00452ee0
xor ecx, ecx
add edi, 0x30
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movups xmmword [ebp - 0x4c], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x4c]
movq qword [ebp - 0x1c], xmm0
movq qword [ebp - 0x3c], xmm0
cmp edi, eax
je 0x45122e
mov ecx, edi
call fcn.00448eb0
movups xmm0, xmmword [ebp - 0x2c]
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [edi + 0x10], xmm0
jmp 0x451264
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x451264
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45125a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4512c3
push edx
push ecx
call fcn.00518d68
add esp, 8
mov edx, dword [ebp - 0x50]
cmp edx, 8
jb 0x45129a
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x451290
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4512c8
push edx
push ecx
call fcn.00518d68
add esp, 8
xor al, al
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.00518b27
mov esp, ebp
pop ebp
ret 8
call fcn.005343f1
call fcn.005343f1
call fcn.005343f1
call fcn.005343f1
int3