Function at 0x405a01
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48c
mov eax, dword [0x40e688]
mov ecx, dword [0x40ef68]
push ebx
push esi
mov dword [ebp - 0xc], eax
push edi
lea eax, [ebp - 0x18]
push eax
xor ebx, ebx
push ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x18], 0x53504354
mov word [ebp - 0x11], 0x7465
mov word [ebp - 0x14], 0x636f
mov byte [ebp - 0x12], 0x6b
mov byte [ebp - 0xf], bl
mov dword [ebp - 0x1f], 0x646c6c
mov byte [ebp - 0x20], 0x25
call dword [sym.imp.libav.dll_Ordinal_44283]
lea esi, [eax + 0x10]
call fcn.00407175
xor ecx, ecx
add eax, dword [esi]
adc ecx, dword [esi + 4]
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x40]
push 0xa
push eax
call dword [sym.imp.libav.dll_Ordinal_44276]
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x60]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x60], 0x401
call dword [sym.imp.libav.dll_Ordinal_44333]
add esp, 0x2c
test eax, eax
je 0x405aba
or eax, 0xffffffff
jmp 0x405c43
mov edi, dword [ebp - 0x2c]
test edi, edi
je 0x405c31
mov esi, dword [ebp - 4]
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.MSVCR110.dll_realloc]
pop ecx
pop ecx
mov dword [ebp - 0x34], eax
test eax, eax
je 0x405c48
push dword [edi + 0xc]
mov dword [ebp - 0xc], eax
push dword [edi + 8]
push dword [edi + 4]
call dword [sym.imp.libav.dll_Ordinal_44321]
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x30], esi
cmp esi, 0xffffffff
jne 0x405b1e
call dword [sym.imp.MSVCR110.dll__errno]
push dword [eax]
call dword [sym.imp.libav.dll_Ordinal_44341]
mov esi, dword [ebp - 4]
pop ecx
jmp 0x405c23
push 4
lea eax, [ebp - 0x24]
push eax
push 4
push 0xffff
push esi
call dword [sym.imp.libav.dll_Ordinal_44323]
add esp, 0x14
cmp dword [edi + 4], 0x17
jne 0x405b63
push 4
lea eax, [ebp - 0x24]
push eax
push 0x1b
push 0x29
push esi
call dword [sym.imp.libav.dll_Ordinal_44323]
add esp, 0x14
cmp eax, 0xffffffff
jne 0x405b63
call dword [sym.imp.MSVCR110.dll__errno]
push dword [eax]
call dword [sym.imp.libav.dll_Ordinal_44341]
pop ecx
cmp dword [ebp + 8], ebx
je 0x405b88
push 0x401
push dword [ebp + 8]
lea eax, [ebp - 0x488]
push eax
call dword [sym.imp.MSVCR110.dll_strncpy]
add esp, 0xc
mov byte [ebp - 0x88], bl
jmp 0x405b8e
mov byte [ebp - 0x488], bl
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x28]
mov word [ebp - 8], 0x7525
mov byte [ebp - 6], bl
call dword [sym.imp.libav.dll_Ordinal_44283]
lea esi, [eax + 0x10]
call fcn.00407175
add eax, dword [esi]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x80]
push 0x20
push eax
call dword [sym.imp.libav.dll_Ordinal_44276]
push dword [edi + 0x10]
mov esi, dword [ebp - 0x30]
push dword [edi + 0x18]
push esi
call dword [sym.imp.libav.dll_Ordinal_44324]
add esp, 0x24
cmp eax, 0xffffffff
jne 0x405bf2
call dword [sym.imp.MSVCR110.dll__errno]
push dword [eax]
call dword [sym.imp.libav.dll_Ordinal_44341]
push esi
call dword [sym.imp.libav.dll_Ordinal_44331]
pop ecx
jmp 0x405b15
push str.MaxConnectionQueueLength
push dword [ebp - 0x28]
call dword [sym.imp.libav.dll_Ordinal_44283]
mov eax, dword [eax + 0x10]
push eax
push esi
call dword [sym.imp.libav.dll_Ordinal_44325]
add esp, 0x10
cmp eax, 0xffffffff
je 0x405bd7
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x34]
mov eax, dword [edx]
mov dword [ecx + eax*4], esi
mov esi, edx
inc eax
mov dword [esi], eax
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x405ac8
mov edi, dword [ebp - 0x2c]
push edi
call dword [sym.imp.libav.dll_Ordinal_44334]
mov eax, dword [ebp - 0xc]
mov dword [0x40e688], eax
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
cmp dword [esi], ebx
jbe 0x405ab2
mov eax, dword [ebp - 0xc]
push dword [eax + ebx*4]
call dword [sym.imp.MSVCR110.dll__close]
inc ebx
pop ecx
cmp ebx, dword [esi]
jb 0x405c50
jmp 0x405ab2