Function at 0x405bab
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48c
mov ecx, dword [0x412ea8]
mov eax, dword [0x412adc]
push ebx
push esi
mov dword [ebp - 4], edx
xor ebx, ebx
push edi
lea edx, [ebp - 0x18]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], 1
mov dword [ebp - 0xc], eax
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 fcn.00406f1e
lea esi, [eax + 0x10]
call fcn.00406e25
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, 0x24
test eax, eax
je 0x405c61
or eax, 0xffffffff
jmp 0x405de6
mov edi, dword [ebp - 0x2c]
test edi, edi
je 0x405dd4
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 0x405deb
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 0x405cc5
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 0x405dc6
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 0x405d0a
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 0x405d0a
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 0x405d2f
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 0x405d35
mov byte [ebp - 0x488], bl
mov ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x18]
mov word [ebp - 8], 0x7525
mov byte [ebp - 6], bl
call fcn.00406f1e
lea esi, [eax + 0x10]
call fcn.00406e25
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, 0x1c
cmp eax, 0xffffffff
jne 0x405d97
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 0x405cbc
mov ecx, dword [ebp - 0x28]
mov edx, str.MaxConnectionQueueLength
call fcn.00406f1e
mov eax, dword [eax + 0x10]
push eax
push esi
call dword [sym.imp.libav.dll_Ordinal_44325]
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x405d7c
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 0x405c6f
mov edi, dword [ebp - 0x2c]
push edi
call dword [sym.imp.libav.dll_Ordinal_44334]
mov eax, dword [ebp - 0xc]
mov dword [0x412adc], eax
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
cmp dword [esi], ebx
jbe 0x405c59
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 0x405df3
jmp 0x405c59