Function at 0x5625c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov ebx, dword [esp + 0x60]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x78]
mov ebp, dword [ebx + 0x1c]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x74]
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x68]
test ebp, ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
je 0x562966
lea eax, [esi + 1]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp + 0x20], eax
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [esp + 0x20]
mov byte [ecx + esi], 0
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], str.Event_at__I64d___I64d:__s
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 4], 6
mov dword [esp + 0xc], edx
mov eax, dword [ebx + 0x4c]
mov dword [esp], eax
call fcn.00573d10
mov edx, dword [ebx + 8]
cmp edx, dword [ebx + 0xc]
jg 0x562a0f
je 0x562940
mov eax, dword [ebx + 0x14]
lea ecx, [edx + 1]
imul edx, edx, 0x38
mov dword [ebx + 8], ecx
lea edi, [eax + edx]
test edi, 1
mov dword [esp + 0x28], edx
mov edx, 0x38
jne 0x5629a1
test edi, 2
jne 0x5629ae
mov ecx, edx
xor eax, eax
shr ecx, 2
test dl, 2
rep stosd dword es:[edi], eax
jne 0x5628c0
and edx, 1
jne 0x5628b8
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
add ecx, dword [ebx + 0x14]
mov dword [esp + 0x24], ecx
movzx esi, byte [eax]
mov edx, esi
cmp dl, 9
jne 0x5629be
mov eax, dword [esp + 0x20]
add eax, 1
movzx edx, byte [eax]
cmp dl, 9
je 0x5626e2
cmp dl, 0x20
je 0x5626e2
mov esi, edx
mov edi, edx
mov ecx, esi
test cl, cl
je 0x562864
mov edx, esi
mov ecx, eax
cmp dl, 0x2c
jne 0x562714
jmp 0x562721
test dl, dl
je 0x56271f
add ecx, 1
movzx edx, byte [ecx]
cmp dl, 0x2c
jne 0x562710
mov edi, edx
mov edx, edi
mov esi, ecx
test dl, dl
jne 0x5628d3
lea edx, [ecx - 1]
mov edi, eax
cmp edx, eax
jb 0x562759
movzx ecx, byte [ecx - 1]
cmp cl, 0x20
je 0x562750
jmp 0x5629de
movzx ecx, byte [edx]
cmp cl, 9
jne 0x562900
sub edx, 1
cmp edx, eax
jae 0x562744
mov edi, eax
test eax, eax
mov byte [edi], 0
je 0x5629ce
mov dword [esp], eax
call sub.msvcrt.dll_atoi
mov ebp, dword [ebx + 8]
mov edx, dword [esp + 0x24]
sub ebp, 1
test ebp, ebp
mov dword [edx + 0x10], eax
jle 0x5627a6
mov ecx, dword [ebx + 0x14]
cmp eax, dword [ecx + 0x10]
mov dword [esp + 0x2c], ecx
je 0x5629f0
xor edx, edx
jmp 0x56279f
mov edi, dword [ecx + 0x48]
add ecx, 0x38
cmp eax, edi
je 0x562858
add edx, 1
cmp edx, ebp
jl 0x562791
movzx ecx, byte [esi]
cmp cl, 9
jne 0x5629ff
add esi, 1
movzx ecx, byte [esi]
cmp cl, 9
je 0x5627b2
cmp cl, 0x20
je 0x5627b2
mov eax, ecx
test cl, cl
je 0x5629ce
cmp cl, 0x2c
mov edx, esi
jne 0x5628e8
test al, al
mov edi, edx
jne 0x562915
lea eax, [edx - 1]
mov ecx, esi
cmp eax, esi
jb 0x56280d
movzx edx, byte [edx - 1]
cmp dl, 9
je 0x562804
jmp 0x562990
movzx edx, byte [eax]
cmp dl, 9
jne 0x562990
sub eax, 1
cmp eax, esi
jae 0x5627f8
mov ecx, esi
test esi, esi
mov byte [ecx], 0
je 0x562930
mov dword [esp], esi
call sub.msvcrt.dll_atoi
mov edx, dword [esp + 0x24]
mov ecx, edi
mov dword [edx + 0x14], eax
mov eax, ebx
mov dword [esp], 3
call fcn.0055ff80
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [ecx], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
jmp 0x5628a4
mov edx, dword [esp + 0x2c]
add edx, dword [esp + 0x28]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x1c]
mov dword [esp], eax
call fcn.008f2ba8
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x2c]
mov dword [esp], eax
call fcn.008f2ba8
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x30]
mov dword [esp], eax
call fcn.008f2ba8
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x34]
mov dword [esp], eax
call fcn.008f2ba8
sub dword [ebx + 8], 1
mov eax, dword [esp + 0x20]
mov dword [esp + 0x60], eax
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.008f2ba8
mov byte [edi], 0
jmp 0x5626c1
mov word [edi], 0
add edi, 2
and edx, 1
je 0x5626c1
jmp 0x5628b8
mov byte [ecx], 0
lea esi, [ecx + 1]
jmp 0x56272d
test al, al
je 0x5627d7
add edx, 1
movzx eax, byte [edx]
cmp al, 0x2c
jne 0x5628e0
test al, al
mov edi, edx
je 0x5627e1
jmp 0x562915
cmp cl, 0x20
je 0x562750
lea edi, [edx + 1]
lea esi, [esi]
jmp 0x562759
lea eax, [edx - 1]
mov ecx, esi
cmp eax, esi
mov byte [edx], 0
lea edi, [edx + 1]
jae 0x5627ea
jmp 0x56280d
mov eax, dword [esp + 0x28]
add eax, dword [ebx + 0x14]
mov dword [esp + 0x24], eax
jmp 0x562864
add edx, 0xc8
mov dword [ebx + 0xc], edx
imul edx, edx, 0x38
mov dword [esp + 4], edx
mov eax, dword [ebx + 0x14]
mov dword [esp], eax
call sub.msvcrt.dll_realloc
mov edx, dword [ebx + 8]
mov dword [ebx + 0x14], eax
jmp 0x562679
mov dword [esp + 0x68], str.Event_format_header_missing
mov dword [esp + 0x64], 2
mov eax, dword [ebx + 0x4c]
mov dword [esp + 0x60], eax
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00573d10
cmp dl, 0x20
lea ecx, [eax + 1]
je 0x562804
jmp 0x56280d
mov byte [edi], 0
mov dl, 0x37
add edi, 1
jmp 0x56269a
mov word [edi], 0
sub edx, 2
add edi, 2
jmp 0x5626a6
cmp dl, 0x20
mov edi, esi
je 0x5626de
jmp 0x5626f6
mov ecx, dword [esp + 0x28]
add ecx, dword [ebx + 0x14]
mov dword [esp + 0x24], ecx
jmp 0x562864
cmp cl, 9
je 0x562750
jmp 0x562909
mov eax, dword [esp + 0x28]
add eax, ecx
mov dword [esp + 0x24], eax
jmp 0x562864
cmp cl, 0x20
mov eax, ecx
je 0x5627b2
jmp 0x5627c4
mov dword [esp + 8], 0x75
mov dword [esp + 4], str.libass_ass.c
mov dword [esp], str.track__n_events___track__max_events
call sub.msvcrt.dll__assert
nop
lea esi, [esi]
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebp, dword [esp + 0x30]
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x562a93
mov eax, dword [ebp + 8]
test eax, eax
jle 0x562a8c
xor edi, edi
xor esi, esi
jmp 0x562a53
mov ebx, dword [ebp + 0x14]
add ebx, edi
add esi, 1
mov eax, dword [ebx + 0x1c]
add edi, 0x38
mov dword [esp], eax
call fcn.008f2ba8
mov eax, dword [ebx + 0x2c]
mov dword [esp], eax
call fcn.008f2ba8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call fcn.008f2ba8
mov eax, dword [ebx + 0x34]
mov dword [esp], eax
call fcn.008f2ba8
cmp dword [ebp + 8], esi
jg 0x562a50
mov dword [ebp + 8], 0
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret