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

Disassembly:
sub esp, 0x60
push ebx
mov ebx, dword [esp + 0x74]
push ebp
mov ebp, dword [esp + 0x74]
push esi
mov esi, dword [esp + 0x74]
push edi
mov ecx, dword [ebp]
mov dword [esi + 0xe4], ecx
mov dword [esi + 0xe8], 0xffffffff
cmp ecx, 0x40108
ja 0x4e4bd3
je 0x4e4bdb
test ecx, ecx
je 0x4e4bdb
cmp ecx, 0x30401
je 0x4e4bdb
mov eax, ecx
jmp 0x4e4c5f
cmp ecx, 0x40202
jne 0x4e4c4c
test ebx, ebx
je 0x4e4c4c
mov eax, dword [ebx]
cmp eax, 0x3030103
je 0x4e4c16
cmp eax, 0x303011b
je 0x4e4c16
push dword [ebp]
push eax
push str.Unsupported_filter__lx_for__lx
push 0xffffffffffffffff
push dword [esp + 0x84]
call fcn.004eda00
add esp, 0x14
mov eax, 0xffffffe7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov dword [esi + 0xe8], eax
mov dword [esi + 0x4cfc], 0
cmp dword [ebx], 0x3030103
jne 0x4e4c4c
mov dword [esi + 0x4d08], 0xffffffff
mov dword [esi + 0x4d0c], 0
mov dword [esi + 0x4d10], 5
mov eax, ecx
cmp eax, 0x303011b
ja 0x4e51bc
je 0x4e51f4
cmp eax, 0x30401
ja 0x4e5038
je 0x4e4f17
cmp eax, 0x21
ja 0x4e4c9c
je 0x4e4ca7
test eax, eax
je 0x4e51b2
cmp eax, 3
je 0x4e51f4
push ecx
push str.Unknown_codec_ID:__lX
push 0xffffffffffffffff
push dword [esp + 0x80]
jmp 0x4e5263
cmp eax, 0x30101
jne 0x4e521a
xor edi, edi
cmp dword [esi + 0x148], edi
je 0x4e4cc6
lea eax, [esi + 0xf0]
push eax
call fcn.004fa8c0
add esp, 4
mov dword [esi + 0x148], edi
test ebx, ebx
je 0x4e4e20
mov eax, dword [ebx]
mov dword [esi + 0xe8], eax
mov dword [esp + 0x38], edi
cmp eax, 0x3030401
ja 0x4e4dd2
je 0x4e4dc8
cmp eax, 0x303011b
ja 0x4e4db7
je 0x4e4daf
cmp eax, 3
je 0x4e4d47
cmp eax, 0x3030103
jne 0x4e4de7
cmp dword [esi + 0xe4], 0x21
jne 0x4e4d22
mov dword [esp + 0x30], 4
jmp 0x4e4e17
mov dword [esi + 0x4cfc], edi
mov dword [esi + 0x4d08], 0xffffffff
mov dword [esi + 0x4d0c], edi
mov dword [esi + 0x4d10], 5
jmp 0x4e4e20
cmp dword [ebx + 0x18], 1
jne 0x4e4d8f
cmp dword [ebx + 0x1c], edi
jne 0x4e4d8f
mov eax, dword [ebx + 0x20]
xorps xmm0, xmm0
mov dword [esp + 0x30], 3
mov dword [esp + 0x34], edi
movlpd qword [esp + 0x18], xmm0
movlpd qword [esp + 0x20], xmm0
movlpd qword [esp + 0x28], xmm0
mov dword [esp + 0x10], edi
movzx eax, byte [eax]
inc eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x38], eax
jmp 0x4e4e1b
push str.Invalid_Delta_parameter
push 0xffffffffffffffff
push dword [esp + 0x7c]
call fcn.004eda00
add esp, 0xc
mov eax, 0xffffffe7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov dword [esi + 0x4cfc], edi
jmp 0x4e4e20
cmp eax, 0x3030205
jne 0x4e4de7
mov dword [esp + 0x30], 5
jmp 0x4e4e17
mov dword [esp + 0x30], 6
jmp 0x4e4e17
cmp eax, 0x3030501
je 0x4e4e0f
cmp eax, 0x3030701
je 0x4e4e05
cmp eax, 0x3030805
je 0x4e4dfb
push eax
push str.Unexpected_codec_ID:__lX
push 0xffffffffffffffff
push dword [esp + 0x80]
jmp 0x4e5263
mov dword [esp + 0x30], 9
jmp 0x4e4e17
mov dword [esp + 0x30], 8
jmp 0x4e4e17
mov dword [esp + 0x30], 7
mov dword [esp + 0x34], edi
mov edi, 1
mov ebx, edi
lea edx, [esp + 0x30]
shl ebx, 4
add edx, ebx
cmp dword [esi + 0xe4], 0x21
jne 0x4e4e3d
mov eax, 0x21
xor ecx, ecx
jmp 0x4e4e47
mov eax, 1
mov ecx, 0x40000000
mov dword [edx], eax
mov dword [edx + 4], ecx
push dword [ebp + 0x18]
mov dword [esp + ebx + 0x3c], 0
push dword [ebp + 0x20]
push 0
push edx
call fcn.004faf30
add esp, 0x10
test eax, eax
je 0x4e4e83
push eax
push dword [esp + 0x78]
call fcn.004e71c0
add esp, 8
mov eax, 0xffffffe7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
inc edi
lea eax, [esp + 0x30]
add edi, edi
push eax
lea eax, [esi + 0xf0]
push eax
mov dword [esp + edi*8 + 0x38], 0xffffffff
mov dword [esp + edi*8 + 0x3c], 0xffffffff
mov dword [esp + edi*8 + 0x40], 0
call fcn.004fafb0
push dword [esp + ebx + 0x40]
mov edi, eax
call fcn.0056272e
add esp, 0xc
test edi, edi
je 0x4e4edb
push edi
push dword [esp + 0x78]
call fcn.004e71c0
add esp, 8
mov eax, 0xffffffe7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
pop edi
mov dword [esi + 0x148], 1
xor eax, eax
mov dword [esi + 0xf8], 0
mov dword [esi + 0xfc], 0
mov dword [esi + 0x108], 0
mov dword [esi + 0x10c], 0
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
cmp dword [esi + 0x4cf8], 0
lea edi, [esi + 0x1c0]
je 0x4e4f3a
push edi
call dword [0x5d45fc]
add esp, 4
mov dword [esi + 0x4cf8], 0
cmp dword [ebp + 0x1c], 0
ja 0x4e4f4a
cmp dword [ebp + 0x18], 5
jb 0x4e5018
mov eax, dword [ebp + 0x20]
movzx ebp, byte [eax]
inc eax
push eax
call fcn.004e2a50
lea ecx, [ebp - 2]
add esp, 4
mov ebx, eax
cmp ecx, 0x3e
ja 0x4e5018
lea ecx, [ebx - 0x800]
cmp ecx, 0xfffff7db
ja 0x4e5018
push edi
call dword [0x5d45f4]
push ebx
push edi
call dword [0x5d45f8]
add esp, 0xc
test eax, eax
jne 0x4e4fb0
push str.Coludnt_allocate_memory_for_PPMd
push 0xc
push dword [esp + 0x7c]
call fcn.004eda00
add esp, 0xc
mov eax, 0xffffffe2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
push ebp
push edi
call dword [0x5d4600]
lea eax, [esi + 0x4c8c]
push eax
call dword [0x5d4604]
add esp, 0xc
mov dword [esi + 0x4cf8], 1
mov dword [esi + 0x1bc], 0
xor eax, eax
mov dword [esi + 0x4cf0], 0
mov dword [esi + 0x4cc8], 0
pop edi
mov dword [esi + 0x4ccc], 0
mov dword [esi + 0x4ce8], 0
mov dword [esi + 0x4cec], 0
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
push str.Malformed_PPMd_parameter
push 0xffffffffffffffff
push dword [esp + 0x7c]
call fcn.004eda00
add esp, 0xc
mov eax, 0xffffffe7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
cmp eax, 0x40108
je 0x4e5144
cmp eax, 0x40202
je 0x4e5069
cmp eax, 0x3030103
je 0x4e51f4
push ecx
push str.Unknown_codec_ID:__lX
push 0xffffffffffffffff
push dword [esp + 0x80]
jmp 0x4e5263
cmp dword [esi + 0x17c], 0
lea edi, [esi + 0x14c]
je 0x4e5088
push edi
call fcn.005052c0
mov dword [esi + 0x17c], 0
push 0
push 0
push edi
call fcn.00505340
cmp eax, 0xfffffffd
jne 0x4e50a1
push 1
push 0
push edi
call fcn.00505340
test eax, eax
je 0x4e5108
or edx, 0xffffffff
xor ecx, ecx
cmp eax, 0xfffffff7
je 0x4e50cc
cmp eax, 0xfffffffd
je 0x4e50c0
cmp eax, 0xfffffffe
jne 0x4e50d1
mov ecx, str.invalid_setup_parameter
jmp 0x4e50d1
mov edx, 0xc
mov ecx, str.out_of_memory
jmp 0x4e50d1
mov ecx, str.mis_compiled_library
test ecx, ecx
mov eax, 0x5cc768
cmovne eax, ecx
push eax
push str.Internal_error_initializing_decompressor:__s
push edx
push dword [esp + 0x80]
call fcn.004eda00
add esp, 0x10
mov dword [esi + 0x17c], 0
mov eax, 0xffffffe7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
pop edi
mov dword [esi + 0x17c], 1
xor eax, eax
mov dword [esi + 0x154], 0
mov dword [esi + 0x158], 0
mov dword [esi + 0x164], 0
mov dword [esi + 0x168], 0
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
cmp dword [esi + 0x1b8], 0
lea eax, [esi + 0x180]
je 0x4e515e
push eax
call fcn.005a6f70
add esp, 4
jmp 0x4e5170
push 0x38
push 0x5cc0e8
push 0xfffffffffffffff1
push eax
call fcn.005a6e20
add esp, 0x10
test eax, eax
je 0x4e5194
push str.Couldnt_initialize_zlib_stream.
push 0xffffffffffffffff
push dword [esp + 0x7c]
call fcn.004eda00
add esp, 0xc
mov eax, 0xffffffe7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov dword [esi + 0x1b8], 1
mov dword [esi + 0x188], 0
mov dword [esi + 0x194], 0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x60
ret
cmp eax, 0x3030805
ja 0x4e5205
je 0x4e51f4
cmp eax, 0x3030501
ja 0x4e51ed
je 0x4e51f4
cmp eax, 0x3030205
je 0x4e51f4
cmp eax, 0x3030401
je 0x4e51f4
push ecx
push str.Unknown_codec_ID:__lX
push 0xffffffffffffffff
push dword [esp + 0x80]
jmp 0x4e5263
cmp eax, 0x3030701
jne 0x4e521a
push ecx
push str.Unexpected_codec_ID:__lX
push 0xffffffffffffffff
push dword [esp + 0x80]
jmp 0x4e5263
cmp eax, 0x6f10101
je 0x4e522b
cmp eax, 0x6f10303
je 0x4e522b
cmp eax, 0x6f10701
je 0x4e522b
push ecx
push str.Unknown_codec_ID:__lX
push 0xffffffffffffffff
push dword [esp + 0x80]
jmp 0x4e5263
mov edi, dword [esp + 0x74]
mov eax, dword [edi + 0x60]
test eax, eax
je 0x4e5255
push 1
push eax
call fcn.004e93c0
push 1
push dword [edi + 0x60]
call fcn.004e9390
add esp, 0x10
mov dword [esi + 0x4fac], 1
push dword [esi + 0xe4]
push str.Crypto_codec_not_supported_yet__ID:_0x_lX_
push 0xffffffffffffffff
push edi
call fcn.004eda00
add esp, 0x10
mov eax, 0xffffffe7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret