Function at 0x4256b2
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
and dword [ebp - 4], 0
push ebx
push esi
mov esi, eax
push edi
test esi, esi
jne 0x4256cd
push 0xffffffffffffff9a
pop eax
jmp 0x4258d0
mov eax, dword [esi + 0x14]
add eax, dword [esi + 0xc]
push 0
push eax
push dword [esi]
call fcn.00453351
add esp, 0xc
or edi, 0xffffffff
test eax, eax
jne 0x4256f7
mov ebx, dword [esi]
lea eax, [ebp - 8]
push eax
call fcn.00425329
pop ecx
test eax, eax
je 0x4256fc
mov dword [ebp - 4], edi
jmp 0x42570c
cmp dword [ebp - 8], 0x2014b50
je 0x42570c
mov dword [ebp - 4], 0xffffff99
mov ebx, dword [esi]
lea eax, [ebp - 0x58]
push eax
call fcn.004252b1
pop ecx
test eax, eax
je 0x42571f
mov dword [ebp - 4], edi
mov ebx, dword [esi]
lea eax, [ebp - 0x54]
push eax
call fcn.004252b1
pop ecx
test eax, eax
je 0x425732
mov dword [ebp - 4], edi
mov ebx, dword [esi]
lea eax, [ebp - 0x50]
push eax
call fcn.004252b1
pop ecx
test eax, eax
je 0x425745
mov dword [ebp - 4], edi
mov ebx, dword [esi]
lea eax, [ebp - 0x4c]
push eax
call fcn.004252b1
pop ecx
test eax, eax
je 0x425758
mov dword [ebp - 4], edi
mov ebx, dword [esi]
lea eax, [ebp - 0x48]
push eax
call fcn.00425329
pop ecx
test eax, eax
je 0x42576b
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x48]
mov eax, ecx
shr eax, 0x10
mov edx, eax
and edx, 0x1f
mov ebx, dword [esi]
mov dword [ebp - 0x14], edx
mov edx, eax
shr eax, 9
and eax, 0x7f
add eax, 0x7bc
mov dword [ebp - 0xc], eax
mov eax, ecx
shr eax, 0xb
and eax, 0x1f
mov dword [ebp - 0x18], eax
mov eax, ecx
shr eax, 5
shr edx, 5
and eax, 0x3f
and edx, 0xf
mov dword [ebp - 0x1c], eax
and ecx, 0x1f
lea eax, [ebp - 0x44]
dec edx
add ecx, ecx
push eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], ecx
call fcn.00425329
pop ecx
test eax, eax
je 0x4257c6
mov dword [ebp - 4], edi
mov ebx, dword [esi]
lea eax, [ebp - 0x40]
push eax
call fcn.00425329
pop ecx
test eax, eax
je 0x4257d9
mov dword [ebp - 4], edi
mov ebx, dword [esi]
lea eax, [ebp - 0x3c]
push eax
call fcn.00425329
pop ecx
test eax, eax
je 0x4257ec
mov dword [ebp - 4], edi
mov ebx, dword [esi]
lea eax, [ebp - 0x38]
push eax
call fcn.004252b1
pop ecx
test eax, eax
je 0x4257ff
mov dword [ebp - 4], edi
mov ebx, dword [esi]
lea eax, [ebp - 0x34]
push eax
call fcn.004252b1
pop ecx
test eax, eax
je 0x425812
mov dword [ebp - 4], edi
mov ebx, dword [esi]
lea eax, [ebp - 0x30]
push eax
call fcn.004252b1
pop ecx
test eax, eax
je 0x425825
mov dword [ebp - 4], edi
mov ebx, dword [esi]
lea eax, [ebp - 0x2c]
push eax
call fcn.004252b1
pop ecx
test eax, eax
je 0x425838
mov dword [ebp - 4], edi
mov ebx, dword [esi]
lea eax, [ebp - 0x28]
push eax
call fcn.004252b1
pop ecx
test eax, eax
je 0x42584b
mov dword [ebp - 4], edi
mov ebx, dword [esi]
lea eax, [ebp - 0x24]
push eax
call fcn.00425329
pop ecx
test eax, eax
je 0x42585e
mov dword [ebp - 4], edi
mov ebx, dword [esi]
lea eax, [ebp - 8]
push eax
call fcn.00425329
pop ecx
test eax, eax
je 0x425871
mov dword [ebp - 4], edi
xor ebx, ebx
cmp dword [ebp - 4], ebx
jne 0x4258cd
mov edx, dword [ebp + 0x10]
cmp edx, ebx
je 0x4258b2
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp + 0x14]
jae 0x42588e
mov byte [eax + edx], bl
mov ecx, eax
jmp 0x425891
mov ecx, dword [ebp + 0x14]
cmp eax, ebx
jbe 0x4258b2
cmp dword [ebp + 0x14], ebx
jbe 0x4258b2
push dword [esi]
push 1
push ecx
push edx
call fcn.00452f9a
add esp, 0x10
cmp eax, 1
je 0x4258b2
mov dword [ebp - 4], edi
jmp 0x4258cd
mov edi, dword [ebp + 8]
cmp edi, ebx
je 0x4258c1
push 0x14
pop ecx
lea esi, [ebp - 0x58]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x4258cd
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret