Function at 0x4b7e70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581a05
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x732480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x10]
mov esi, dword [edx + 0xc]
mov dword [ebp - 0x20], esi
test eax, eax
jl 0x4b8020
mov ebx, dword [ebp + 0xc]
jg 0x4b8020
test ebx, ebx
jb 0x4b8020
test eax, eax
jne 0x4b8020
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
cmp dword [edx + 0x60], eax
je 0x4b7fc7
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 0xd], 1
push dword [edx + 0x60]
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [ebp + 8]
add eax, esi
push 1
push eax
call fcn.00560276
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
push dword [eax + 0x60]
call fcn.0055f2ed
mov cl, byte [ebp - 0xd]
mov edx, eax
mov eax, dword [ebp - 0x18]
add esp, 0x14
test edx, edx
setne byte [ebp - 0xe]
test cl, cl
je 0x4b7f22
test edx, edx
je 0x4b7f22
test eax, eax
je 0x4b7f5a
add esi, eax
adc edi, 0
test edx, edx
jne 0x4b7f74
test eax, eax
jne 0x4b7f47
call fcn.0055eb76
mov cl, byte [ebp - 0xd]
mov dword [ebp - 0x18], edi
mov byte [ebp - 0xd], cl
cmp dword [eax], 4
jne 0x4b7f74
mov edx, dword [ebp - 0x14]
jmp 0x4b7ee2
cmp edi, dword [ebp + 0x10]
jg 0x4b7f74
jl 0x4b7f52
cmp esi, ebx
jae 0x4b7f74
mov edx, dword [ebp - 0x14]
mov byte [ebp - 0xd], cl
jmp 0x4b7ee2
mov ebx, dword [ebp - 0x14]
push dword [ebx + 0x60]
call fcn.0055d077
push 0
push edx
push eax
push dword [ebx + 0x60]
call fcn.0056069a
add esp, 0x14
mov dl, byte [ebp - 0xe]
mov eax, esi
mov ecx, edi
test dl, dl
jne 0x4b7faf
or eax, ecx
jne 0x4b7faf
or esi, 0xffffffff
lea eax, [ebp + 0x10]
push esi
push eax
or edi, esi
call fcn.004b9a80
add esp, 8
mov ecx, dword [ebp - 0x20]
push eax
push 1
mov dword [ebp - 4], 1
call fcn.004b6de0
lea ecx, [ebp + 0x10]
call fcn.00406190
mov eax, esi
mov edx, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [edx + 0x78], 0xffffffff
je 0x4b7f83
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov ecx, ebx
sub ecx, esi
sbb eax, edi
mov eax, 0x7fffffff
jne 0x4b7fe8
jb 0x4b7fe6
cmp ecx, eax
jae 0x4b7fe8
mov eax, ecx
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
push dword [edx + 0x78]
call fcn.00560eaf
mov ecx, eax
add esp, 0xc
test ecx, ecx
jle 0x4b8015
cdq
add esi, eax
mov eax, dword [ebp + 0x10]
adc edi, edx
mov edx, dword [ebp - 0x14]
cmp edi, eax
jl 0x4b7fd3
jg 0x4b8015
cmp esi, ebx
jb 0x4b7fd3
cmp ecx, 0xffffffff
setne dl
jmp 0x4b7f77
lea eax, [ebp + 8]
push 0x16
push eax
call fcn.004b9a80
add esp, 8
push eax
push 1
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.004b6de0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
je 0x4b805f
cmp eax, 0xffffffff
je 0x4b806e
mov eax, dword [ebp + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4b806e
push 4
push 2
push dword [ebp + 8]
call fcn.00425140
add esp, 0xc
or eax, 0xffffffff
or edx, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc