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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6048ee
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6f1550]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [esi + 0x2e0]
push eax
lea ecx, [esp + 0xd8]
call fcn.00519410
mov eax, dword [esi + 0x2e0]
cmp eax, ebx
je 0x4ec7a7
push 1
push 0x18538067
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xe0]
call fcn.00519ff0
mov ebp, eax
mov eax, dword [esi + 0x2d4]
cmp eax, dword [ebp]
lea edi, [esi + 0x2d4]
mov dword [esp + 0x128], ebx
mov dword [esp + 0x1c], 1
jne 0x4ec75f
cmp edi, ebp
je 0x4ec772
mov dword [ebp], ebx
jmp 0x4ec772
push eax
call fcn.0059b05f
mov dword [edi], ebx
mov eax, dword [ebp]
mov dword [ebp], ebx
add esp, 4
mov dword [edi], eax
cmp dword [edi], ebx
je 0x4ec7a7
mov edi, dword [edi]
push 1
push 0x1f43b675
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call fcn.00519ff0
push eax
lea ecx, [esi + 0x2d8]
mov dword [esp + 0x20], 3
call fcn.004e5ba0
cmp dword [eax], ebx
mov byte [esp + 0x1b], bl
jne 0x4ec7ac
mov byte [esp + 0x1b], 1
test byte [esp + 0x1c], 2
je 0x4ec7c9
mov edx, dword [esp + 0x20]
and dword [esp + 0x1c], 0xfffffffd
push edx
call fcn.0059b05f
add esp, 4
mov dword [esp + 0x20], ebx
test byte [esp + 0x1c], 1
mov dword [esp + 0x128], 0xffffffff
je 0x4ec7e8
mov eax, dword [esp + 0x24]
push eax
call fcn.0059b05f
add esp, 4
cmp byte [esp + 0x1b], bl
je 0x4ec807
xor al, al
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x2e0]
mov dword [esi + 0x328], ebx
mov dword [esi + 0x32c], ebx
cmp byte [eax + 0x29], bl
je 0x4ecb9f
cmp dword [eax + 0x1e0], ebx
jne 0x4ecb9f
fldz
mov dword [esi + 0x1d8], ebx
mov dword [esi + 0x1dc], ebx
fstp qword [eax + 0x158]
mov byte [eax + 0x160], 1
mov eax, dword [esi + 0x2e0]
lea ecx, [eax + 0xe8]
call fcn.00518c70
push 0x18
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
call fcn.0059b02f
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4ec881
push 0xa
mov ecx, edi
call fcn.004dc130
mov dword [esp + 0x1c], edi
jmp 0x4ec885
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x128], 1
mov ebp, vtable.MatroskaReader::CUInt.0
push 0xa
lea ecx, [esp + 0xa8]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x70], bl
mov dword [esp + 0x60], ebp
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov byte [esp + 0x88], bl
mov dword [esp + 0x78], ebp
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov byte [esp + 0xa0], bl
mov dword [esp + 0x90], ebp
call fcn.004dc130
push 0xa
lea ecx, [esp + 0xc0]
call fcn.004dc130
mov eax, dword [esi + 0x2d8]
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x12c], 2
call fcn.0051a850
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov edi, dword [esi + 0x2e0]
mov ecx, eax
and eax, 0x7fffffff
and ecx, 0x80000000
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x224]
mov dword [esp + 0x4c], edx
fild qword [esp + 0x4c]
mov dword [esp + 0x48], ecx
mov ecx, dword [edi + 0x220]
push ebx
mov dword [esp + 0x48], ebx
fild qword [esp + 0x48]
push 0x2710
push eax
push ecx
fchs
faddp st(1)
call fcn.005bf9a0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
fild qword [esp + 0x3c]
push 0x30
mov byte [edi + 0x160], 1
fsubp st(1)
fstp qword [edi + 0x158]
call fcn.0059b02f
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4ec9aa
lea ecx, [edi + 0x18]
push 0xa
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov byte [edi + 0x10], bl
mov dword [edi], ebp
call fcn.004dc130
mov ebp, edi
jmp 0x4ec9ac
xor ebp, ebp
mov dword [esp + 0x28], ebp
push 0x78
mov byte [esp + 0x12c], 3
call fcn.0059b02f
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4eca0a
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov byte [edi + 0x10], bl
mov eax, vtable.MatroskaReader::CUInt.0
mov dword [edi], eax
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov byte [edi + 0x28], bl
mov dword [edi + 0x18], eax
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
mov byte [edi + 0x40], bl
mov dword [edi + 0x30], eax
lea ecx, [edi + 0x60]
push 0xa
mov dword [edi + 0x50], ebx
mov dword [edi + 0x54], ebx
mov byte [edi + 0x58], bl
mov dword [edi + 0x48], eax
call fcn.004dc130
mov eax, edi
jmp 0x4eca0c
xor eax, eax
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x64]
mov dword [ebp + 8], edx
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x2c]
mov dword [ebp + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov byte [ebp + 0x10], 1
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov byte [eax + 0x10], 1
mov edx, dword [esi + 0x2d8]
mov ecx, dword [edx + 0x38]
mov edi, dword [esi + 0x2d4]
sub ecx, dword [edi + 0x40]
mov edx, dword [edx + 0x3c]
sbb edx, dword [edi + 0x44]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
lea edx, [esp + 0x20]
push edx
lea ecx, [ebp + 0x18]
mov byte [esp + 0x12c], 4
mov byte [eax + 0x28], 1
call fcn.004eb3e0
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x28]
push eax
call fcn.004eb3e0
mov edi, dword [esi + 0x2e0]
mov ecx, edi
call fcn.00514620
push ebx
push 0x64
push edx
push eax
call fcn.005bf960
push ebx
mov ecx, edi
mov ebp, eax
mov dword [esp + 0x5c], edx
call fcn.00514860
mov ecx, dword [esp + 0x58]
push edx
push eax
push ecx
push ebp
call fcn.005bf9a0
mov dword [esi + 0x1dc], edx
lea edx, [esp + 0x38]
lea edi, [esi + 0x90]
push edx
mov ecx, edi
mov dword [esi + 0x1d8], eax
call fcn.00481f60
test eax, eax
je 0x4ecae4
cmp dword [esp + 0x38], ebx
jne 0x4ecadc
mov byte [esi + 0x1e0], 1
jmp 0x4ecae4
push ebx
mov ecx, edi
call fcn.00481f90
mov edi, dword [esp + 0x20]
cmp edi, ebx
je 0x4ecafd
lea ecx, [edi + 0x60]
call fcn.004e7fe0
push edi
call fcn.0059b05f
add esp, 4
mov edi, dword [esp + 0x28]
cmp edi, ebx
je 0x4ecb16
lea ecx, [edi + 0x18]
call fcn.004eb5a0
push edi
call fcn.0059b05f
add esp, 4
lea ecx, [esp + 0xbc]
mov byte [esp + 0x128], 1
call fcn.004eb750
lea ecx, [esp + 0xa4]
call fcn.004eb8d0
cmp byte [esi + 0x1e0], bl
jne 0x4ecb53
mov ecx, dword [esi + 0x2d8]
push 1
call fcn.00519ac0
test al, al
jne 0x4ec898
cmp byte [esi + 0x1e0], bl
mov dword [esi + 0x1d8], 0x64
mov dword [esi + 0x1dc], ebx
jne 0x4ecb81
mov ecx, dword [esi + 0x2e0]
lea eax, [esp + 0x24]
push eax
add ecx, 0x1d8
call fcn.004eb3e0
mov edi, dword [esp + 0x24]
cmp edi, ebx
mov byte [esi + 0x1e0], bl
je 0x4ecb9f
mov ecx, edi
call fcn.004ec680
push edi
call fcn.0059b05f
add esp, 4
mov ecx, dword [esi + 0x2d8]
push ecx
call fcn.0059b05f
mov dword [esi + 0x2d8], ebx
mov edx, dword [esi + 0x2dc]
push edx
call fcn.0059b05f
add esp, 8
mov dword [esi + 0x2dc], ebx
mov al, 1
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret