Function at 0x42bfa0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [esp + 0x20]
xor edx, edx
xor ebx, ebx
mov ecx, dword [edi + 0x24]
mov dword [esp + 0x18], ebx
mov eax, ecx
div dword [edi + 0xc]
mov edx, dword [edi + 8]
mov esi, eax
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x28]
sub esi, edx
test ecx, ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], eax
jbe 0x42c182
push ebp
mov ebp, dword [esp + 0x28]
jmp 0x42bfe3
mov esi, dword [esp + 0x18]
mov eax, dword [ebp + 4]
dec eax
mov dword [ebp + 4], eax
js 0x42bff9
mov ecx, dword [ebp]
xor eax, eax
mov al, byte [ecx]
inc ecx
mov dword [ebp], ecx
jmp 0x42c002
push ebp
call sub.MSVCRT.dll__filbuf
add esp, 4
test eax, eax
je 0x42c053
mov esi, eax
mov eax, dword [ebp + 4]
dec eax
mov dword [ebp + 4], eax
js 0x42c01e
mov ecx, dword [ebp]
xor eax, eax
mov al, byte [ecx]
inc ecx
mov dword [ebp], ecx
jmp 0x42c027
push ebp
call sub.MSVCRT.dll__filbuf
add esp, 4
mov edx, dword [esp + 0x10]
mov ecx, esi
lea edi, [edx + ebx]
mov bl, al
mov bh, bl
mov edx, ecx
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x1c]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x42c16c
mov eax, dword [ebp + 4]
dec eax
mov dword [ebp + 4], eax
js 0x42c069
mov ecx, dword [ebp]
xor eax, eax
mov al, byte [ecx]
inc ecx
mov dword [ebp], ecx
jmp 0x42c072
push ebp
call sub.MSVCRT.dll__filbuf
add esp, 4
cmp eax, 2
jle 0x42c0c1
mov edx, dword [edi + 0x24]
lea ecx, [ebx + eax]
cmp ecx, edx
push ebp
mov esi, eax
push 1
jne 0x42c09b
mov edx, dword [esp + 0x18]
push eax
add edx, ebx
push edx
call sub.MSVCRT.dll_fread
add esp, 0x10
jmp 0x42c170
mov ecx, eax
and ecx, 0x80000001
jns 0x42c0aa
dec ecx
or ecx, 0xfffffffe
inc ecx
mov edx, dword [esp + 0x18]
add ecx, eax
add edx, ebx
push ecx
push edx
call sub.MSVCRT.dll_fread
add esp, 0x10
jmp 0x42c170
jne 0x42c11b
mov eax, dword [ebp + 4]
dec eax
mov dword [ebp + 4], eax
js 0x42c0db
mov eax, dword [ebp]
xor ecx, ecx
mov cl, byte [eax]
inc eax
mov edi, ecx
mov dword [ebp], eax
jmp 0x42c0e6
push ebp
call sub.MSVCRT.dll__filbuf
add esp, 4
mov edi, eax
mov eax, dword [ebp + 4]
dec eax
mov dword [ebp + 4], eax
js 0x42c0fc
mov ecx, dword [ebp]
xor eax, eax
mov al, byte [ecx]
inc ecx
mov dword [ebp], ecx
jmp 0x42c105
push ebp
call sub.MSVCRT.dll__filbuf
add esp, 4
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
imul esi, eax
add esi, edi
xor eax, eax
mov ecx, esi
lea edi, [edx + ebx]
jmp 0x42c15e
test eax, eax
jne 0x42c14f
mov eax, dword [esp + 0x18]
xor edx, edx
add eax, ebx
div dword [esp + 0x14]
test edx, edx
je 0x42c170
mov eax, ebx
xor edx, edx
div dword [esp + 0x14]
mov esi, dword [edi + 8]
mov edi, dword [esp + 0x18]
sub esi, edx
mov edx, dword [esp + 0x10]
add esi, edi
xor eax, eax
mov ecx, esi
lea edi, [edx + ebx]
jmp 0x42c15e
test ebx, ebx
jne 0x42c170
mov ebx, dword [edi + 0x24]
mov edi, dword [esp + 0x10]
mov ecx, ebx
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x24]
add ebx, esi
cmp ebx, eax
mov dword [esp + 0x1c], ebx
jb 0x42bfdf
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret