Function at 0x4dc3d4
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x4dc6a6
cmp dword [ebx + 0x440], 0
je 0x4dc6a6
mov dword [ebx + 0x404], 1
push 0
call fcn.00526bc8
pop ecx
mov dword [ebx + 0x450], eax
cmp dword [ebx + 0x440], 1
jne 0x4dc48d
mov dword [ebx + 0x440], 2
lea eax, [ebx + 0x234]
push eax
push dword [ebx + 0x424]
imul edx, dword [0x533af8], 0x64
add edx, 0x533a30
push edx
push str.120__s__lu__s_n
push 0x55df4f
call sub.USER32.dll_wsprintfA
add esp, 0x14
push 0
push 0x55df4f
call fcn.005183dc
pop ecx
push eax
push 0x55df4f
push dword [ebx + 0x46c]
call sub.WSOCK32.dll_send
push 0x21
push 0x414
push dword [0x537420]
push dword [ebx + 0x46c]
call sub.WSOCK32.dll_WSAAsyncSelect
mov eax, 1
jmp 0x4dc6c3
mov eax, dword [ebx + 0x440]
cmp eax, 2
je 0x4dc4a1
cmp eax, 3
jne 0x4dc6a6
push 0
push 0
push dword [0x537420]
push dword [ebx + 0x46c]
call sub.WSOCK32.dll_WSAAsyncSelect
push 0
push 0x2000
push 0x55df4f
push dword [ebx + 0x46c]
call sub.WSOCK32.dll_recv
cmp eax, 0xffffffff
je 0x4dc6a6
test eax, eax
jle 0x4dc6a6
mov byte [eax + 0x55df4f], 0
push 0x55df4f
call fcn.004b0463
test eax, eax
je 0x4dc6a6
mov edi, 0x55df4f
jmp 0x4dc4ff
inc edi
cmp byte [edi], 0x20
je 0x4dc4fe
cmp byte [edi], 0
je 0x4dc6a6
push 0x20
push edi
call fcn.0051833c
add esp, 8
mov esi, eax
test esi, esi
je 0x4dc6a6
mov byte [esi], 0
inc esi
jmp 0x4dc529
inc esi
cmp byte [esi], 0x20
je 0x4dc528
cmp byte [esi], 0
je 0x4dc6a6
push 0x20
push esi
call fcn.0051833c
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4dc580
mov eax, dword [ebp - 4]
mov byte [eax], 0
inc dword [ebp - 4]
jmp 0x4dc559
inc dword [ebp - 4]
mov edx, dword [ebp - 4]
cmp byte [edx], 0x20
je 0x4dc556
mov ecx, dword [ebp - 4]
cmp byte [ecx], 0
je 0x4dc580
push 0xa
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00522c80
add esp, 0xc
mov dword [ebx + 0x428], eax
push esi
call fcn.004b04bc
test eax, eax
je 0x4dc6a6
push edi
call fcn.0052175c
pop ecx
mov dword [ebx + 0x444], eax
cmp dword [ebx + 0x440], 3
jne 0x4dc607
cmp dword [ebx + 0x444], 0x84
jne 0x4dc6a6
lea edx, [ebx + 0x234]
push edx
lea ecx, [ebx + 4]
push ecx
push 0x535839
push 0x55df4f
call sub.USER32.dll_wsprintfA
add esp, 0x10
mov eax, dword [0x5357bc]
mov dword [0x5375b4], eax
push 1
push 1
push 3
push 0x55df4f
call fcn.004fd21f
mov esi, eax
mov dword [ebx], esi
test esi, esi
je 0x4dc6a6
push ebx
call fcn.004dca5a
mov eax, 1
jmp 0x4dc6c3
cmp dword [ebx + 0x444], 0x79
jne 0x4dc6a6
lea edi, [ebx + 4]
push esi
push edi
mov eax, edi
mov edi, esi
mov esi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push dword [ebx]
call fcn.004f9c59
mov esi, eax
test esi, esi
je 0x4dc664
lea eax, [ebx + 0x234]
push eax
push edi
push 0x535845
lea edx, [esi + 4]
push edx
call sub.USER32.dll_wsprintfA
add esp, 0x10
lea ecx, [ebx + 0x234]
push ecx
push edi
push str.Send__s__s
push 0x55df4f
call sub.USER32.dll_wsprintfA
add esp, 0x10
push 0x55df4f
push dword [ebx]
call sub.USER32.dll_SetWindowTextA
cmp dword [0x536414], 0
je 0x4dc699
push esi
call fcn.004e6fbd
push ebx
call fcn.004dca5a
mov eax, 1
jmp 0x4dc6c3
cmp dword [ebx + 0x440], 3
jne 0x4dc6bb
push 0
push ebx
call fcn.004db3b6
xor eax, eax
jmp 0x4dc6c3
push ebx
call fcn.004dd497
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4