Function at 0x42f2e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58c227
mov eax, dword fs:[0]
push eax
mov eax, 0x2024
call fcn.00552760
mov eax, dword [0x5f0a00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2030], edi
mov dword [ebp - 0x202c], 0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
cmp dword [eax + 0x14], 7
mov dword [ebp - 4], 0
mov dword [ebp - 0x202c], 1
mov dword [ebp - 0x2018], 0
jbe 0x42f36f
mov eax, dword [eax]
push 0x59b4ec
push eax
lea eax, [ebp - 0x2018]
push eax
call fcn.00562bae
mov esi, dword [ebp - 0x2018]
add esp, 0xc
test esi, esi
je 0x42f578
push 0x2000
lea eax, [ebp - 0x2010]
push 0
push eax
call fcn.00557d70
add esp, 0xc
nop dword [eax + eax]
push esi
push 0x2000
lea eax, [ebp - 0x2010]
push 1
push eax
call fcn.0056ab04
mov edx, dword [edi + 0x14]
mov esi, eax
mov ecx, dword [edi + 0x10]
mov eax, edx
sub eax, ecx
mov dword [ebp - 0x2014], esi
add esp, 0x10
mov dword [ebp - 0x201c], ecx
mov dword [ebp - 0x2024], edx
cmp esi, eax
ja 0x42f422
lea eax, [ecx + esi]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x42f3f8
mov eax, dword [edi]
push dword [ebp - 0x2014]
lea esi, [eax + ecx]
lea eax, [ebp - 0x2010]
push eax
push esi
call fcn.005577f0
mov eax, dword [ebp - 0x2014]
add esp, 0xc
mov byte [esi + eax], 0
mov esi, eax
jmp 0x42f55b
mov eax, SysReAllocString
sub eax, ecx
cmp eax, esi
jb 0x42f595
lea eax, [ecx + esi]
mov ecx, eax
mov dword [ebp - 0x2020], eax
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0x42f44e
mov ecx, SysReAllocString
jmp 0x42f47b
mov eax, edx
shr eax, 1
mov dword [ebp - 0x2014], eax
mov eax, SysReAllocString
sub eax, dword [ebp - 0x2014]
cmp edx, eax
jbe 0x42f46e
mov ecx, SysReAllocString
jmp 0x42f47b
mov eax, dword [ebp - 0x2014]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 0x2014]
mov dword [ebp - 0x2014], ecx
push eax
push edi
call fcn.0040b600
mov ecx, dword [ebp - 0x201c]
mov edx, eax
mov eax, dword [ebp - 0x2020]
add esp, 8
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x2014]
mov dword [edi + 0x14], eax
lea eax, [edx + ecx]
mov dword [ebp - 0x201c], eax
add eax, esi
cmp dword [ebp - 0x2024], 0xf
mov dword [ebp - 0x2028], edx
mov dword [ebp - 0x2020], eax
push ecx
jbe 0x42f52d
mov eax, dword [edi]
push eax
push edx
mov dword [ebp - 0x2014], eax
call fcn.005577f0
push esi
lea eax, [ebp - 0x2010]
push eax
push dword [ebp - 0x201c]
call fcn.005577f0
mov eax, dword [ebp - 0x2020]
add esp, 0x18
mov ecx, dword [ebp - 0x2024]
inc ecx
mov byte [eax], 0
mov eax, dword [ebp - 0x2014]
cmp ecx, 0x1000
jb 0x42f521
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f59a
mov eax, edx
push ecx
push eax
call fcn.0055241f
add esp, 8
jmp 0x42f553
push edi
push edx
call fcn.005577f0
push esi
lea eax, [ebp - 0x2010]
push eax
push dword [ebp - 0x201c]
call fcn.005577f0
mov eax, dword [ebp - 0x2020]
add esp, 0x18
mov byte [eax], 0
mov eax, dword [ebp - 0x2028]
mov dword [edi], eax
test esi, esi
jle 0x42f56a
mov esi, dword [ebp - 0x2018]
jmp 0x42f3b0
push dword [ebp - 0x2018]
call fcn.00562da0
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00551e44
mov esp, ebp
pop ebp
ret
call fcn.0040c990
call fcn.0055bf8b
int3