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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x621b1e
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7161c0]
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.0052a630
mov eax, dword [esi + 0x2e0]
cmp eax, ebx
je 0x4fd777
push 1
push 0x18538067
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xe0]
call fcn.0052b250
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 0x4fd72f
cmp edi, ebp
je 0x4fd742
mov dword [ebp], ebx
jmp 0x4fd742
push eax
call fcn.005b465e
mov dword [edi], ebx
mov eax, dword [ebp]
mov dword [ebp], ebx
add esp, 4
mov dword [edi], eax
cmp dword [edi], ebx
je 0x4fd777
mov edi, dword [edi]
push 1
push 0x1f43b675
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call fcn.0052b250
push eax
lea ecx, [esi + 0x2d8]
mov dword [esp + 0x20], 3
call fcn.004dec20
cmp dword [eax], ebx
mov byte [esp + 0x1b], bl
jne 0x4fd77c
mov byte [esp + 0x1b], 1
test byte [esp + 0x1c], 2
je 0x4fd799
mov edx, dword [esp + 0x20]
and dword [esp + 0x1c], 0xfffffffd
push edx
call fcn.005b465e
add esp, 4
mov dword [esp + 0x20], ebx
test byte [esp + 0x1c], 1
mov dword [esp + 0x128], 0xffffffff
je 0x4fd7b8
mov eax, dword [esp + 0x24]
push eax
call fcn.005b465e
add esp, 4
cmp byte [esp + 0x1b], bl
je 0x4fd7d7
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 0x4fdb2c
cmp dword [eax + 0x1e0], ebx
jne 0x4fdb2c
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.00529e70
push 0x18
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
call fcn.005b4633
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4fd84d
push 0xa
mov ecx, edi
call fcn.0041a810
jmp 0x4fd84f
xor edi, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edi
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.0041a810
push 0xa
lea ecx, [esp + 0xc0]
call fcn.0041a810
mov eax, dword [esi + 0x2d8]
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x12c], 2
call fcn.0052bb50
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov edi, dword [esi + 0x2e0]
mov edx, dword [edi + 0x224]
mov dword [esp + 0x4c], ecx
mov ecx, eax
and eax, 0x7fffffff
mov dword [esp + 0x50], eax
fild qword [esp + 0x4c]
mov eax, dword [edi + 0x220]
and ecx, 0x80000000
push ebx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], ebx
fild qword [esp + 0x48]
push 0x2710
push edx
push eax
fchs
faddp st(1)
call fcn.005da540
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.005b4633
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4fd972
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.0041a810
jmp 0x4fd974
xor edi, edi
mov dword [esp + 0x24], edi
push 0x78
mov byte [esp + 0x12c], 3
call fcn.005b4633
add esp, 4
cmp eax, ebx
je 0x4fd997
mov ecx, eax
call fcn.004f9040
jmp 0x4fd999
xor eax, eax
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x64]
mov dword [edi + 8], ecx
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0xc], edx
mov edx, dword [esp + 0x30]
mov byte [edi + 0x10], 1
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov byte [eax + 0x10], 1
mov edx, dword [esi + 0x2d8]
mov ecx, dword [edx + 0x38]
mov ebp, dword [esi + 0x2d4]
sub ecx, dword [ebp + 0x40]
mov edx, dword [edx + 0x3c]
sbb edx, dword [ebp + 0x44]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
mov byte [eax + 0x28], 1
lea eax, [esp + 0x28]
push eax
lea ecx, [edi + 0x18]
mov byte [esp + 0x12c], 4
call fcn.0052d5a0
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.0052d5a0
mov edi, dword [esi + 0x2e0]
mov ecx, edi
call fcn.00525740
push ebx
push 0x64
push edx
push eax
call fcn.005d9dc0
push ebx
mov ecx, edi
mov ebp, eax
mov dword [esp + 0x5c], edx
call fcn.00525980
push edx
mov edx, dword [esp + 0x5c]
push eax
push edx
push ebp
call fcn.005da540
mov dword [esi + 0x1d8], eax
lea eax, [esp + 0x38]
lea edi, [esi + 0x90]
push eax
mov ecx, edi
mov dword [esi + 0x1dc], edx
call fcn.00492990
test eax, eax
je 0x4fda71
cmp dword [esp + 0x38], ebx
jne 0x4fda69
mov byte [esi + 0x1e0], 1
jmp 0x4fda71
push ebx
mov ecx, edi
call fcn.004929c0
mov edi, dword [esp + 0x28]
cmp edi, ebx
je 0x4fda8a
lea ecx, [edi + 0x60]
call fcn.004f8c20
push edi
call fcn.005b465e
add esp, 4
mov edi, dword [esp + 0x24]
cmp edi, ebx
je 0x4fdaa3
lea ecx, [edi + 0x18]
call fcn.004fc570
push edi
call fcn.005b465e
add esp, 4
lea ecx, [esp + 0xbc]
mov byte [esp + 0x128], 1
call fcn.004fc720
lea ecx, [esp + 0xa4]
call fcn.004fc8a0
cmp byte [esi + 0x1e0], bl
jne 0x4fdae0
mov ecx, dword [esi + 0x2d8]
push 1
call fcn.0052acb0
test al, al
jne 0x4fd862
cmp byte [esi + 0x1e0], bl
mov dword [esi + 0x1d8], 0x64
mov dword [esi + 0x1dc], ebx
jne 0x4fdb0e
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esi + 0x2e0]
add ecx, 0x1d8
call fcn.0052d5a0
mov edi, dword [esp + 0x1c]
cmp edi, ebx
mov byte [esi + 0x1e0], bl
je 0x4fdb2c
mov ecx, edi
call fcn.004fd650
push edi
call fcn.005b465e
add esp, 4
mov edx, dword [esi + 0x2d8]
push edx
call fcn.005b465e
mov dword [esi + 0x2d8], ebx
mov eax, dword [esi + 0x2dc]
push eax
call fcn.005b465e
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