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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57d30e
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61c948]
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 + 0x300]
push eax
lea ecx, [esp + 0xd8]
call fcn.004b26e0
mov eax, dword [esi + 0x300]
cmp eax, ebx
je 0x4b1087
push 1
push 0x18538067
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xe0]
call fcn.004b31f0
mov ebp, eax
mov eax, dword [esi + 0x2f4]
cmp eax, dword [ebp]
lea edi, [esi + 0x2f4]
mov dword [esp + 0x128], ebx
mov dword [esp + 0x1c], 1
jne 0x4b103f
cmp edi, ebp
je 0x4b1052
mov dword [ebp], ebx
jmp 0x4b1052
push eax
call fcn.0044ff63
mov dword [edi], ebx
mov eax, dword [ebp]
mov dword [ebp], ebx
add esp, 4
mov dword [edi], eax
cmp dword [edi], ebx
je 0x4b1087
mov edi, dword [edi]
push 1
push 0x1f43b675
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call fcn.004b31f0
push eax
lea ecx, [esi + 0x2f8]
mov dword [esp + 0x20], 3
call fcn.004d0ce0
cmp dword [eax], ebx
mov byte [esp + 0x1b], bl
jne 0x4b108c
mov byte [esp + 0x1b], 1
test byte [esp + 0x1c], 2
je 0x4b10a9
mov edx, dword [esp + 0x20]
and dword [esp + 0x1c], 0xfffffffd
push edx
call fcn.0044ff63
add esp, 4
mov dword [esp + 0x20], ebx
test byte [esp + 0x1c], 1
mov dword [esp + 0x128], 0xffffffff
je 0x4b10c8
mov eax, dword [esp + 0x24]
push eax
call fcn.0044ff63
add esp, 4
cmp byte [esp + 0x1b], bl
je 0x4b10e7
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 + 0x300]
cmp dword [eax + 0x1e8], ebx
jne 0x4b1469
fldz
mov dword [esi + 0x1e0], ebx
mov dword [esi + 0x1e4], ebx
fstp qword [eax + 0x160]
mov byte [eax + 0x168], 1
mov eax, dword [esi + 0x300]
lea ecx, [eax + 0xe8]
call fcn.004b1c70
push 0x18
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
call fcn.0044ff38
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4b114c
push 0xa
mov ecx, edi
call fcn.004b82e0
mov dword [esp + 0x1c], edi
jmp 0x4b1150
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.004b82e0
push 0xa
lea ecx, [esp + 0xc0]
call fcn.004b82e0
mov eax, dword [esi + 0x2f8]
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x12c], 2
call fcn.004b3990
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov edi, dword [esi + 0x300]
mov ecx, eax
and eax, 0x7fffffff
and ecx, 0x80000000
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x22c]
mov dword [esp + 0x4c], edx
fild qword [esp + 0x4c]
mov dword [esp + 0x48], ecx
mov ecx, dword [edi + 0x228]
push ebx
mov dword [esp + 0x48], ebx
fild qword [esp + 0x48]
push 0x2710
push eax
push ecx
fchs
faddp st(1)
call fcn.004735c0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
fild qword [esp + 0x3c]
push 0x30
mov byte [edi + 0x168], 1
fsubp st(1)
fstp qword [edi + 0x160]
call fcn.0044ff38
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4b1275
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.004b82e0
mov ebp, edi
jmp 0x4b1277
xor ebp, ebp
mov dword [esp + 0x28], ebp
push 0x78
mov byte [esp + 0x12c], 3
call fcn.0044ff38
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4b12d5
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.004b82e0
mov eax, edi
jmp 0x4b12d7
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 + 0x2f8]
mov ecx, dword [edx + 0x38]
mov edi, dword [esi + 0x2f4]
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.004b5650
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x28]
push eax
call fcn.004b5650
mov edi, dword [esi + 0x300]
mov ecx, edi
call fcn.004c5590
push ebx
push 0x64
push edx
push eax
call fcn.00473670
mov ecx, edi
mov ebp, eax
mov dword [esp + 0x58], edx
call fcn.004c57a0
mov ecx, dword [esp + 0x58]
push edx
push eax
push ecx
push ebp
call fcn.004735c0
mov dword [esi + 0x1e4], edx
lea edx, [esp + 0x38]
lea edi, [esi + 0x98]
push edx
mov ecx, edi
mov dword [esi + 0x1e0], eax
call fcn.0044c4f0
test eax, eax
je 0x4b13ae
cmp dword [esp + 0x38], ebx
jne 0x4b13a6
mov byte [esi + 0x1e8], 1
jmp 0x4b13ae
push ebx
mov ecx, edi
call fcn.0044c520
mov edi, dword [esp + 0x20]
cmp edi, ebx
je 0x4b13c7
lea ecx, [edi + 0x60]
call fcn.004b20a0
push edi
call fcn.0044ff63
add esp, 4
mov edi, dword [esp + 0x28]
cmp edi, ebx
je 0x4b13e0
lea ecx, [edi + 0x18]
call fcn.004b0270
push edi
call fcn.0044ff63
add esp, 4
lea ecx, [esp + 0xbc]
mov byte [esp + 0x128], 1
call fcn.004b0260
lea ecx, [esp + 0xa4]
call fcn.004b0250
cmp byte [esi + 0x1e8], bl
jne 0x4b141d
mov ecx, dword [esi + 0x2f8]
push 1
call fcn.004b2d80
test al, al
jne 0x4b1163
cmp byte [esi + 0x1e8], bl
mov dword [esi + 0x1e0], 0x64
mov dword [esi + 0x1e4], ebx
jne 0x4b144b
mov ecx, dword [esi + 0x300]
lea eax, [esp + 0x24]
push eax
add ecx, 0x1e0
call fcn.004b5650
mov edi, dword [esp + 0x24]
cmp edi, ebx
mov byte [esi + 0x1e8], bl
je 0x4b1469
mov ecx, edi
call fcn.004b0f60
push edi
call fcn.0044ff63
add esp, 4
mov ecx, dword [esi + 0x2f8]
push ecx
call fcn.0044ff63
mov dword [esi + 0x2f8], ebx
mov edx, dword [esi + 0x2fc]
push edx
call fcn.0044ff63
add esp, 8
mov dword [esi + 0x2fc], 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