Function at 0x58fd6b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x22c
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x214], edx
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x218], eax
mov ecx, 1
mov eax, dword [ebp - 0x210]
call fcn.0049c552
mov dword [ebp - 0x20c], eax
cmp eax, 0x454e434d
jne 0x58ffa4
xor eax, eax
mov dword [ebp - 0x1fc], eax
mov edx, dword [ebp - 0x214]
mov eax, dword [ebp - 0x210]
call fcn.0057587b
test eax, eax
je 0x58fe08
lea ecx, [ebp - 0x1fc]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebx
mov dword [esp + 4], ebx
mov dword [esp], ebx
mov edx, dword [ebp - 0x214]
mov eax, dword [ebp - 0x210]
call fcn.00579d8e
jmp 0x58ff5f
mov edx, dword [ebp - 0x214]
mov eax, dword [ebp - 0x210]
call fcn.005758c2
mov edx, dword [ebp - 0x214]
test eax, eax
mov eax, dword [ebp - 0x210]
je 0x58fe97
call fcn.0049b00f
test eax, eax
je 0x58ff63
mov eax, dword [eax + 0x20]
xor edx, edx
mov dword [esp], edx
mov ecx, 0x6f646b6d
mov edx, 1
call fcn.005984cb
test eax, eax
je 0x58ff90
mov edx, dword [eax + 0x20]
test edx, edx
je 0x58ff63
mov edx, dword [edx + 0x24]
test edx, edx
je 0x58ff63
cmp dword [edx + 0x20], 0
je 0x58ff63
mov eax, dword [eax + 0x18]
mov ebx, dword [eax + 0x18]
mov eax, ebx
call fcn.0049c519
test eax, eax
mov eax, 0x4d504547
cmovne ebx, eax
mov dword [ebp - 0x1fc], ebx
jmp 0x58ff90
call fcn.00575a44
test eax, eax
je 0x58fec9
lea ecx, [ebp - 0x1fc]
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov dword [esp], eax
mov edx, dword [ebp - 0x214]
mov eax, dword [ebp - 0x210]
call fcn.0057590a
jmp 0x58ff5f
cmp dword [0x5af06c], 1
jbe 0x58ff0c
mov dword [0x611418], 2
mov dword [0x611414], 5
mov edx, dword [ebp - 0x214]
mov eax, dword [ebp - 0x210]
call fcn.00575a0d
call fcn.004266af
mov dword [esp + 4], eax
mov dword [esp], str._ISOM_Tools__Unkown_protection_scheme_type__s_n
call fcn.004268ea
mov edx, dword [ebp - 0x214]
mov eax, dword [ebp - 0x210]
call fcn.0049b00f
test eax, eax
je 0x58ff63
lea ecx, [ebp - 0x1f8]
mov eax, dword [eax + 0x20]
xor ebx, ebx
mov dword [esp], ebx
mov edx, 1
call fcn.004a4791
mov eax, dword [ebp - 0x1f8]
test eax, eax
je 0x58ff63
mov eax, dword [eax + 0x38]
xor edx, edx
call fcn.00425c8e
mov eax, dword [eax + 0x18]
test eax, eax
je 0x58ff90
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x1fc], eax
jmp 0x58ff90
test eax, eax
je 0x58ff90
cmp dword [0x5af06c], 0
je 0x590649
mov dword [0x611418], 1
mov dword [0x611414], 5
mov dword [ebp + 8], str._ISOM_Tools__Error_fecthing_protection_information_n
jmp 0x590224
mov eax, dword [ebp - 0x1fc]
test eax, eax
je 0x5905dc
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0x68657632
ja 0x590004
cmp dword [ebp - 0x20c], 0x68657630
ja 0x5902b9
cmp dword [ebp - 0x20c], 0x4d504547
je 0x59007f
mov eax, dword [ebp - 0x20c]
sub eax, 0x61766331
cmp eax, 3
ja 0x5905dc
mov edx, dword [ebp - 0x214]
mov eax, dword [ebp - 0x210]
call fcn.00579cc0
mov ebx, eax
test esi, esi
jne 0x59019e
jmp 0x5901f8
cmp dword [ebp - 0x20c], 0x6d766331
je 0x5901ce
ja 0x59006a
cmp dword [ebp - 0x20c], 0x6c686531
je 0x5902b9
ja 0x590055
cmp dword [ebp - 0x20c], 0x68766332
ja 0x590049
cmp dword [ebp - 0x20c], 0x68766330
ja 0x590293
jmp 0x5905dc
cmp dword [ebp - 0x20c], 0x68767431
jmp 0x59005f
cmp dword [ebp - 0x20c], 0x6c687631
je 0x5902b9
jmp 0x5905dc
cmp dword [ebp - 0x20c], 0x73766331
je 0x5901ce
jmp 0x5905dc
mov edx, dword [ebp - 0x214]
mov eax, dword [ebp - 0x210]
call fcn.0057a35c
mov ebx, eax
mov edx, dword [eax + 0x10]
mov al, byte [edx + 8]
cmp al, 4
je 0x590126
cmp al, 5
jne 0x590176
mov ecx, dword [edx + 0x18]
test ecx, ecx
je 0x590115
mov eax, dword [ecx + 8]
test eax, eax
je 0x590115
movsx edx, byte [eax]
shr dl, 3
cmp dl, 2
jne 0x5900fa
test byte [ebp - 0x218], 1
je 0x5900fa
lea esi, [ebp - 0x1f8]
mov edx, dword [ecx + 4]
mov ecx, esi
call fcn.004cddca
mov dl, 2
test eax, eax
jne 0x5900fa
cmp dword [ebp - 0x1e0], 0
je 0x5900ef
mov dl, byte [ebp - 0x1e4]
cmp dword [ebp - 0x1d8], 0
je 0x5900fa
mov dl, 0x1d
movzx edx, dl
mov dword [esp + 0xc], edx
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 4]
mov dword [esp + 8], eax
mov dword [esp + 4], str.mp4a._02X._01d
jmp 0x59015b
mov eax, dword [edx + 4]
mov dword [esp + 8], eax
mov dword [esp + 4], str.mp4a._02X
jmp 0x590185
mov eax, dword [edx + 0x18]
test eax, eax
je 0x590165
lea ecx, [ebp - 0x1f8]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
call fcn.004cdcde
movzx eax, byte [ebp - 0x1f8]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 4]
mov dword [esp + 8], eax
mov dword [esp + 4], str.mp4v._02X._01x
mov dword [esp], edi
call fcn.005ae188
jmp 0x59018d
mov eax, dword [edx + 4]
mov dword [esp + 8], eax
mov dword [esp + 4], str.mp4v._02X
jmp 0x590185
mov eax, dword [edx + 4]
mov dword [esp + 8], eax
mov dword [esp + 4], str.mp4s._02X
mov dword [esp], edi
call fcn.005ae188
mov eax, ebx
add esp, 0x22c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.004b23d9
cmp dword [ebp - 0x20c], 0x61766331
je 0x5901c2
cmp dword [ebp - 0x20c], 0x61766332
jne 0x5901f8
mov dword [ebp - 0x20c], 0x61766334
jmp 0x5901f8
mov dword [ebp - 0x20c], 0x61766333
jmp 0x5901f8
mov edx, dword [ebp - 0x214]
mov eax, dword [ebp - 0x210]
call fcn.00579d27
mov ebx, eax
test eax, eax
jne 0x590233
mov edx, dword [ebp - 0x214]
mov eax, dword [ebp - 0x210]
call fcn.00579c59
mov ebx, eax
test ebx, ebx
jne 0x590233
cmp dword [0x5af048], 0
je 0x590649
mov dword [0x611418], 1
mov dword [0x611414], 2
mov dword [ebp + 8], str.Cannot_find_AVC_configuration_box
add esp, 0x22c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.004268ea
movzx edx, byte [ebx + 3]
mov dword [ebp - 0x214], edx
movzx ecx, byte [ebx + 2]
mov dword [ebp - 0x210], ecx
movzx esi, byte [ebx + 1]
mov eax, dword [ebp - 0x20c]
call fcn.004266af
mov edx, dword [ebp - 0x214]
mov dword [esp + 0x14], edx
mov ecx, dword [ebp - 0x210]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], str._s._02X_02X_02X
mov dword [esp], edi
call fcn.005ae188
mov eax, ebx
add esp, 0x22c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.004b0fb9
test esi, esi
je 0x5902b9
cmp dword [ebp - 0x20c], 0x68766331
je 0x5902af
mov dword [ebp - 0x20c], 0x68657632
jmp 0x5902b9
mov dword [ebp - 0x20c], 0x68657631
mov edx, dword [ebp - 0x214]
mov eax, dword [ebp - 0x210]
call fcn.005787a6
mov esi, eax
test eax, eax
jne 0x590634
mov edx, dword [ebp - 0x214]
mov eax, dword [ebp - 0x210]
call fcn.00578843
mov esi, eax
cmp dword [ebp - 0x20c], 0x68767431
jne 0x59032d
lea eax, [ebp - 0x1f8]
mov dword [esp + 4], eax
mov dword [esp], 1
mov ecx, 0x74626173
mov edx, dword [ebp - 0x214]
mov eax, dword [ebp - 0x210]
call fcn.0049c2fc
mov edx, dword [ebp - 0x1f8]
mov eax, dword [ebp - 0x210]
call fcn.005787a6
mov esi, eax
test esi, esi
je 0x590614
mov eax, dword [ebp - 0x20c]
call fcn.004266af
mov dword [esp + 8], eax
mov dword [esp + 4], 0x6084a5
mov dword [esp], edi
call fcn.005ae188
mov al, byte [esi + 1]
cmp al, 1
jne 0x590365
mov dword [esp + 4], 0x6084a9
jmp 0x59037f
cmp al, 2
jne 0x590373
mov dword [esp + 4], 0x6084ab
jmp 0x59037f
cmp al, 3
jne 0x590387
mov dword [esp + 4], 0x6084ad
mov dword [esp], edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
movzx eax, byte [esi + 3]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x6084af
lea ebx, [ebp - 0x1f8]
mov dword [esp], ebx
call fcn.005ae188
mov dword [esp + 4], ebx
mov dword [esp], edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
mov ecx, dword [esi + 4]
mov dword [ebp - 0x20c], 0x20
xor eax, eax
mov edx, ecx
and edx, 1
or eax, edx
dec dword [ebp - 0x20c]
je 0x5903d5
add eax, eax
shr ecx, 1
jmp 0x5903c0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x6084b2
mov dword [esp], ebx
call fcn.005ae188
mov dword [esp + 4], ebx
mov dword [esp], edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
cmp byte [esi + 2], 0
je 0x590405
mov dword [esp + 4], 0x6084b6
jmp 0x59040d
mov dword [esp + 4], 0x6084b9
mov dword [esp], edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
movzx eax, byte [esi + 0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x6084af
lea ebx, [ebp - 0x1f8]
mov dword [esp], ebx
call fcn.005ae188
mov dword [esp + 4], ebx
mov dword [esp], edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
mov al, byte [esi + 9]
shl eax, 6
mov dl, byte [esi + 8]
shl edx, 7
or eax, edx
mov dl, byte [esi + 0xa]
shl edx, 5
or eax, edx
mov dl, byte [esi + 0xb]
shl edx, 4
or eax, edx
or al, byte [esi + 0x15]
movzx eax, al
mov dword [esp + 8], eax
mov dword [esp + 4], 0x6084b2
mov dword [esp], ebx
call fcn.005ae188
mov dword [esp + 4], ebx
mov dword [esp], edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
xor ebx, ebx
test ebx, ebx
jne 0x590497
test eax, eax
je 0x5905d3
movzx eax, dl
mov dword [esp + 8], eax
mov dword [esp + 4], 0x6084b2
lea ebx, [ebp - 0x1f8]
mov dword [esp], ebx
call fcn.005ae188
mov dword [esp + 4], ebx
mov dword [esp], edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov ecx, eax
and ecx, 0xffffff
xor ebx, ebx
test ebx, ebx
jne 0x5904dc
test ecx, ecx
je 0x5905d3
shrd eax, edx, 0x18
movzx eax, al
mov dword [esp + 8], eax
mov dword [esp + 4], 0x6084b2
lea ebx, [ebp - 0x1f8]
mov dword [esp], ebx
call fcn.005ae188
mov dword [esp + 4], ebx
mov dword [esp], edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov ecx, eax
and ecx, 0xffff
xor ebx, ebx
test ebx, ebx
jne 0x590525
test ecx, ecx
je 0x5905d3
shrd eax, edx, 0x10
movzx eax, al
mov dword [esp + 8], eax
mov dword [esp + 4], 0x6084b2
lea eax, [ebp - 0x1f8]
mov dword [esp], eax
call fcn.005ae188
lea eax, [ebp - 0x1f8]
mov dword [esp + 4], eax
mov dword [esp], edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov ecx, eax
and ecx, 0xff
xor ebx, ebx
test ebx, ebx
jne 0x590570
test ecx, ecx
je 0x5905d3
shrd eax, edx, 8
movzx eax, al
mov dword [esp + 8], eax
mov dword [esp + 4], 0x6084b2
lea eax, [ebp - 0x1f8]
mov dword [esp], eax
call fcn.005ae188
lea eax, [ebp - 0x1f8]
mov dword [esp + 4], eax
mov dword [esp], edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
movzx eax, byte [esi + 0x10]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x6084b2
lea eax, [ebp - 0x1f8]
mov dword [esp], eax
call fcn.005ae188
lea eax, [ebp - 0x1f8]
mov dword [esp + 4], eax
mov dword [esp], edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
mov eax, esi
call fcn.004b13a8
jmp 0x590649
cmp dword [0x5af06c], 3
jbe 0x590614
mov dword [0x611418], 4
mov dword [0x611414], 5
mov eax, dword [ebp - 0x20c]
call fcn.004266af
mov dword [esp + 4], eax
mov dword [esp], str._ISOM_Tools__codec_parameters_not_known___setting_codecs_string_to_default_value___s__n
call fcn.004268ea
mov eax, dword [ebp - 0x20c]
call fcn.004266af
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], edi
add esp, 0x22c
pop ebx
pop esi
pop edi
pop ebp
jmp sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
cmp dword [ebp - 0x20c], 0x68767431
jne 0x590335
jmp 0x5902f3
add esp, 0x22c
pop ebx
pop esi
pop edi
pop ebp
ret