Function at 0x47a990
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x70]
push esi
mov dword [ebp - 0xc], esi
call fcn.0047ba70
push esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
call fcn.00500897
push esi
mov ebx, eax
mov dword [ebp - 0x14], edx
call fcn.0047ba70
mov esi, dword [edi + 0x54]
add esp, 0xc
sub esi, 1
mov dword [ebp - 0x10], eax
js 0x47a9ec
mov ecx, dword [edi]
lea ecx, [ecx + esi*4]
mov eax, dword [ecx]
mov edi, dword [ebp - 0x10]
cmp dword [eax + 8], edi
mov edi, dword [ebp + 8]
jne 0x47a9e4
cmp dword [eax + 0xc], edx
je 0x47aa0d
sub ecx, 4
sub esi, 1
jns 0x47a9d2
add ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
adc eax, dword [ebp - 0x18]
push 0
push eax
push ebx
push dword [ebp - 0xc]
call fcn.00500299
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x47a9ec
push dword [ebp - 0xc]
mov dword [edi + 0x58], esi
call fcn.004f857f
push dword [ebp - 0xc]
movzx eax, al
cdq
mov ecx, edx
shld ecx, eax, 8
shl eax, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
call fcn.004f857f
push dword [ebp - 0xc]
movzx eax, al
cdq
add dword [ebp - 4], eax
adc dword [ebp - 8], edx
call fcn.004f857f
push dword [ebp - 0xc]
call fcn.00500897
add ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
adc ecx, dword [ebp - 0x18]
sub ebx, eax
mov dword [ebp - 0x1c], ebx
sbb ecx, edx
mov dword [ebp - 0x14], ecx
lea eax, [ebx + 1]
push eax
call fcn.004f6757
push dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
push ebx
push 1
push eax
call fcn.004f7782
mov eax, dword [ebp - 0x10]
push 0x28
mov byte [eax + ebx], 0
mov ecx, dword [edi]
mov esi, dword [ecx + esi*4]
mov dword [ebp - 0x18], esi
call fcn.004f6757
mov ebx, eax
add esp, 0x28
mov eax, dword [ebp - 4]
add eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
adc eax, dword [ebp + 0x10]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov ecx, dword [str.S_DVBSUB]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x24], ebx
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x47aaf0
test dl, dl
je 0x47aaec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x47aaf0
add eax, 2
add ecx, 2
test dl, dl
jne 0x47aad0
xor eax, eax
jmp 0x47aaf5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x47abf5
push dword [edi + 4]
call fcn.00479650
mov esi, dword [ebp + 8]
mov edi, eax
push dword [esi + 4]
call fcn.00479470
mov esi, eax
add esp, 8
mov eax, 0x10624dd3
imul dword [0x5c6dd0]
push dword [ebp - 8]
sar edx, 6
push dword [ebp - 4]
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
push edx
push eax
call fcn.004f01d0
push edx
push eax
push dword [esi + 0xf4]
call fcn.0045bb90
mov eax, dword [ebp + 8]
add eax, 8
push eax
mov eax, dword [ebp - 0x1c]
push eax
push dword [ebp - 0x10]
push esi
push edi
call fcn.00470d60
push dword [ebp - 0x10]
mov esi, eax
call fcn.004f6752
mov ecx, dword [edi + 0x4a0]
add esp, 0x24
test esi, esi
js 0x47abb9
test ecx, ecx
je 0x47abb9
mov dword [ebx], ecx
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47ab80
mov esi, dword [ebp - 0x18]
sub ecx, edx
mov edi, dword [ebp + 8]
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 8]
mov dword [ebx + 0xc], 0
mov eax, dword [esi + 0x20]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x24]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 4]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], ecx
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
jmp 0x47ac12
push ebx
call fcn.004f6752
add esp, 4
test esi, esi
jns 0x47abdd
push esi
push str.Return_from_dvbsub_decode:__d_n
call fcn.0048f060
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [eax + 0x20], ecx
mov ecx, dword [ebp - 8]
mov dword [eax + 0x24], ecx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebx], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x47ac25
push 4
call fcn.004f6757
add esp, 4
jmp 0x47ac38
lea eax, [eax*4 + 4]
push eax
push dword [esi + 0x2c]
call fcn.004f6762
add esp, 8
mov ecx, dword [esi + 0x28]
push 0
mov dword [esi + 0x2c], eax
push 0x3e8
mov dword [eax + ecx*4], ebx
inc dword [esi + 0x28]
push dword [ebx + 0x14]
push dword [ebx + 0x10]
call fcn.004f0210
mov esi, dword [edi + 0x6c]
mov ecx, dword [edi + 0x68]
cmp esi, edx
jb 0x47ac66
ja 0x47ac6a
cmp ecx, eax
ja 0x47ac6a
mov ecx, eax
mov esi, edx
push dword [ebp - 0xc]
mov dword [edi + 0x68], ecx
mov dword [edi + 0x6c], esi
call fcn.00500897
add esp, 4
mov edi, eax
mov eax, dword [ebp + 8]
mov esi, edx
push ebx
push 0
push 0x3c
push dword [eax + 0x6c]
push dword [eax + 0x68]
call fcn.004f0a60
mov dword [ebp - 0x1c], ebx
pop ebx
push ecx
push eax
push 0
push 0x64
push esi
push edi
mov dword [ebp - 0x1c], edx
call fcn.004f01d0
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
push dword [ecx + 0xc]
push dword [ecx + 8]
push edx
push eax
call fcn.004f0210
push eax
call fcn.00456430
mov eax, dword [ebp - 0x24]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret