Function at 0x61fc20
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c9cc6
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x300
mov eax, dword [0x772a40]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x2e4], edi
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov dword [ebp - 0x2ec], ecx
mov ecx, dword [ebx + 0x14]
push eax
mov dword [ebp - 0x2f0], ecx
call fcn.0061fab0
add esp, 4
mov dword [ebp - 0x2e8], eax
lea eax, [ebp - 0x2e8]
mov ecx, edi
push eax
lea eax, [ebp - 0x300]
push eax
call fcn.0054a880
mov esi, dword [ebp - 0x2f8]
cmp byte [esi + 0xd], 0
jne 0x620049
mov eax, dword [ebp - 0x2e8]
cmp eax, dword [esi + 0x10]
jb 0x620049
cmp esi, dword [edi]
je 0x620049
mov edi, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
cmp edi, eax
jne 0x61fda7
mov eax, dword [ebp - 0x2e4]
cmp dword [ebx + 0x10], edi
push 0
cmovb edi, dword [ebx + 0x10]
push 0
push dword [esi + 0x1c]
push dword [esi + 0x18]
push dword [eax + 0x8c]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push 0
lea eax, [ebp - 0x2f4]
push eax
mov eax, dword [ebp - 0x2e4]
push edi
push dword [ebp - 0x2ec]
push dword [eax + 0x8c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x2e4]
mov dword [ebp - 4], 0
lea eax, [ecx + 0x28]
push eax
lea eax, [ecx + 8]
push 0x20
push eax
lea ecx, [ebp - 0x180]
call fcn.0061eeb0
mov eax, dword [ebp - 0x2ec]
lea ecx, [ebp - 0x17c]
push edi
push eax
push eax
mov byte [ebp - 4], 1
call fcn.0062ed30
lea ecx, [ebp - 0x180]
call fcn.0061f100
cmp edi, dword [esi + 0x20]
jne 0x61fd87
push 0xfed0c
push edi
push dword [ebp - 0x2ec]
call fcn.00694c00
add esp, 0xc
cmp eax, dword [esi + 0x28]
jne 0x61ff86
mov eax, dword [ebp - 0x2f0]
test eax, eax
je 0x61fff9
mov dword [eax], edi
xor eax, eax
jmp 0x62004e
lea ecx, [eax + edi]
xor esi, esi
xor eax, eax
mov dword [ebp - 0x2f4], ecx
xor edi, edi
mov dword [ebp - 0x2e8], eax
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0x308], eax
mov dword [ebp - 0x304], edi
test ecx, ecx
je 0x61fe45
cmp ecx, 0x7fffffff
ja 0x62006e
cmp ecx, 0x1000
jb 0x61fe0d
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x620073
push eax
call fcn.00616d3f
add esp, 4
test eax, eax
je 0x620078
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x61fe18
push ecx
call fcn.00616d3f
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x2f4]
push eax
push 0
push esi
lea edi, [esi + eax]
mov dword [ebp - 0x2e8], esi
mov dword [ebp - 0x30c], esi
mov dword [ebp - 0x304], edi
call fcn.00650120
add esp, 0xc
mov dword [ebp - 0x308], edi
mov eax, dword [ebp - 0x2f8]
push 0
push 0
mov dword [ebp - 4], 3
push dword [eax + 0x1c]
push dword [eax + 0x18]
mov eax, dword [ebp - 0x2e4]
push dword [eax + 0x8c]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push 0
lea eax, [ebp - 0x310]
push eax
mov eax, dword [ebp - 0x2f8]
push dword [eax + 0x20]
mov eax, dword [ebp - 0x2e4]
push esi
push dword [eax + 0x8c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x2e4]
mov byte [ebp - 4], 4
lea eax, [ecx + 0x28]
push eax
lea eax, [ecx + 8]
push 0x20
push eax
lea ecx, [ebp - 0x2e0]
call fcn.0061eeb0
mov eax, dword [ebp - 0x2f8]
lea ecx, [ebp - 0x2dc]
mov byte [ebp - 4], 5
push dword [eax + 0x20]
push esi
push esi
call fcn.0062ed30
lea ecx, [ebp - 0x2e0]
call fcn.0061f100
mov ecx, dword [ebp - 0x2f8]
mov eax, dword [ecx + 0x20]
push dword [ecx + 0x24]
add eax, esi
push eax
push dword [ebp - 0x2e8]
call fcn.006949e0
mov ecx, dword [ebp - 0x2f8]
add esp, 0xc
mov edx, dword [ecx + 0x20]
cmp eax, edx
je 0x61ff39
test esi, esi
je 0x61ff2f
sub edi, esi
cmp edi, 0x1000
jb 0x61ff25
mov ecx, dword [esi - 4]
add edi, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x620078
mov esi, ecx
push edi
push esi
call fcn.00616d6f
add esp, 8
mov eax, 6
jmp 0x62004e
push 0xfed0c
push dword [ecx + 0x24]
lea eax, [esi + edx]
push eax
call fcn.00694c00
mov ecx, dword [ebp - 0x2f8]
add esp, 0xc
cmp eax, dword [ecx + 0x28]
je 0x61ff90
test esi, esi
je 0x61ff86
sub edi, esi
cmp edi, 0x1000
jb 0x61ff7c
mov ecx, dword [esi - 4]
add edi, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x620078
mov esi, ecx
push edi
push esi
call fcn.00616d6f
add esp, 8
mov eax, 2
jmp 0x62004e
mov eax, dword [ecx + 0x24]
cmp dword [ebx + 0x10], eax
cmovb eax, dword [ebx + 0x10]
push eax
mov eax, dword [ecx + 0x20]
add eax, esi
push eax
push dword [ebp - 0x2ec]
call fcn.0064fba0
mov edx, dword [ebp - 0x2f0]
add esp, 0xc
test edx, edx
je 0x61ffcb
mov eax, dword [ebp - 0x2f8]
mov eax, dword [eax + 0x24]
cmp dword [ebx + 0x10], eax
cmovb eax, dword [ebx + 0x10]
mov dword [edx], eax
test esi, esi
je 0x61fff9
sub edi, esi
cmp edi, 0x1000
jb 0x61ffef
mov ecx, dword [esi - 4]
add edi, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x620078
mov esi, ecx
push edi
push esi
call fcn.00616d6f
add esp, 8
xor eax, eax
jmp 0x62004e
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00616d7d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.00450260
call fcn.0043d5c0
call fcn.0065aebf
int3