Function at 0x44ffd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4acca0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x1fc], 0
je 0x4501c6
push 0
lea eax, [ebp - 0x14]
push eax
push 0xc
lea eax, [ebp - 0x10]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x4501dc
cmp dword [ebp - 0x14], 0xc
jne 0x4501dc
mov eax, dword [esi + 0x1fc]
mov edi, dword [ebp - 0x10]
cmp edi, dword [eax + 0x1c]
je 0x450083
mov dword [eax + 0x1c], edi
mov eax, dword [esi + 8]
push 0
push 0
push esi
mov eax, dword [eax + 0x38c]
call eax
mov ebx, dword [esi + 0x208]
test ebx, ebx
je 0x450083
mov edx, dword [esi + 0x1fc]
push 1
movsx eax, word [edx + 0x104]
lea ecx, [eax + eax*2]
mov eax, dword [edx + 0x108]
mov edx, dword [eax + ecx*8 + 8]
sub edx, dword [esi + 0x60]
sub edx, dword [eax + ecx*8]
mov ecx, 0
cmovns ecx, edx
xor eax, eax
test edi, edi
cmovns eax, edi
cmp eax, ecx
cmovle ecx, eax
push ecx
push 2
push ebx
call dword [sym.imp.USER32.dll_SetScrollPos]
mov eax, dword [esi + 0x1fc]
mov edi, dword [ebp - 0xc]
cmp edi, dword [eax + 0x20]
je 0x4500ef
mov dword [eax + 0x20], edi
mov eax, dword [esi + 8]
push 0
push 0
push esi
mov eax, dword [eax + 0x38c]
call eax
mov ebx, dword [esi + 0x20c]
test ebx, ebx
je 0x4500ef
mov edx, dword [esi + 0x1fc]
push 1
movsx eax, word [edx + 0x104]
lea ecx, [eax + eax*2]
mov eax, dword [edx + 0x108]
mov edx, dword [eax + ecx*8 + 0xc]
sub edx, dword [eax + ecx*8 + 4]
mov ecx, 0
sub edx, dword [esi + 0x64]
cmovns ecx, edx
xor eax, eax
test edi, edi
cmovns eax, edi
cmp eax, ecx
cmovle ecx, eax
push ecx
push 2
push ebx
call dword [sym.imp.USER32.dll_SetScrollPos]
mov ebx, dword [esi + 0x1fc]
mov ecx, ebx
mov edx, dword [ebp - 8]
push 5
push 0
call fcn.0045fbc0
add esp, 8
test eax, eax
je 0x4501c6
mov ecx, dword [esi + 0x23c]
test ecx, ecx
je 0x450120
call dword [sym.imp.MMFS2.dll_Ordinal_484]
jmp 0x45012b
mov eax, dword [esi + 8]
push dword [eax]
call dword [sym.imp.MMFS2.dll_Ordinal_28]
mov edi, eax
test edi, edi
je 0x4501af
mov ecx, ebx
mov dword [ebx + 0x38], edi
call fcn.0045fb20
mov ecx, ebx
call fcn.00460d20
push dword [ebx + 0x54]
push dword [ebx + 0x38]
call dword [sym.imp.GDI32.dll_SetROP2]
push dword [ebx + 0x58]
push dword [ebx + 0x38]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0x48]
push dword [ebx + 0x38]
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [ebx + 0x50]
push dword [ebx + 0x38]
call dword [sym.imp.GDI32.dll_SetBkColor]
push dword [ebx + 0x4c]
push dword [ebx + 0x38]
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [ebx + 0x44]
push dword [ebx + 0x38]
call dword [sym.imp.GDI32.dll_SetTextAlign]
mov dword [ebx + 0x38], 0
mov ecx, dword [esi + 0x23c]
push edi
test ecx, ecx
je 0x4501a4
call dword [sym.imp.MMFS2.dll_Ordinal_682]
jmp 0x4501af
mov eax, dword [esi + 8]
push dword [eax]
call dword [sym.imp.MMFS2.dll_Ordinal_30]
mov eax, dword [esi + 8]
push 0
push 0
push esi
mov eax, dword [eax + 0x38c]
call eax
or dword [esi + 0x200], 1
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004705b7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004705b7
mov esp, ebp
pop ebp
ret