Function at 0x44b650
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c240
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x430
push ebx
push esi
mov eax, dword [ebp + 8]
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
push esi
push 0x80
mov edi, 1
push 3
push esi
push edi
push 0x80000000
push eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [ebp + 8], ebx
jne 0x44b6b8
lea ecx, [ebp - 0x38]
push 0x48d780
push ecx
mov dword [ebp - 0x38], esi
call sub.MSVCRT.dll__CxxThrowException
lea edx, [ebp - 0x18]
push esi
push edx
lea eax, [ebp - 0x43c]
push 0x200
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x18], 0x200
je 0x44b6ea
lea ecx, [ebp - 0x30]
push 0x48d780
push ecx
mov dword [ebp - 0x30], edi
call sub.MSVCRT.dll__CxxThrowException
lea edx, [ebp - 0x13c]
lea eax, [ebp - 0x43c]
push edx
push 0x10
push str.ALCORFLASHCFG_SZReserved
push 0x100
push eax
call fcn.0044b8d0
add esp, 0x14
lea ecx, [ebp - 0x23c]
lea edx, [ebp - 0x13c]
lea eax, [ebp - 0x33c]
push ecx
push 0x100
push edx
push 0x100
push eax
call fcn.0044b8d0
add esp, 0x14
mov ecx, 4
mov edi, str.ALCORFLASHCFG_SZReserved
lea esi, [ebp - 0x23c]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x44b75e
lea eax, [ebp - 0x2c]
push 0x48d780
push eax
mov dword [ebp - 0x2c], 2
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [ebp - 0x218]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x214]
cmp ecx, edx
mov edi, eax
je 0x44b788
lea edx, [ebp - 0x20]
push 0x48d780
push edx
mov dword [ebp - 0x20], 3
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov esi, dword [ebp - 0x210]
add edx, ecx
cmp edx, esi
jbe 0x44b7af
lea eax, [ebp - 0x34]
push 0x48d780
push eax
mov dword [ebp - 0x34], 4
call sub.MSVCRT.dll__CxxThrowException
imul eax, ecx
add eax, 0x200
push 0
push 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x44b7dd
lea ecx, [ebp - 0x24]
push 0x48d780
push ecx
mov dword [ebp - 0x24], 1
call sub.MSVCRT.dll__CxxThrowException
mov esi, edi
imul esi, dword [ebp + 0x18]
push esi
call sub.MFC42.DLL_operatornew
add esp, 4
lea edx, [ebp - 0x18]
mov ebx, eax
mov eax, dword [ebp + 8]
push 0
push edx
push esi
push ebx
push eax
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x18], esi
je 0x44b81d
lea ecx, [ebp - 0x28]
push 0x48d780
push ecx
mov dword [ebp - 0x28], 1
call sub.MSVCRT.dll__CxxThrowException
xor esi, esi
cmp esi, dword [ebp + 0x18]
jae 0x44b88e
mov edx, dword [ebp + 0x14]
mov ecx, esi
imul ecx, edi
lea eax, [esi + edx]
mov byte [ebp - 0x13c], al
not al
mov byte [ebp - 0x3d], al
mov eax, dword [ebp + 0x10]
lea edx, [ecx + eax]
lea eax, [ebp - 0x13c]
push edx
push 0x100
push eax
add ecx, ebx
push edi
push ecx
call fcn.0044b8d0
add esp, 0x14
inc esi
jmp 0x44b81f
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0xffffffff
je 0x44b8a4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x44b8b1
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret