Function at 0x4275d0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433d30
push 0x42980c
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov dword [ebp - 0x1c], ecx
cmp edx, 4
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
ja case.default.0x427602
jmp dword [edx*4 + 0x427870]
push 0
mov eax, dword [ebp + 8]
push 0
mov ecx, dword [ebp - 0x1c]
push eax
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x427848
push 0
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x427848
mov dword [ebp - 0x20], 1
jmp case.default.0x427602
cmp dword [0x446e5c], 0
je case.0x427602.1
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x28], 0
mov eax, dword [ebp + 8]
cdq
idiv dword [0x446e74]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], edx
cdq
idiv dword [0x446e74]
imul eax, dword [0x446e74]
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x24], eax
jle case.default.0x427602
mov ebx, dword [0x446e74]
sub ebx, dword [ebp - 0x2c]
cmp ebx, dword [ebp + 0xc]
jle 0x4276ad
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
call fcn.00427890
mov esi, eax
mov eax, dword [ebp - 0x24]
cmp dword [esi + 8], eax
je 0x4276f2
mov eax, dword [esi + 0xc]
mov ecx, dword [0x446e74]
push eax
mov edx, dword [ebp - 0x24]
push ecx
push edx
mov edx, 1
mov ecx, dword [ebp - 0x1c]
call fcn.004275d0
test eax, eax
je 0x427848
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
mov esi, dword [esi + 0xc]
mov edi, dword [ebp + 0x10]
add edi, dword [ebp - 0x28]
add esi, dword [ebp - 0x2c]
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x446e74]
sub dword [ebp + 0xc], ebx
add dword [ebp - 0x28], ebx
add dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], 0
cmp dword [ebp + 0xc], 0
jg 0x42769c
jmp case.default.0x427602
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ecx + 0x30]
mov edi, dword [ebp + 0x10]
add esi, dword [ebp + 8]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], 0xffffffff
jmp case.default.0x427602
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
mov eax, esi
sub edx, edx
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x28], 0
mov ecx, dword [ecx + 0x34]
div ecx
mov edi, edx
mov eax, esi
sub edx, edx
div ecx
imul eax, ecx
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x24], eax
jle case.default.0x427602
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ecx + 0x34]
sub ebx, edi
cmp ebx, dword [ebp + 0xc]
jle 0x4277d2
mov ebx, dword [ebp + 0xc]
push 0
mov eax, dword [ebp - 0x24]
push 0
mov ecx, dword [ebp - 0x1c]
push eax
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x427848
push 0
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x1c]
mov eax, dword [0x446e6c]
mov edx, dword [ecx + 0x34]
push edx
push eax
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x427848
mov esi, dword [0x446e6c]
mov ecx, ebx
shr ecx, 2
add esi, edi
mov edi, dword [ebp + 0x10]
add edi, dword [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
xor edi, edi
sub dword [ebp + 0xc], ebx
add eax, dword [ecx + 0x34]
add dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
cmp dword [ebp + 0xc], edi
jg 0x4277c2
jmp case.default.0x427602
mov ecx, 0xfffffff9
call fcn.00426570
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc