Function at 0x402de2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x70
mov eax, dword [0x40f1f4]
xor eax, esp
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x84]
push ebx
push ebp
mov ebp, dword [esp + 0x84]
push esi
mov esi, dword [eax]
push edi
mov edi, dword [esp + 0x88]
mov dword [esp + 0x10], 0
mov eax, dword [esi + 8]
xor ecx, ecx
cmp byte [edi + 1], 0x3a
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x84]
cmovne eax, ecx
push ecx
mov dword [esp + 0x88], eax
push ecx
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esi + 0x1c]
lea ebx, [esp + 0x1c]
push dword [eax + 0xc]
call sub.libav.dll_Ordinal_44329
add esp, 0x10
cmp eax, 0xffffffff
jne 0x402d42
call dword [sym.imp.MSVCR110.dll__errno]
cmp dword [eax], 4
je 0x402d42
mov eax, dword [esi + 0x1c]
push dword [eax + 0x38]
call fcn.00406fc0
add esp, 4
cmp dword [esp + 0x90], 0
jne 0x402d2a
push edi
call dword [sym.imp.MSVCR110.dll_free]
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00408f44
add esp, 0x70
ret
mov eax, dword [esi + 0x1c]
push dword [eax + 0x38]
call fcn.00406ef0
add esp, 4
test eax, eax
jne 0x402d16
mov eax, dword [esp + 0x90]
inc dword [esi + 0x14]
dec eax
cmp eax, 5
ja case.default.0x402d68
jmp dword [eax*4 + 0x4032a4]
inc dword [esi + 0x10]
pop edi
pop esi
pop ebp
mov eax, 0x14
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00408f44
add esp, 0x70
ret
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x5e], 0x61662029
mov word [esp + 0x63], 0x656c
mov dword [esp + 0x58], 0x6174736c
mov byte [esp + 0x62], 0x69
mov word [esp + 0x5c], 0x2874
mov word [esp + 0x66], 0x3a
mov byte [esp + 0x65], 0x64
push ebp
push dword [esi + 0x1c]
call fcn.00405da0
add esp, 0xc
inc dword [esi + 0x10]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00408f44
add esp, 0x70
ret
mov dword [esp + 0x74], 0x7420656c
mov dword [esp + 0x64], 0x20746f4e
mov dword [esp + 0x78], 0x657079
mov dword [esp + 0x6e], 0x20646574
mov dword [esp + 0x69], 0x6f707075
mov byte [esp + 0x68], 0x73
mov word [esp + 0x72], 0x6966
mov byte [esp + 0x6d], 0x72
cmp ebp, dword [esi + 0x20]
jne 0x402e36
push str.ERROR
lea eax, [esp + 0x68]
push eax
push ebp
push dword [esi + 0x1c]
call fcn.00405d20
add esp, 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00408f44
add esp, 0x70
ret
mov eax, dword [esp + 0x84]
test eax, eax
je 0x402e91
cmp dword [eax + 0x14], 0
jne 0x402e91
cmp ebp, dword [esi + 0x20]
jne 0x402e72
push str.Empty_file
push edi
push dword [esi + 0x1c]
call fcn.00405e60
add esp, 0xc
push edi
call dword [sym.imp.MSVCR110.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00408f44
add esp, 0x70
ret
cmp dword [esp + 0x18], 2
jne 0x402fb1
push 0x40
push 1
call dword [sym.imp.MSVCR110.dll_calloc]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x402f8c
mov 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 sub.libav.dll_Ordinal_7
add esp, 4
test eax, eax
je 0x402f1a
mov esi, dword [sym.imp.MSVCR110.dll_free]
push edi
call esi
push ebx
call esi
add esp, 8
mov eax, 0x14
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00408f44
add esp, 0x70
ret
mov eax, dword [esi + 0x2c]
push 0x40f00c
mov dword [ebx + 0x18], eax
call sub.libav.dll_Ordinal_44297
mov eax, dword [0x40f340]
mov dword [ebx + 0x20], eax
mov eax, dword [0x40f344]
push 0x40f00c
mov dword [ebx + 0x24], eax
call sub.libav.dll_Ordinal_44298
push 1
push ebx
push dword [esi + 0x38]
push dword [esi + 0x34]
call fcn.00406e10
add esp, 0x18
test eax, eax
jne case.0x402d68.1
push dword [esi + 0x2c]
call sub.libav.dll_Ordinal_9
mov esi, dword [sym.imp.MSVCR110.dll_free]
push edi
call esi
push ebx
call esi
add esp, 0xc
mov eax, 0x14
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00408f44
add esp, 0x70
ret
inc dword [esi + 0x10]
push edi
call dword [sym.imp.MSVCR110.dll_free]
add esp, 4
mov eax, 0x14
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00408f44
add esp, 0x70
ret
cmp byte [edi + 1], 0x3a
jne 0x403024
push 4
push edi
call sub.libav.dll_Ordinal_44340
add esp, 8
test eax, eax
je 0x403024
push str.ERROR
push str.Access_denied.
push edi
push dword [esi + 0x1c]
call fcn.00405d20
add esp, 0x10
push edi
cmp eax, 0xffffffff
jne 0x403003
call dword [sym.imp.MSVCR110.dll_free]
add esp, 4
mov eax, 0x15
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00408f44
add esp, 0x70
ret
inc dword [esi + 0x10]
call dword [sym.imp.MSVCR110.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00408f44
add esp, 0x70
ret
push 0
push edi
call fcn.004077d0
lea eax, [esp + 0x24]
push eax
xorps xmm0, xmm0
mov dword [esp + 0x28], edi
movlpd qword [esp + 0x30], xmm0
push dword [esi + 0x28]
lea eax, [esi + 0x24]
push dword [esi + 0x2c]
push eax
lea eax, [esp + 0x28]
push eax
push edi
call sub.libav.dll_Ordinal_32
push 0
push 0
mov dword [esp + 0x3c], eax
call fcn.004077d0
add esp, 0x28
test dword [esi + 0x28], 0x200000
je 0x40307a
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x40307a
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x1c]
push dword [eax + 0x38]
call fcn.00406ef0
add esp, 4
test eax, eax
je 0x4030d1
push edi
mov edi, dword [sym.imp.MSVCR110.dll_free]
call edi
add esp, 4
test dword [esi + 0x28], 0x200000
je 0x4030af
lea eax, [esp + 0x10]
cmp ebx, eax
je 0x4030af
push ebx
call edi
add esp, 4
cmp dword [esp + 0x14], 0x15
pop edi
pop esi
mov eax, 0x16
cmove eax, dword [esp + 0xc]
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00408f44
add esp, 0x70
ret
mov ebp, dword [esp + 0x14]
cmp ebp, 1
jne 0x4031ed
cmp dword [esp + 0x10], 0
jne 0x4030f2
mov dword [esp + 0x14], 0x14
jmp 0x4031f1
inc dword [esi + 0xc]
push dword [esp + 0x10]
push edi
push dword [esi + 0x1c]
call fcn.00405f60
add esp, 0xc
cmp eax, 0xffffffff
jne 0x403145
push edi
mov edi, dword [sym.imp.MSVCR110.dll_free]
call edi
add esp, 4
test dword [esi + 0x28], 0x200000
je 0x40312d
lea eax, [esp + 0x10]
cmp ebx, eax
je 0x40312d
push ebx
call edi
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x15
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00408f44
add esp, 0x70
ret
test dword [esi + 0x28], 0x200000
je 0x403174
cmp dword [ebx + 4], 0
lea ebp, [ebx + 4]
je 0x403174
push dword [ebp]
push edi
push dword [esi + 0x1c]
call fcn.00405f60
add esp, 0xc
lea ebp, [ebp + 4]
cmp eax, 0xffffffff
je 0x4031b7
cmp dword [ebp], 0
jne 0x403157
mov eax, dword [esp + 0x24]
or eax, dword [esp + 0x28]
je 0x40318e
push str.ExtendedDetectionInfo
push dword [esi + 0x30]
call fcn.00408060
add esp, 8
push dword [esi + 0x30]
push dword [esp + 0x14]
push edi
call fcn.00402bb0
add esp, 0xc
test dword [esi + 0x28], 0x200000
je 0x403252
cmp dword [ebx + 4], 0
je 0x403252
jmp 0x4031b5
mov esi, dword [sym.imp.MSVCR110.dll_free]
push edi
call esi
lea eax, [esp + 0x14]
add esp, 4
cmp ebx, eax
je 0x40312d
push ebx
call esi
add esp, 4
mov eax, 0x15
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00408f44
add esp, 0x70
ret
test ebp, ebp
je 0x403256
inc dword [esi + 0x10]
push str.ERROR
push dword [esp + 0x18]
call sub.libav.dll_Ordinal_27
add esp, 4
push eax
push edi
push dword [esi + 0x1c]
call fcn.00405d20
add esp, 0x10
cmp eax, 0xffffffff
jne 0x403252
test dword [esi + 0x28], 0x200000
mov esi, dword [sym.imp.MSVCR110.dll_free]
je 0x403234
lea eax, [esp + 0x10]
cmp ebx, eax
je 0x403234
push ebx
call esi
add esp, 4
push edi
call esi
add esp, 4
mov eax, 0x15
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00408f44
add esp, 0x70
ret
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [sym.imp.MSVCR110.dll_free]
call edi
add esp, 4
test dword [esi + 0x28], 0x200000
je 0x40327d
lea eax, [esp + 0x10]
cmp ebx, eax
je 0x40327d
push ebx
call edi
mov ebp, dword [esp + 0x18]
add esp, 4
cmp ebp, 0x14
je 0x402d72
mov ecx, dword [esp + 0x7c]
xor eax, eax
cmp dword [esp + 0x18], eax
pop edi
cmove eax, ebp
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00408f44
add esp, 0x70
ret