Function at 0x60ba60
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 0x62bc47
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x188
mov eax, dword [0x6c4490]
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 esi, ecx
mov dword [ebp - 0x180], esi
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov dword [ebp - 0x184], ecx
mov ecx, dword [ebx + 0x14]
push eax
mov dword [ebp - 0x188], ecx
call fcn.0060b910
mov ecx, dword [esi]
add esp, 4
mov edi, 1
mov esi, ecx
mov edx, dword [ecx + 4]
cmp byte [edx + 0xd], 0
jne 0x60baf4
lea ecx, [ecx]
cmp dword [edx + 0x10], eax
jae 0x60baea
mov edx, dword [edx + 8]
jmp 0x60baee
mov esi, edx
mov edx, dword [edx]
cmp byte [edx + 0xd], 0
je 0x60bae0
cmp esi, ecx
je 0x60bb03
mov dword [ebp - 0x17c], esi
cmp eax, dword [esi + 0x10]
jae 0x60bb09
mov dword [ebp - 0x17c], ecx
lea esi, [ebp - 0x17c]
mov esi, dword [esi]
cmp esi, ecx
je 0x60bd99
mov edi, dword [esi + 0x20]
cmp edi, dword [esi + 0x24]
jne 0x60bc2f
mov eax, dword [ebp - 0x180]
cmp dword [ebx + 0x10], edi
push 0
cmovb edi, dword [ebx + 0x10]
push 0
push dword [esi + 0x1c]
mov dword [ebp - 0x17c], edi
push dword [esi + 0x18]
push dword [eax + 0x10c]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push 0
lea eax, [ebp - 0x198]
push eax
mov eax, dword [ebp - 0x180]
push edi
push dword [ebp - 0x184]
push dword [eax + 0x10c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x180]
mov dword [ebp - 4], 0
lea eax, [ecx + 0x48]
push eax
lea eax, [ecx + 8]
push 0x20
push eax
lea ecx, [ebp - 0x178]
call fcn.0060b2f0
mov eax, dword [ebp - 0x184]
lea ecx, [ebp - 0x174]
push edi
push eax
push eax
mov byte [ebp - 4], 1
call fcn.004f1500
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 2
call fcn.0060b5e0
lea eax, [ebp - 0x128]
neg eax
lea ecx, [ebp - 0x128]
and eax, 0xf
add eax, ecx
mov ecx, dword [ebp - 0x24]
cmp ecx, eax
jne 0x60bbe2
mov edi, ecx
xor eax, eax
mov ecx, dword [ebp - 0x28]
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x17c]
cmp edi, dword [esi + 0x20]
jne 0x60bc04
push 0xdedaeac
push edi
push dword [ebp - 0x184]
call fcn.00619410
add esp, 0xc
cmp eax, dword [esi + 0x28]
jne 0x60bd50
mov eax, dword [ebp - 0x188]
test eax, eax
je 0x60bd97
mov dword [eax], edi
jmp 0x60bd97
mov eax, dword [esi + 0x24]
lea ecx, [ebp - 0x194]
add eax, edi
push eax
call fcn.0060b460
mov eax, dword [ebp - 0x180]
push 0
push 0
push dword [esi + 0x1c]
mov dword [ebp - 4], 4
push dword [esi + 0x18]
push dword [eax + 0x10c]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov edi, dword [ebp - 0x194]
lea eax, [ebp - 0x19c]
push 0
push eax
push dword [esi + 0x20]
mov eax, dword [ebp - 0x180]
push edi
push dword [eax + 0x10c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x180]
mov byte [ebp - 4], 5
lea eax, [ecx + 0x48]
push eax
lea eax, [ecx + 8]
push 0x20
push eax
lea ecx, [ebp - 0x178]
call fcn.0060b2f0
push dword [esi + 0x20]
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 6
push edi
push edi
call fcn.004f1500
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 7
call fcn.0060b5e0
lea eax, [ebp - 0x128]
neg eax
lea ecx, [ebp - 0x128]
and eax, 0xf
add eax, ecx
mov ecx, dword [ebp - 0x24]
cmp ecx, eax
jne 0x60bcf3
mov edi, ecx
xor eax, eax
mov ecx, dword [ebp - 0x28]
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x194]
mov eax, dword [esi + 0x20]
push dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
add eax, edi
push eax
push edi
mov dword [ebp - 0x17c], ecx
call fcn.006191c0
mov ecx, dword [ebp - 0x17c]
add esp, 0xc
cmp eax, ecx
je 0x60bd2c
test edi, edi
je 0x60bd25
push edi
call fcn.004ec310
add esp, 4
mov eax, 6
jmp 0x60bd9b
push 0xdedaeac
push dword [esi + 0x24]
lea eax, [edi + ecx]
push eax
call fcn.00619410
add esp, 0xc
cmp eax, dword [esi + 0x28]
je 0x60bd57
lea ecx, [ebp - 0x194]
call fcn.0045c790
mov eax, 2
jmp 0x60bd9b
mov eax, dword [esi + 0x24]
cmp dword [ebx + 0x10], eax
cmovb eax, dword [ebx + 0x10]
push eax
mov eax, dword [esi + 0x20]
add eax, edi
push eax
push dword [ebp - 0x184]
call fcn.005e3ed0
mov edx, dword [ebp - 0x188]
add esp, 0xc
test edx, edx
je 0x60bd8c
mov eax, dword [esi + 0x24]
cmp dword [ebx + 0x10], eax
cmovb eax, dword [ebx + 0x10]
mov dword [edx], eax
lea ecx, [ebp - 0x194]
call fcn.0045c790
xor edi, edi
mov eax, edi
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.005dfa14
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10