Function at 0x402aaa
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [ebp + 0x18]
push ebx
push esi
mov esi, dword [eax]
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
push eax
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 8]
push eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
xor edx, edx
cmp byte [edi + 1], 0x3a
push eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 8]
push dword [eax + 0xc]
cmovne ecx, edx
lea ebx, [esp + 0x20]
mov dword [ebp + 8], ecx
call dword [sym.imp.libav.dll_Ordinal_44329]
add esp, 0x10
cmp eax, 0xffffffff
jne 0x402b29
call dword [sym.imp.MSVCR110.dll__errno]
cmp dword [eax], 4
je 0x402b29
mov ecx, dword [esi + 0x1c]
mov ecx, dword [ecx + 0x38]
call fcn.00406d57
cmp dword [ebp + 0x14], 0
jne 0x402b21
push edi
call dword [sym.imp.MSVCR110.dll_free]
pop ecx
push 0x16
pop eax
jmp 0x402f06
mov ecx, dword [esi + 0x1c]
mov ecx, dword [ecx + 0x38]
call fcn.00406d18
test eax, eax
jne 0x402b13
mov eax, dword [ebp + 0x14]
inc dword [esi + 0x14]
dec eax
je 0x402f04
dec eax
je 0x402f51
dec eax
je 0x402f0d
dec eax
je 0x402f04
dec eax
je 0x402eaf
dec eax
je 0x402f04
mov eax, dword [ebp + 8]
test eax, eax
je 0x402b96
cmp dword [eax + 0x14], 0
jne 0x402b96
mov eax, dword [ebp + 0x10]
cmp eax, dword [esi + 0x20]
jne 0x402cab
mov ecx, dword [esi + 0x1c]
push str.Empty_file
mov edx, edi
call fcn.00405000
pop ecx
jmp 0x402cab
cmp dword [esp + 0x1c], 2
jne 0x402c68
push 0x40
push 1
call dword [sym.imp.MSVCR110.dll_calloc]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x402c5b
or dword [ebx + 8], 0xffffffff
mov ecx, dword [esi + 4]
mov dword [ebx + 0xc], ecx
mov dword [ebx + 4], edi
mov dword [ebx], 0x12
mov ecx, dword [esi + 0x1c]
mov al, byte [ecx + 0x28]
mov byte [ebx + 0x28], al
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x38], eax
push dword [esi + 0x2c]
call dword [sym.imp.libav.dll_Ordinal_7]
pop ecx
test eax, eax
je 0x402c08
mov esi, dword [sym.imp.MSVCR110.dll_free]
push edi
call esi
pop ecx
push ebx
call esi
pop ecx
push 0x14
jmp 0x402b23
mov eax, dword [esi + 0x2c]
push 0x40ec40
mov dword [ebx + 0x18], eax
call dword [sym.imp.libav.dll_Ordinal_44297]
mov eax, dword [0x412c08]
mov dword [ebx + 0x20], eax
mov eax, dword [0x412c0c]
mov dword [ebx + 0x24], eax
mov dword [esp], 0x40ec40
call dword [sym.imp.libav.dll_Ordinal_44298]
mov edx, dword [esi + 0x38]
pop ecx
mov ecx, dword [esi + 0x34]
push 1
push ebx
call fcn.00406b2e
pop ecx
pop ecx
test eax, eax
jne 0x402f04
push dword [esi + 0x2c]
call dword [sym.imp.libav.dll_Ordinal_9]
pop ecx
jmp 0x402bf3
inc dword [esi + 0x10]
mov dword [esp + 0x18], 0x14
jmp 0x402cab
cmp byte [edi + 1], 0x3a
jne 0x402cbc
push 4
push edi
call dword [sym.imp.libav.dll_Ordinal_44340]
pop ecx
pop ecx
test eax, eax
je 0x402cbc
mov ecx, dword [esi + 0x1c]
push 0x40e988
push str.Access_denied.
mov edx, edi
call fcn.0040508f
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x402ca2
mov dword [esp + 0x18], 0x15
jmp 0x402cab
inc dword [esi + 0x10]
xor eax, eax
mov dword [esp + 0x18], eax
push edi
call dword [sym.imp.MSVCR110.dll_free]
mov eax, dword [esp + 0x1c]
pop ecx
jmp 0x402f06
xor edx, edx
mov ecx, edi
call fcn.004066c3
lea eax, [esp + 0x48]
push eax
xorps xmm0, xmm0
mov dword [esp + 0x4c], edi
movlpd qword [esp + 0x54], xmm0
push dword [esi + 0x28]
lea eax, [esi + 0x24]
push dword [esi + 0x2c]
push eax
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.libav.dll_Ordinal_32]
add esp, 0x18
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x14], eax
call fcn.004066c3
test dword [esi + 0x28], 0x200000
je 0x402d14
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x402d14
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0x1c]
mov ecx, dword [ecx + 0x38]
call fcn.00406d18
test eax, eax
je 0x402d54
push edi
mov edi, dword [sym.imp.MSVCR110.dll_free]
call edi
test dword [esi + 0x28], 0x200000
pop ecx
je 0x402d42
lea eax, [esp + 0x10]
cmp ebx, eax
je 0x402d42
push ebx
call edi
pop ecx
cmp dword [esp + 0x14], 0x15
push 0x16
pop eax
cmove eax, dword [esp + 0x14]
jmp 0x402f06
mov eax, dword [esp + 0x14]
cmp eax, 1
jne 0x402e31
cmp dword [esp + 0x10], 0
jne 0x402d75
mov dword [esp + 0x14], 0x14
jmp 0x402e35
inc dword [esi + 0xc]
push dword [esp + 0x10]
mov ecx, dword [esi + 0x1c]
mov edx, edi
call fcn.004050f0
pop ecx
cmp eax, 0xffffffff
jne 0x402db2
push edi
mov edi, dword [sym.imp.MSVCR110.dll_free]
call edi
test dword [esi + 0x28], 0x200000
pop ecx
je 0x402dab
lea eax, [esp + 0x10]
cmp ebx, eax
je 0x402dab
push ebx
call edi
pop ecx
push 0x15
jmp 0x402b23
test dword [esi + 0x28], 0x200000
je 0x402de6
lea ecx, [ebx + 4]
mov dword [esp + 0x18], ecx
jmp 0x402de1
push dword [ecx]
mov ecx, dword [esi + 0x1c]
mov edx, edi
call fcn.004050f0
pop ecx
mov ecx, dword [esp + 0x18]
add ecx, 4
mov dword [esp + 0x18], ecx
cmp eax, 0xffffffff
je 0x402e17
cmp dword [ecx], 0
jne 0x402dc4
mov eax, dword [esp + 0x50]
or eax, dword [esp + 0x54]
je 0x402dfd
mov ecx, dword [esi + 0x30]
mov edx, 0x40e9a0
call fcn.00406f1e
push dword [esi + 0x30]
call fcn.004024cb
test dword [esi + 0x28], 0x200000
pop ecx
je 0x402e78
cmp dword [ebx + 4], 0
je 0x402e78
jmp 0x402e15
mov esi, dword [sym.imp.MSVCR110.dll_free]
push edi
call esi
lea eax, [esp + 0x14]
pop ecx
cmp ebx, eax
je 0x402dab
push ebx
call esi
jmp 0x402daa
test eax, eax
je 0x402e78
inc dword [esi + 0x10]
push 0x40e9b8
push dword [esp + 0x18]
call dword [sym.imp.libav.dll_Ordinal_27]
pop ecx
mov ecx, dword [esi + 0x1c]
push eax
mov edx, edi
call fcn.0040508f
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x402e78
test dword [esi + 0x28], 0x200000
mov esi, dword [sym.imp.MSVCR110.dll_free]
je 0x402e75
lea eax, [esp + 0x10]
cmp ebx, eax
je 0x402e75
push ebx
call esi
pop ecx
push edi
jmp 0x402e2a
push edi
mov edi, dword [sym.imp.MSVCR110.dll_free]
call edi
test dword [esi + 0x28], 0x200000
pop ecx
je 0x402e97
lea eax, [esp + 0x10]
cmp ebx, eax
je 0x402e97
push ebx
call edi
pop ecx
mov ecx, dword [esp + 0x14]
cmp ecx, 0x14
je 0x402c01
xor eax, eax
cmp dword [esp + 0x1c], eax
cmove eax, ecx
jmp 0x402f06
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x40], 0x7420656c
mov dword [esp + 0x30], 0x20746f4e
mov dword [esp + 0x44], 0x657079
mov dword [esp + 0x3a], 0x20646574
mov dword [esp + 0x35], 0x6f707075
mov byte [esp + 0x34], 0x73
mov word [esp + 0x3e], 0x6966
mov byte [esp + 0x39], 0x72
cmp edx, dword [esi + 0x20]
jne 0x402f04
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x30]
push 0x40e974
push eax
call fcn.0040508f
pop ecx
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
lea eax, [esp + 0x20]
mov dword [esp + 0x26], 0x61662029
mov word [esp + 0x2b], 0x656c
mov dword [esp + 0x20], 0x6174736c
mov byte [esp + 0x2a], 0x69
mov word [esp + 0x24], 0x2874
mov word [esp + 0x2e], 0x3a
mov byte [esp + 0x2d], 0x64
mov ecx, dword [esi + 0x1c]
push eax
call fcn.00405129
pop ecx
xor eax, eax
jmp 0x402f54
push 0x14
pop eax
inc dword [esi + 0x10]
jmp 0x402f06