Function at 0x56bd3c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x56bd44
push ebx
push esi
xor eax, eax
push ebp
push 0x56c1ae
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [0x6c0e5c]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x56bd9a
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 0
mov eax, dword [0x6c0e5c]
mov eax, dword [eax]
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, 0xe0
call fcn.00402fb0
inc dword [ebp - 0x18]
dec dword [ebp - 0x28]
jne 0x56bd79
mov eax, dword [0x6c0e5c]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x44]
mov edx, dword [setsockopt]
mov edx, dword [edx + 0x168]
lea eax, [ebp - 4]
mov ecx, 0x56c1c8
call fcn.004056ac
mov dl, 1
mov eax, dword [0x41d624]
call fcn.00404400
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
call fcn.0040ada0
test al, al
je 0x56c156
mov eax, dword [0x6c0e5c]
mov eax, dword [eax]
call fcn.0066cb48
xor edx, edx
push ebp
push 0x56c13f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x6c0e5c]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x44]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x56c125
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push 2
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 0x30], 0x20
mov byte [ebp - 0x2f], 0x2c
mov byte [ebp - 0x2e], 9
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.004e374c
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 8]
call fcn.0040542c
push 2
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 0x30], 0x20
mov byte [ebp - 0x2f], 0x2c
mov byte [ebp - 0x2e], 9
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.004e374c
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 8]
call fcn.0040542c
push 2
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 0x30], 0x20
mov byte [ebp - 0x2f], 0x2c
mov byte [ebp - 0x2e], 9
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004e374c
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 8]
call fcn.0040542c
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.0040a9ec
mov dword [ebp - 0x1c], eax
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.0040a9ec
mov esi, eax
cmp dword [ebp - 8], 0
je 0x56c119
cmp dword [ebp - 0xc], 0
je 0x56c119
cmp dword [ebp - 0x1c], 1
jl 0x56c119
cmp dword [ebp - 0x1c], 4
jg 0x56c119
test esi, esi
jle 0x56c119
mov eax, dword [0x6c0ec4]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
call fcn.005bf938
test eax, eax
je 0x56c119
mov eax, dword [0x6c0e5c]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov ebx, eax
test ebx, ebx
jge 0x56bf5f
mov eax, 0xe0
call fcn.00402f94
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov edx, 0xe0
call fcn.00403ae0
mov eax, dword [0x6c0e5c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
jmp 0x56bf70
mov eax, dword [0x6c0e5c]
mov eax, dword [eax]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x24]
mov word [edx + eax*8 - 2], si
xor ebx, ebx
push 3
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 0x40], 0x20
mov byte [ebp - 0x3f], 0x2c
mov byte [ebp - 0x3e], 0x2d
mov byte [ebp - 0x3d], 9
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004e374c
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 8]
call fcn.0040542c
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.0040a9ec
mov esi, eax
push 2
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 0x30], 0x20
mov byte [ebp - 0x2f], 0x2c
mov byte [ebp - 0x2e], 9
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004e374c
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 8]
call fcn.0040542c
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.0040a9ec
movzx edx, si
movzx eax, ax
shl eax, 0x10
or edx, eax
mov eax, dword [ebp - 0x1c]
mov ecx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, ecx
mov ecx, dword [ebp - 0x24]
lea eax, [ecx + eax*8]
mov dword [eax + ebx*4 - 0x38], edx
inc ebx
cmp ebx, 7
jne 0x56bf87
xor ebx, ebx
push 3
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 0x40], 0x20
mov byte [ebp - 0x3f], 0x2c
mov byte [ebp - 0x3e], 0x2d
mov byte [ebp - 0x3d], 9
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004e374c
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 8]
call fcn.0040542c
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.0040a9ec
mov esi, eax
push 2
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 0x30], 0x20
mov byte [ebp - 0x2f], 0x2c
mov byte [ebp - 0x2e], 9
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004e374c
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 8]
call fcn.0040542c
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.0040a9ec
mov edx, esi
movzx edx, dl
movzx eax, al
shl eax, 8
or dx, ax
mov eax, dword [ebp - 0x1c]
mov ecx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, ecx
mov ecx, dword [ebp - 0x24]
lea eax, [ecx + eax*8]
mov word [eax + ebx*2 - 0x1c], dx
inc ebx
cmp ebx, 6
jne 0x56c025
xor ebx, ebx
push 2
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 0x30], 0x20
mov byte [ebp - 0x2f], 0x2c
mov byte [ebp - 0x2e], 9
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004e374c
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 8]
call fcn.0040542c
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.0040a9ec
mov edx, dword [ebp - 0x1c]
mov ecx, edx
add edx, edx
add edx, edx
add edx, edx
sub edx, ecx
mov ecx, dword [ebp - 0x24]
lea edx, [ecx + edx*8]
mov byte [edx + ebx - 0x10], al
inc ebx
cmp ebx, 0xe
jne 0x56c0c7
inc dword [ebp - 0x18]
dec dword [ebp - 0x28]
jne 0x56be2b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56c146
mov eax, dword [0x6c0e5c]
mov eax, dword [eax]
call fcn.0066cb54
ret
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x44]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 0x20]
call fcn.00404430
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56c1b5
lea eax, [ebp - 0x50]
mov edx, 4
call fcn.004053b8
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.004053b8
lea eax, [ebp - 0x2c]
call fcn.00405394
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.004053b8
ret