Function at 0xa826b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
xor edi, edi
neg ecx
sbb edi, edx
mov dword [esp + 0x1c], eax
jl 0xa82706
jmp 0xa826f1
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
jmp 0xa828e3
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x38], 0
je 0xa82742
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, dword [ebp + 8]
mov esi, esp
mov dword [esi + 8], ecx
mov dword [esi + 4], eax
mov dword [esi], edx
mov ecx, dword [esp + 0x1c]
call fcn.00a83570
sub esp, 0xc
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], eax
jmp 0xa828e3
xor eax, eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x38], ecx
movsd xmm0, qword [esp + 0x40]
movsd qword [esp + 0x30], xmm0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
call fcn.00a83a50
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x2c]
jae 0xa827e8
lea eax, [esp + 0x38]
mov dword [esp], eax
lea eax, [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.00a84790
mov eax, dword [eax]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
call fcn.00a83af0
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 8], eax
call fcn.00a83aa0
mov ecx, dword [esp + 0x28]
add ecx, dword [ebp + 8]
mov dword [ebp + 8], ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
sub edx, ecx
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov dword [esp], edx
mov dword [esp + 0x10], eax
call fcn.00a83b10
sub esp, 4
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x4c], 0
je 0xa828ca
mov ecx, dword [esp + 0x1c]
call fcn.00a81c70
mov dword [esp + 0x24], 0xfff
mov eax, 0xfff
cmp eax, dword [esp + 0x38]
jae 0xa82889
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x4c]
mov edx, dword [ebp + 8]
mov dword [esp], edx
mov dword [esp + 4], 1
mov dword [esp + 8], 0xfff
mov dword [esp + 0xc], ecx
call fcn.00a97304
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
add eax, dword [ebp + 8]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
sub ecx, eax
mov dword [esp + 0x38], ecx
cmp dword [esp + 0x20], 0xfff
je 0xa82884
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
sub eax, edx
sbb ecx, 0
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
jmp 0xa828e3
jmp 0xa82807
xor eax, eax
cmp eax, dword [esp + 0x38]
jae 0xa828c5
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x4c]
mov edx, dword [esp + 0x38]
mov esi, dword [ebp + 8]
mov dword [esp], esi
mov dword [esp + 4], 1
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.00a97304
mov ecx, dword [esp + 0x38]
sub ecx, eax
mov dword [esp + 0x38], ecx
jmp 0xa828ca
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
sub eax, edx
sbb ecx, 0
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret 0xc