Function at 0x405898
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48c
mov ecx, dword [0x40ef68]
mov eax, dword [0x40e688]
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.004071e5
lea esi, [eax + 0x10]
call fcn.00406f8f
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 0x40594e
or eax, 0xffffffff
jmp 0x405ad3
mov edi, dword [ebp - 0x2c]
test edi, edi
je 0x405ac1
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 0x405ad8
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 0x4059b2
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 0x405ab3
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 0x4059f7
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 0x4059f7
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 0x405a1c
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 0x405a22
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.004071e5
lea esi, [eax + 0x10]
call fcn.00406f8f
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 0x405a84
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 0x4059a9
mov ecx, dword [ebp - 0x28]
mov edx, str.MaxConnectionQueueLength
call fcn.004071e5
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 0x405a69
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 0x40595c
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 0x405946
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 0x405ae0
jmp 0x405946