Function at 0x56e848
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x31
push 0
push 0
dec ecx
jne 0x56e850
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x56eced
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x48]
mov eax, 0x56ed08
call fcn.004f2300
mov ecx, dword [ebp - 0x48]
mov edx, dword [setsockopt]
mov edx, dword [edx + 0x16c]
lea eax, [ebp - 4]
call fcn.004056ac
mov eax, dword [ebp - 4]
call fcn.0066b3d4
test al, al
je 0x56eca8
mov dl, 1
mov eax, dword [0x6411fc]
call fcn.00404400
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x68]
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 4]
call fcn.0040aea4
mov edx, dword [ebp - 0x4c]
lea ecx, [ebp - 0x3c]
mov eax, ebx
call fcn.005656a0
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x56eca0
inc ebx
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x50]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 8]
call fcn.0040a284
cmp dword [ebp - 8], 0
je 0x56ec96
mov eax, dword [ebp - 8]
cmp byte [eax], 0x3b
je 0x56ec96
or edi, 0xffffffff
push 1
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 0x58], 0x20
mov byte [ebp - 0x57], 9
lea ecx, [ebp - 0x58]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.004e3904
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 8]
call fcn.0040542c
cmp dword [ebp - 0xc], 0
je 0x56e96c
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0x22
jne 0x56e96c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x5c]
push eax
mov ecx, 0x56ed24
mov edx, 0x56ed24
mov eax, dword [ebp - 0xc]
call fcn.004e3a98
push 2
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 0x60], 0x5c
mov byte [ebp - 0x5f], 0x2f
mov byte [ebp - 0x5e], 0x7c
lea ecx, [ebp - 0x60]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0xc]
call fcn.004e374c
cmp dword [ebp - 0xc], 0
je 0x56e9df
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0x24
jne 0x56e9df
mov byte [ebp - 0x41], 1
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x56e9aa
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 0x64]
push eax
mov ecx, esi
mov edx, 2
mov eax, dword [ebp - 0xc]
call fcn.0040588c
mov eax, dword [ebp - 0x64]
or edx, 0xffffffff
call fcn.0040a9ec
mov edi, eax
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x38]
call fcn.0040542c
lea eax, [ebp - 0x38]
call fcn.00405394
jmp 0x56e9e3
mov byte [ebp - 0x41], 0
push 1
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 0x58], 0x20
mov byte [ebp - 0x57], 9
lea ecx, [ebp - 0x58]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.004e374c
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 8]
call fcn.0040542c
push 1
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x58], 0x20
mov byte [ebp - 0x57], 9
lea ecx, [ebp - 0x58]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004e374c
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 8]
call fcn.0040542c
push 1
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 0x58], 0x20
mov byte [ebp - 0x57], 9
lea ecx, [ebp - 0x58]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.004e374c
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 8]
call fcn.0040542c
push 1
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 0x58], 0x20
mov byte [ebp - 0x57], 9
lea ecx, [ebp - 0x58]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.004e374c
mov edx, dword [ebp - 0x74]
lea eax, [ebp - 8]
call fcn.0040542c
push 1
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 0x58], 0x20
mov byte [ebp - 0x57], 9
lea ecx, [ebp - 0x58]
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 8]
call fcn.004e374c
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 8]
call fcn.0040542c
push 1
lea eax, [ebp - 0x7c]
push eax
mov byte [ebp - 0x58], 0x20
mov byte [ebp - 0x57], 9
lea ecx, [ebp - 0x58]
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.004e374c
mov edx, dword [ebp - 0x7c]
lea eax, [ebp - 8]
call fcn.0040542c
push 1
lea eax, [ebp - 0x80]
push eax
mov byte [ebp - 0x58], 0x20
mov byte [ebp - 0x57], 9
lea ecx, [ebp - 0x58]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.004e374c
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 8]
call fcn.0040542c
push 1
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 0x58], 0x20
mov byte [ebp - 0x57], 9
lea ecx, [ebp - 0x58]
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 8]
call fcn.004e374c
mov edx, dword [ebp - 0x84]
lea eax, [ebp - 8]
call fcn.0040542c
cmp dword [ebp - 0xc], 0
je 0x56ec96
cmp dword [ebp - 0x14], 0
je 0x56ec96
cmp dword [ebp - 0x24], 0
je 0x56ec96
xor esi, esi
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.0040a9ec
sub eax, 1
jb 0x56eb57
je 0x56eb67
dec eax
je 0x56eb77
jmp 0x56eb85
mov dl, 1
mov eax, dword [0x61a018]
call fcn.0061cdb8
mov esi, eax
jmp 0x56eb85
mov dl, 1
mov eax, dword [0x61a34c]
call fcn.0063e2c8
mov esi, eax
jmp 0x56eb85
mov dl, 1
mov eax, dword [0x61a62c]
call fcn.0063e268
mov esi, eax
test esi, esi
je 0x56ec96
lea eax, [ebp - 0x184]
mov edx, dword [ebp - 0x14]
mov ecx, 0xff
call fcn.00405630
lea edx, [ebp - 0x184]
lea eax, [esi + 4]
mov cl, 0x10
call fcn.004039d0
xor edx, edx
mov eax, dword [ebp - 0x18]
call fcn.0040a9ec
mov dword [esi + 0x24], eax
xor edx, edx
mov eax, dword [ebp - 0x1c]
call fcn.0040a9ec
mov dword [esi + 0x28], eax
lea eax, [ebp - 0x184]
mov edx, dword [ebp - 0xc]
mov ecx, 0xff
call fcn.00405630
lea edx, [ebp - 0x184]
lea eax, [esi + 0x15]
mov cl, 0xe
call fcn.004039d0
lea eax, [esi + 0xc18]
mov edx, dword [ebp - 0x38]
call fcn.004053e8
movzx eax, byte [ebp - 0x41]
mov byte [esi + 0xc34], al
mov dword [esi + 0xc38], edi
xor edx, edx
mov eax, dword [ebp - 0x20]
call fcn.0040a9ec
mov byte [esi + 0xc04], al
push 0
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 0x188], 0x2e
lea ecx, [ebp - 0x188]
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x24]
call fcn.004e374c
xor edx, edx
mov eax, dword [ebp - 0x34]
call fcn.0040a9ec
mov word [esi + 0x228], ax
xor edx, edx
mov eax, dword [ebp - 0x30]
call fcn.0040a9ec
mov byte [esi + 0x2c], al
xor edx, edx
mov eax, dword [ebp - 0x28]
call fcn.0040a9ec
test eax, eax
je 0x56ec6c
mov byte [esi + 0xc1c], 1
xor edx, edx
mov eax, dword [ebp - 0x2c]
call fcn.0040a9ec
imul eax, eax, 0x3e8
mov dword [esi + 0xc24], eax
mov eax, dword [0x6c0ec4]
mov eax, dword [eax]
mov eax, dword [eax + 0x1e94]
mov edx, esi
call fcn.0041fa54
inc dword [ebp - 0x40]
dec ebx
jne 0x56e8eb
mov eax, dword [ebp - 0x3c]
call fcn.00404430
mov ebx, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56ecf4
lea eax, [ebp - 0x84]
mov edx, 9
call fcn.004053b8
lea eax, [ebp - 0x5c]
call fcn.00405394
lea eax, [ebp - 0x54]
mov edx, 4
call fcn.004053b8
lea eax, [ebp - 0x38]
mov edx, 0xe
call fcn.004053b8
ret