Function at 0x42e4f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x62d330]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x6c], 0
push 0x601710
push edx
mov dword [ebp - 0x60], esi
call fcn.005761cd
mov ebx, eax
add esp, 8
mov dword [ebp - 0x3c], ebx
test ebx, ebx
jne 0x42e552
push eax
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], eax
push 0x6009b2
mov byte [esi], al
call fcn.00404be0
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005743c4
mov esp, ebp
pop ebp
ret
push 2
push 0
push 0
push ebx
call fcn.005761e2
push ebx
call fcn.00576319
push 0
push 0
mov edi, edx
mov dword [ebp - 0x4c], eax
push 0
push ebx
mov dword [ebp - 0x50], edi
call fcn.005761e2
push 0xc800
call fcn.0044ea2d
xor ebx, ebx
add esp, 0x28
mov dword [ebp - 0x48], ebx
mov esi, eax
mov dword [ebp - 0x40], esi
test edi, edi
jg 0x42e60b
jl 0x42e5a0
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xfa000
ja 0x42e60e
push dword [ebp - 0x3c]
xor esi, esi
xor edi, edi
push 0xc800
push 1
push dword [ebp - 0x40]
call fcn.0057692e
mov edx, eax
add esp, 0x10
xor ecx, ecx
mov dword [ebp - 0x44], edx
cmp edx, 2
jl 0x42e5ea
mov ebx, dword [ebp - 0x40]
lea eax, [edx - 1]
mov dword [ebp - 0x50], eax
mov edx, eax
movzx eax, byte [ebx + ecx]
add esi, eax
movzx eax, byte [ebx + ecx + 1]
add ecx, 2
add edi, eax
cmp ecx, edx
jl 0x42e5d0
mov ebx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
cmp ecx, edx
jge 0x42e5f7
mov eax, dword [ebp - 0x40]
movzx eax, byte [ecx + eax]
add ebx, eax
lea eax, [esi + edi]
add ebx, eax
mov dword [ebp - 0x48], ebx
test edx, edx
jg 0x42e5a0
mov esi, dword [ebp - 0x40]
jmp 0x42e77d
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
xor edi, edi
sub ecx, 0x19000
push edi
push 0x12
sbb eax, edi
push eax
push ecx
call fcn.0057b220
push dword [ebp - 0x3c]
mov dword [ebp - 0x58], eax
push 0xc800
push 1
push esi
mov dword [ebp - 8], edx
call fcn.0057692e
add esp, 0x10
mov dword [ebp - 0x54], eax
xor ecx, ecx
cmp eax, 2
jl 0x42e66b
dec eax
xor edx, edx
mov dword [ebp - 0x44], eax
mov ebx, eax
movzx eax, byte [esi + ecx]
add edi, eax
movzx eax, byte [esi + ecx + 1]
add ecx, 2
add edx, eax
cmp ecx, ebx
jl 0x42e650
mov eax, dword [ebp - 0x54]
xor ebx, ebx
jmp 0x42e66d
xor edx, edx
cmp ecx, eax
jge 0x42e675
movzx ebx, byte [ecx + esi]
lea eax, [edi + edx]
mov dword [ebp - 0x44], 0x12
add ebx, eax
mov eax, 0xc800
xor ecx, ecx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x54], ecx
xor edi, edi
push edi
push ecx
push eax
push dword [ebp - 0x3c]
call fcn.005761e2
push dword [ebp - 0x3c]
push 0xc800
push 1
push esi
call fcn.0057692e
add esp, 0x20
mov dword [ebp - 0x64], eax
xor ecx, ecx
cmp eax, 2
jl 0x42e6df
dec eax
mov edx, ecx
mov dword [ebp - 0x68], eax
mov ebx, eax
movzx eax, byte [esi + ecx]
add edi, eax
movzx eax, byte [esi + ecx + 1]
add ecx, 2
add edx, eax
cmp ecx, ebx
jl 0x42e6c3
mov ebx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x64]
jmp 0x42e6e1
xor edx, edx
cmp ecx, eax
jge 0x42e6eb
movzx eax, byte [ecx + esi]
add ebx, eax
mov ecx, dword [ebp - 0x54]
lea eax, [edi + edx]
add ebx, eax
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x58]
mov dword [ebp - 0x48], ebx
adc ecx, dword [ebp - 8]
dec dword [ebp - 0x44]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x54], ecx
jne 0x42e691
mov eax, dword [ebp - 0x4c]
xor edi, edi
mov ecx, dword [ebp - 0x50]
sub eax, 0xc800
push edi
sbb ecx, edi
push ecx
push eax
push dword [ebp - 0x3c]
call fcn.005761e2
push dword [ebp - 0x3c]
push 0xc800
push 1
push esi
call fcn.0057692e
add esp, 0x20
mov dword [ebp - 0x58], eax
xor ecx, ecx
cmp eax, 2
jl 0x42e76c
dec eax
xor edx, edx
mov dword [ebp - 8], eax
mov ebx, eax
lea esp, [esp]
movzx eax, byte [esi + ecx]
add edi, eax
movzx eax, byte [esi + ecx + 1]
add ecx, 2
add edx, eax
cmp ecx, ebx
jl 0x42e750
mov ebx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x58]
jmp 0x42e76e
xor edx, edx
cmp ecx, eax
jge 0x42e778
movzx eax, byte [ecx + esi]
add ebx, eax
lea eax, [edi + edx]
add ebx, eax
push dword [ebp - 0x3c]
call fcn.00576a46
push esi
call fcn.0044ea28
mov eax, dword [ebp - 0x4c]
lea edi, [ebp - 0x20]
add esp, 8
mov dword [ebp - 8], ebx
lea eax, [eax + eax*2]
add eax, 0x1d7
shl eax, 2
xor esi, esi
mov dword [ebp - 0xc], eax
jmp 0x42e7b0
movzx eax, byte [ebp + esi - 0xc]
push eax
push 0x601714
push 3
push edi
call fcn.00574ccc
inc esi
add esp, 0x10
add edi, 2
cmp esi, 8
jl 0x42e7b0
cmp byte [ebp - 0x20], 0
mov byte [ebp - 0x10], 0
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
jne 0x42e7ef
xor ecx, ecx
jmp 0x42e7fe
lea ecx, [ebp - 0x20]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42e7f5
sub ecx, edx
push ecx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x38]
call fcn.00404be0
mov ebx, dword [ebp - 0x60]
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jae 0x42e840
mov eax, dword [ebp - 0x28]
inc eax
je 0x42e845
push eax
lea eax, [ebp - 0x38]
push eax
push ebx
call fcn.005745c0
mov ecx, dword [ebp - 0x24]
add esp, 0xc
jmp 0x42e845
mov eax, dword [ebp - 0x38]
mov dword [ebx], eax
mov eax, dword [ebp - 0x28]
mov dword [ebx + 0x14], ecx
mov ecx, dword [ebp - 4]
pop edi
mov dword [ebx + 0x10], eax
xor ecx, ebp
pop esi
mov eax, ebx
pop ebx
call fcn.005743c4
mov esp, ebp
pop ebp
ret