Function at 0x4028d4
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 0x402953
call dword [sym.imp.MSVCR110.dll__errno]
cmp dword [eax], 4
je 0x402953
mov ecx, dword [esi + 0x1c]
mov ecx, dword [ecx + 0x38]
call fcn.00406a57
cmp dword [ebp + 0x14], 0
jne 0x40294b
push edi
call dword [sym.imp.MSVCR110.dll_free]
pop ecx
push 0x16
pop eax
jmp 0x402d30
mov ecx, dword [esi + 0x1c]
mov ecx, dword [ecx + 0x38]
call fcn.00406a18
test eax, eax
jne 0x40293d
mov eax, dword [ebp + 0x14]
inc dword [esi + 0x14]
dec eax
je 0x402d2e
dec eax
je 0x402d7b
dec eax
je 0x402d37
dec eax
je 0x402d2e
dec eax
je 0x402cd9
dec eax
je 0x402d2e
mov eax, dword [ebp + 8]
test eax, eax
je 0x4029c0
cmp dword [eax + 0x14], 0
jne 0x4029c0
mov eax, dword [ebp + 0x10]
cmp eax, dword [esi + 0x20]
jne 0x402ad5
mov ecx, dword [esi + 0x1c]
push str.Empty_file
mov edx, edi
call fcn.00404d2a
pop ecx
jmp 0x402ad5
cmp dword [esp + 0x1c], 2
jne 0x402a92
push 0x40
push 1
call dword [sym.imp.MSVCR110.dll_calloc]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x402a85
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 0x402a32
mov esi, dword [sym.imp.MSVCR110.dll_free]
push edi
call esi
pop ecx
push ebx
call esi
pop ecx
push 0x14
jmp 0x40294d
mov eax, dword [esi + 0x2c]
push 0x40e024
mov dword [ebx + 0x18], eax
call dword [sym.imp.libav.dll_Ordinal_44297]
mov eax, dword [0x40e690]
mov dword [ebx + 0x20], eax
mov eax, dword [0x40e694]
mov dword [ebx + 0x24], eax
mov dword [esp], 0x40e024
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.00406830
pop ecx
pop ecx
test eax, eax
jne 0x402d2e
push dword [esi + 0x2c]
call dword [sym.imp.libav.dll_Ordinal_9]
pop ecx
jmp 0x402a1d
inc dword [esi + 0x10]
mov dword [esp + 0x18], 0x14
jmp 0x402ad5
cmp byte [edi + 1], 0x3a
jne 0x402ae6
push 4
push edi
call dword [sym.imp.libav.dll_Ordinal_44340]
pop ecx
pop ecx
test eax, eax
je 0x402ae6
mov ecx, dword [esi + 0x1c]
push str.ERROR
push str.Access_denied.
mov edx, edi
call fcn.00404db9
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x402acc
mov dword [esp + 0x18], 0x15
jmp 0x402ad5
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 0x402d30
xor edx, edx
mov ecx, edi
call fcn.00406418
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.00406418
test dword [esi + 0x28], 0x200000
je 0x402b3e
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x402b3e
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0x1c]
mov ecx, dword [ecx + 0x38]
call fcn.00406a18
test eax, eax
je 0x402b7e
push edi
mov edi, dword [sym.imp.MSVCR110.dll_free]
call edi
test dword [esi + 0x28], 0x200000
pop ecx
je 0x402b6c
lea eax, [esp + 0x10]
cmp ebx, eax
je 0x402b6c
push ebx
call edi
pop ecx
cmp dword [esp + 0x14], 0x15
push 0x16
pop eax
cmove eax, dword [esp + 0x14]
jmp 0x402d30
mov eax, dword [esp + 0x14]
cmp eax, 1
jne 0x402c5b
cmp dword [esp + 0x10], 0
jne 0x402b9f
mov dword [esp + 0x14], 0x14
jmp 0x402c5f
inc dword [esi + 0xc]
push dword [esp + 0x10]
mov ecx, dword [esi + 0x1c]
mov edx, edi
call fcn.00404e1a
pop ecx
cmp eax, 0xffffffff
jne 0x402bdc
push edi
mov edi, dword [sym.imp.MSVCR110.dll_free]
call edi
test dword [esi + 0x28], 0x200000
pop ecx
je 0x402bd5
lea eax, [esp + 0x10]
cmp ebx, eax
je 0x402bd5
push ebx
call edi
pop ecx
push 0x15
jmp 0x40294d
test dword [esi + 0x28], 0x200000
je 0x402c10
lea ecx, [ebx + 4]
mov dword [esp + 0x18], ecx
jmp 0x402c0b
push dword [ecx]
mov ecx, dword [esi + 0x1c]
mov edx, edi
call fcn.00404e1a
pop ecx
mov ecx, dword [esp + 0x18]
add ecx, 4
mov dword [esp + 0x18], ecx
cmp eax, 0xffffffff
je 0x402c41
cmp dword [ecx], 0
jne 0x402bee
mov eax, dword [esp + 0x50]
or eax, dword [esp + 0x54]
je 0x402c27
mov ecx, dword [esi + 0x30]
mov edx, str.ExtendedDetectionInfo
call fcn.004071e5
push dword [esi + 0x30]
call fcn.004022b2
test dword [esi + 0x28], 0x200000
pop ecx
je 0x402ca2
cmp dword [ebx + 4], 0
je 0x402ca2
jmp 0x402c3f
mov esi, dword [sym.imp.MSVCR110.dll_free]
push edi
call esi
lea eax, [esp + 0x14]
pop ecx
cmp ebx, eax
je 0x402bd5
push ebx
call esi
jmp 0x402bd4
test eax, eax
je 0x402ca2
inc dword [esi + 0x10]
push str.ERROR
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.00404db9
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x402ca2
test dword [esi + 0x28], 0x200000
mov esi, dword [sym.imp.MSVCR110.dll_free]
je 0x402c9f
lea eax, [esp + 0x10]
cmp ebx, eax
je 0x402c9f
push ebx
call esi
pop ecx
push edi
jmp 0x402c54
push edi
mov edi, dword [sym.imp.MSVCR110.dll_free]
call edi
test dword [esi + 0x28], 0x200000
pop ecx
je 0x402cc1
lea eax, [esp + 0x10]
cmp ebx, eax
je 0x402cc1
push ebx
call edi
pop ecx
mov ecx, dword [esp + 0x14]
cmp ecx, 0x14
je 0x402a2b
xor eax, eax
cmp dword [esp + 0x1c], eax
cmove eax, ecx
jmp 0x402d30
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 0x402d2e
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x30]
push str.ERROR
push eax
call fcn.00404db9
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.00404e65
pop ecx
xor eax, eax
jmp 0x402d7e
push 0x14
pop eax
inc dword [esi + 0x10]
jmp 0x402d30