Function at 0x62abf8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
lea ebx, [ebp - 0x10]
xor eax, eax
push ebp
push 0x62af53
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00650ca0
mov dword [ebp - 0x24], eax
push 0
lea edx, [ebp - 0x44]
mov eax, 0x14
call fcn.00624c34
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x24]
mov edx, 0x62af68
call fcn.006254a8
push 0
lea edx, [ebp - 0x44]
mov eax, 0x1c
call fcn.00624c34
lea eax, [ebp - 0x44]
mov edx, 0x62af74
call fcn.00403ac4
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x24]
mov edx, 0x62af68
call fcn.006254a8
mov eax, dword [ebp - 0x24]
mov esi, dword [eax + 0x24]
dec esi
test esi, esi
jl 0x62ade8
inc esi
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov edx, dword [edx + 0x18]
mov ecx, dword [ebp - 0x30]
mov edx, dword [edx + ecx*4]
call fcn.004038bc
mov ecx, 1
mov edx, 0x80000000
mov eax, dword [ebp - 0x20]
call fcn.0065c53c
mov dword [ebp - 0x14], eax
push 0
lea eax, [ebp - 4]
push eax
push 0xc
push ebx
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x62acf2
cmp word [ebx], 0x100
jne 0x62acd7
cmp word [ebx + 2], 0
je 0x62ace6
cmp word [ebx], 0x544f
jne 0x62acf2
cmp word [ebx + 2], 0x4f54
jne 0x62acf2
push ebp
call fcn.0062a8a0
pop ecx
jmp 0x62add5
mov edi, ebx
cmp dword [edi], 0x66637474
jne 0x62add5
mov eax, dword [edi + 8]
call fcn.0062a874
dec eax
shl eax, 2
add eax, 0x10
mov edi, eax
mov eax, edi
call fcn.00401e58
mov dword [ebp - 0x28], eax
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_SetFilePointer
push 0
lea eax, [ebp - 4]
push eax
push edi
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x62adcd
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
call fcn.0062a874
dec eax
mov edx, dword [ebp - 0x40]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x40]
mov edi, dword [eax + 8]
test edi, edi
jl 0x62adcd
inc edi
mov dword [ebp - 0x34], 0
push 0
push 0
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x34]
mov eax, dword [eax + edx*4 + 0xc]
call fcn.0062a874
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_SetFilePointer
push 0
lea eax, [ebp - 4]
push eax
push 0xc
push ebx
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x62adc7
cmp word [ebx], 0x100
jne 0x62adb1
cmp word [ebx + 2], 0
je 0x62adc0
cmp word [ebx], 0x544f
jne 0x62adc7
cmp word [ebx + 2], 0x4f54
jne 0x62adc7
push ebp
call fcn.0062a8a0
pop ecx
inc dword [ebp - 0x34]
dec edi
jne 0x62ad70
mov eax, dword [ebp - 0x28]
call fcn.00401fac
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle
inc dword [ebp - 0x30]
dec esi
jne 0x62ac8a
mov eax, dword [ebp - 0x18]
call fcn.00654594
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x24]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jl 0x62af23
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
jmp 0x62ae0f
dec dword [ebp - 0x34]
cmp dword [ebp - 0x34], 0
jle 0x62ae37
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0x30]
mov eax, dword [eax + edx*4]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 0x18]
mov ecx, dword [ebp - 0x34]
mov edx, dword [edx + ecx*4 - 4]
call fcn.00657744
test eax, eax
je 0x62ae0c
mov al, byte [0x62afa8]
mov byte [ebp - 0x29], al
mov ebx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
sub esi, ebx
jl 0x62ae6d
inc esi
mov edx, ebx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x18]
cmp al, 7
ja 0x62ae69
and eax, 0x7f
bts dword [ebp - 0x29], eax
inc ebx
dec esi
jne 0x62ae4a
mov dword [ebp - 0x38], 0x80000000
mov dword [ebp - 0x3c], 0x7fffffff
mov ebx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
sub esi, ebx
jl 0x62aec8
inc esi
mov edx, ebx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x18]
and eax, 0xff
cmp eax, dword [ebp - 0x3c]
jge 0x62aec4
mov edx, ebx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x18]
and eax, 0xff
mov dword [ebp - 0x3c], eax
inc ebx
dec esi
jne 0x62ae86
xor ebx, ebx
mov eax, ebx
cmp eax, 7
ja 0x62aed5
bt dword [ebp - 0x29], eax
jb 0x62af0c
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x24]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0x30]
mov ecx, dword [eax + edx*4]
mov edx, dword [ebp - 0x30]
inc edx
mov eax, dword [ebp - 0x18]
call fcn.00653378
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0x38]
mov edx, dword [eax + edx*4]
mov ecx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.00652c78
inc ebx
cmp ebx, 4
jne 0x62aeca
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x62ae04
mov dl, 1
mov eax, dword [ebp - 0x18]
call fcn.0065379c
mov eax, dword [ebp - 0x24]
call fcn.004028c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62af5a
lea eax, [ebp - 0x44]
call fcn.00403880
lea eax, [ebp - 0x20]
call fcn.00403880
ret