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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov ebx, dword [eax]
test ebx, ebx
je 0x595bf4
mov ecx, dword [ebx]
test ecx, ecx
je 0x595cfa
test edi, edi
je 0x59563e
mov dword [ebx + 4], edi
mov edx, dword [esp + 0x7c]
lea ebp, [esp + 0x34]
test edx, edx
je 0x595664
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], 0
mov eax, dword [eax]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.0087c110
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x595675
or dword [ebx + 0x440], 0x80
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.0089b0a0
test eax, eax
mov edi, eax
js 0x5959e5
mov edx, dword [ebx + 0x10]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], 0x19
test edx, edx
je 0x595af0
mov eax, dword [ebx + 4]
or dword [ebx + 0x440], 0x80
test eax, eax
je 0x595c9a
test byte [eax + 8], 1
jne 0x595a32
xor edi, edi
mov eax, dword [ebx + 0x53c]
mov dword [ebx + 0x4f4], edi
test eax, eax
je 0x595a50
mov eax, dword [ebx + 0x548]
test eax, eax
je 0x595bc0
mov eax, dword [ebx + 0x500]
test eax, eax
je 0x595728
mov dword [esp + 8], 0x2c
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.00875a90
test eax, eax
jle 0x595c20
mov eax, dword [ebx + 0x4e0]
mov edx, dword [ebx + 0x4e4]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebx + 0x10]
mov dword [esp], eax
call fcn.00457f80
mov eax, dword [ebx + 4]
test byte [eax + 8], 2
jne 0x5959d0
test esi, esi
mov dword [ebx + 0x420], 0
mov dword [ebx + 0x424], 0x80000000
mov dword [ebx + 0x428], 0
mov dword [ebx + 0x42c], 0x80000000
je 0x595c10
lea eax, [ebx + 0x20]
mov dword [esp + 8], 0x400
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00874e80
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x24]
test eax, eax
jle 0x5957e8
mov dword [esp], eax
call fcn.00894240
test eax, eax
mov dword [ebx + 0xc], eax
je 0x595a80
mov edx, dword [ebx + 4]
mov edx, dword [edx + 0x14]
test edx, edx
je 0x5957e8
mov dword [eax], edx
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call fcn.00899480
mov dword [esp + 4], ebp
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call fcn.0089b0a0
test eax, eax
mov edi, eax
js 0x5959e5
mov eax, dword [ebx + 0x10]
lea edx, [esp + 0x38]
test eax, eax
je 0x59581b
lea edx, [esp + 0x38]
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0xc6c935
mov dword [esp], ebx
mov dword [esp + 8], edx
mov dword [esp + 0x2c], edx
call fcn.0049b520
mov edx, dword [esp + 0x2c]
test byte [ebx + 0x442], 2
jne 0x595845
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x595845
mov dword [esp + 0x2c], edx
mov dword [esp], ebx
call eax
test eax, eax
mov edi, eax
mov edx, dword [esp + 0x2c]
js 0x5959e9
mov eax, dword [esp + 0x38]
test eax, eax
je 0x5958b8
mov eax, dword [ebx + 4]
mov ecx, 4
mov edi, 0xc6c939
mov eax, dword [eax]
mov esi, eax
mov dword [esp + 0x2c], eax
repe cmpsb byte [esi], byte es:[edi]
seta cl
mov esi, ecx
setb cl
mov eax, esi
cmp al, cl
je 0x59589a
mov esi, dword [esp + 0x2c]
mov edi, 0xc6b3a0
mov ecx, 4
repe cmpsb byte [esi], byte es:[edi]
je 0x59589a
mov esi, dword [esp + 0x2c]
mov edi, 0xc6c93d
mov ecx, 4
repe cmpsb byte [esi], byte es:[edi]
jne 0x595c50
mov dword [esp + 4], edx
mov dword [esp], ebx
mov dword [esp + 0x2c], edx
call fcn.0049b860
test eax, eax
mov edi, eax
mov edx, dword [esp + 0x2c]
js 0x5959e9
mov dword [esp], edx
mov dword [esp + 0x2c], edx
call fcn.0049b750
mov dword [esp], ebx
call fcn.005880c0
test eax, eax
mov edi, eax
mov edx, dword [esp + 0x2c]
js 0x5959e9
test byte [ebx + 0x442], 2
jne 0x595bb0
mov eax, dword [ebx + 0x10]
mov esi, dword [ebx + 0x504]
test eax, eax
je 0x595900
mov edx, dword [esi + 0x14]
or edx, dword [esi + 0x10]
je 0x595b80
mov dword [esi + 0x28], 0x2625a0
mov edx, dword [ebx + 0x18]
test edx, edx
je 0x595abb
xor edi, edi
jmp 0x59599e
mov eax, dword [eax + 0x10]
mov edx, dword [esi + 0x2c4]
mov ebp, dword [edx + 4]
cmp dword [eax + 0x30], ebp
je 0x595952
mov dword [esp], ecx
call fcn.0063ef30
mov eax, dword [esi + 0x2c0]
mov edx, dword [esi + 0x2c4]
mov dword [esi + 0xf0], 0
mov eax, dword [eax + 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0066ce90
test eax, eax
js 0x595a90
mov eax, dword [esi + 0x2c4]
mov dword [esp + 4], eax
mov eax, dword [esi + 8]
mov dword [esp], eax
call fcn.0066ce90
test eax, eax
js 0x595a90
mov eax, dword [esi + 0x2c0]
mov dword [eax + 0x1c], 0
mov edx, dword [ebx + 0x18]
add edi, 1
cmp edi, edx
jae 0x595a93
mov eax, dword [ebx + 0x1c]
mov esi, dword [eax + edi*4]
mov eax, dword [esi + 0x2c0]
mov ebp, dword [eax + 0x1c]
test ebp, ebp
je 0x595993
mov ecx, dword [esi + 0xf0]
test ecx, ecx
jne 0x595920
mov edx, dword [esi + 0x2c4]
mov eax, dword [eax + 0x10]
jmp 0x595952
mov dword [esp], esi
call fcn.005955b0
test eax, eax
jne 0x595754
mov edi, 0xffffffea
lea edx, [esp + 0x38]
mov dword [esp], edx
call fcn.0049b750
mov dword [esp], ebp
call fcn.0087c0b0
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x595a09
test byte [ebx + 0x440], 0x80
je 0x595a25
mov dword [esp], ebx
call fcn.00594c80
mov eax, dword [esp + 0x70]
mov dword [eax], 0
add esp, 0x5c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebx + 0x10]
mov dword [esp], eax
call fcn.0045e5c0
jmp 0x595a09
mov dword [esp + 8], str.Custom_AVIOContext_makes_no_sense_and_will_be_ignored_with_AVFMT_NOFILE_format._n
mov dword [esp + 4], 0x18
mov dword [esp], ebx
call fcn.00891920
jmp 0x5956d9
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x5956fd
mov edx, dword [eax + 0x88]
test edx, edx
je 0x595c75
mov dword [esp], edx
call fcn.00894320
test eax, eax
mov dword [ebx + 0x53c], eax
jne 0x5956ef
nop
mov edi, 0xfffffff4
lea edx, [esp + 0x38]
jmp 0x5959e9
mov edx, dword [ebx + 0x18]
test edx, edx
je 0x595abb
mov eax, dword [ebx + 0x1c]
lea esi, [eax + edx*4]
lea esi, [esi]
mov edx, dword [eax]
add eax, 4
cmp eax, esi
mov ecx, dword [edx + 0x2c0]
mov edx, dword [edx + 0x2c4]
mov edx, dword [edx + 4]
mov dword [ecx + 0x18], edx
jne 0x595aa0
mov esi, dword [esp + 0x7c]
test esi, esi
je 0x595ad9
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.0087c0b0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x7c]
mov dword [ecx], eax
mov eax, dword [esp + 0x70]
xor edi, edi
mov dword [eax], ebx
add esp, 0x5c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 4]
test eax, eax
je 0x595cca
test byte [eax + 8], 1
jne 0x595c90
mov dword [esp + 0x10], ebp
mov eax, dword [ebx + 0x4d4]
mov dword [esp + 8], esi
mov dword [esp], ebx
or eax, 1
mov dword [esp + 0xc], eax
lea eax, [ebx + 0x10]
mov dword [esp + 4], eax
call dword [ebx + 0x540]
test eax, eax
mov edi, eax
js 0x5959e5
mov eax, dword [ebx + 4]
test eax, eax
jne 0x5956d9
mov eax, dword [ebx + 0x4f8]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp + 0x14], eax
lea eax, [ebx + 4]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x10]
mov dword [esp], eax
call fcn.00484f00
mov edi, eax
lea esi, [esi]
test edi, edi
js 0x5959e5
jmp 0x5956db
mov dword [esp + 0xc], 1
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp], eax
call fcn.00457a80
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
lea esi, [esi]
lea edi, [edi]
mov esi, dword [ebx + 0x504]
jmp 0x595900
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x5956fd
mov eax, dword [eax + 0x8c]
test eax, eax
je 0x5956fd
mov dword [esp], eax
call fcn.00894320
test eax, eax
mov dword [ebx + 0x548], eax
jne 0x5956fd
jmp 0x595a80
call fcn.0052e210
test eax, eax
mov ebx, eax
jne 0x59562d
mov edi, 0xfffffff4
jmp 0x595a1b
mov esi, 0xc6c87c
jmp 0x595784
mov eax, dword [ebx + 0x500]
mov dword [esp + 8], str.Format_not_on_whitelist__s_n
mov edi, 0xffffffea
mov dword [esp + 4], 0x10
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call fcn.00891920
lea edx, [esp + 0x38]
jmp 0x5959e9
mov dword [esp + 8], str.demuxer_does_not_support_additional_id3_data__skipping_n
mov dword [esp + 4], 0x30
mov dword [esp], ebx
mov dword [esp + 0x2c], edx
call fcn.00891920
mov edx, dword [esp + 0x2c]
jmp 0x5958b8
mov edx, dword [ebx + 0x548]
test edx, edx
jne 0x5956fd
jmp 0x595bcb
mov edi, 0x19
jmp 0x5956db
mov eax, dword [ebx + 0x4f8]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp], edx
mov dword [esp + 0x14], eax
lea eax, [ebx + 4]
mov dword [esp + 4], eax
call fcn.00484f00
mov edi, eax
jmp 0x595b70
lea eax, [esp + 0x3c]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
lea eax, [esp + 0x40]
mov dword [esp], eax
call fcn.00484e80
test eax, eax
mov dword [ebx + 4], eax
je 0x595b05
mov edi, dword [esp + 0x3c]
jmp 0x595b70
mov dword [esp + 8], str.Input_context_has_not_been_properly_allocated_by_avformat_alloc_context___and_is_not_NULL_either_n
mov dword [esp + 4], 0x10
mov edi, 0xffffffea
mov dword [esp], 0
call fcn.00891920
jmp 0x595a1b