Function at 0x4fb9c6
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov edi, 1
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
xor edx, edx
mov dword [ebp - 8], edx
mov eax, dword [esi + 4]
test eax, eax
je 0x4fba39
cmp byte [eax], 0x2d
jne 0x4fba39
push 0x74
push eax
call fcn.00539518
add esp, 8
test eax, eax
je 0x4fba08
xor edx, edx
mov dword [ebp - 4], edx
push 0x6e
push dword [esi + 4]
call fcn.00539518
add esp, 8
test eax, eax
je 0x4fba20
mov dword [ebp - 8], 1
push 0x62
push dword [esi + 4]
call fcn.00539518
add esp, 8
test eax, eax
je 0x4fba38
mov dword [ebp - 0x10], 1
inc edi
cmp dword [esi + edi*4], 0
jne 0x4fba51
push 0
push 0
push dword [esi]
push 0
call fcn.00467118
jmp 0x4fbe7f
mov dword [ebp - 0xc], edi
push 0x559cc7
mov ecx, dword [ebp - 0xc]
push dword [esi + ecx*4]
call fcn.00539874
add esp, 8
test eax, eax
je 0x4fbab4
push 0
push dword [0x559a4c]
mov eax, dword [ebp - 0xc]
push dword [esi + eax*4]
call fcn.004f9c7f
mov ebx, eax
test ebx, ebx
jne 0x4fbb26
push 0
push 0x145c
call fcn.0041c35b
push eax
mov eax, dword [ebp - 0xc]
push dword [esi + eax*4]
push 0x559ccb
push 0x5720e8
call sub.USER32.dll_wsprintfA
add esp, 0x10
xor eax, eax
jmp 0x4fbe7f
mov edx, dword [ebp - 0xc]
push dword [esi + edx*4]
call fcn.004f9be6
mov ebx, eax
test ebx, ebx
jne 0x4fbaf1
push 0
push 0x145d
call fcn.0041c35b
push eax
mov eax, dword [ebp - 0xc]
push dword [esi + eax*4]
push 0x559ce2
push 0x5720e8
call sub.USER32.dll_wsprintfA
add esp, 0x10
xor eax, eax
jmp 0x4fbe7f
cmp dword [ebx + 0xe4], 2
je 0x4fbb26
push 0
push 0x145e
call fcn.0041c35b
push eax
mov edx, dword [ebp - 0xc]
push dword [esi + edx*4]
push 0x559cf9
push 0x5720e8
call sub.USER32.dll_wsprintfA
add esp, 0x10
xor eax, eax
jmp 0x4fbe7f
cmp dword [ebx + 0xf0], 0
je 0x4fbb55
push 0
push 0x145f
call fcn.0041c35b
push eax
push str.__sockwrite:__s
push 0x5720e8
call sub.USER32.dll_wsprintfA
add esp, 0xc
xor eax, eax
jmp 0x4fbe7f
inc edi
cmp dword [ebp - 0x10], 0
je 0x4fbb7a
cmp dword [esi + edi*4], 0
je 0x4fbb7a
push dword [esi + edi*4]
call fcn.00542dbc
pop ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jg 0x4fbb79
xor edx, edx
mov dword [ebp - 0x10], edx
inc edi
cmp dword [esi + edi*4], 0
jne 0x4fbbbf
cmp dword [ebp - 8], 0
jne 0x4fbb98
push 0
push 0
push dword [esi]
push 0
call fcn.00467118
jmp 0x4fbe7f
mov ecx, dword [ebp + 0xc]
push esi
mov esi, 0x559d22
mov edi, ecx
mov eax, edi
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
push dword [ebp + 0xc]
call fcn.005395b8
pop ecx
mov edi, eax
jmp 0x4fbc64
cmp dword [ebp - 4], 0
je 0x4fbbcd
mov eax, dword [esi + edi*4]
cmp byte [eax], 0x26
je 0x4fbc13
mov edx, dword [ebp + 0xc]
mov byte [edx], 0
push esi
push dword [ebp + 0xc]
push edi
call fcn.004d5691
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x14], ecx
push dword [ebp + 0xc]
call fcn.005395b8
pop ecx
mov edi, eax
cmp dword [ebp - 8], 0
je 0x4fbc56
mov eax, dword [ebp + 0xc]
cmp byte [eax + edi - 1], 0xa
je 0x4fbc56
push 0x559d26
push dword [ebp + 0xc]
call fcn.005394dc
add esp, 8
add edi, 2
jmp 0x4fbc56
push dword [ebp + 0x10]
push dword [esi + edi*4]
call fcn.0041a1a8
test eax, eax
jne 0x4fbc4b
push 0
push 0x1457
call fcn.0041c35b
push eax
push dword [esi + edi*4]
push 0x559d2a
push 0x5720e8
call sub.USER32.dll_wsprintfA
add esp, 0x10
xor eax, eax
jmp 0x4fbe7f
mov edx, dword [eax]
add edx, dword [eax + 0xc]
mov dword [ebp - 0x14], edx
mov edi, dword [eax + 8]
cmp dword [ebp - 0x10], 0
je 0x4fbc64
cmp edi, dword [ebp - 0x10]
jle 0x4fbc64
mov edi, dword [ebp - 0x10]
cmp dword [ebx + 0xe4], 2
jne 0x4fbe46
cmp dword [ebx + 0xdc], 0
je 0x4fbd0c
mov eax, dword [ebx + 0xe0]
add eax, edi
cmp eax, 0x4000
jle 0x4fbcb9
push 0
push 0x1458
call fcn.0041c35b
push eax
mov edx, dword [ebp - 0xc]
push dword [esi + edx*4]
push str.__sockwrite:__s__s
push 0x5720e8
call sub.USER32.dll_wsprintfA
add esp, 0x10
xor eax, eax
jmp 0x4fbe7f
mov edx, dword [ebx + 0xe0]
add edx, edi
add edx, 5
push edx
push dword [ebx + 0xdc]
call fcn.00545f18
add esp, 8
test eax, eax
jne 0x4fbce9
push 2
push 0
push dword [esi]
push 0
call fcn.00467118
jmp 0x4fbe7f
mov edx, eax
mov dword [ebx + 0xdc], edx
push edi
push dword [ebp - 0x14]
add edx, dword [ebx + 0xe0]
push edx
call fcn.005393c8
add esp, 0xc
add dword [ebx + 0xe0], edi
jmp 0x4fbd4f
lea eax, [edi + 0xa]
push eax
call fcn.00545a4c
pop ecx
mov dword [ebx + 0xdc], eax
cmp dword [ebx + 0xdc], 0
jne 0x4fbd37
push 2
push 0
push dword [esi]
push 0
call fcn.00467118
jmp 0x4fbe7f
push edi
push dword [ebp - 0x14]
push dword [ebx + 0xdc]
call fcn.005393c8
add esp, 0xc
mov dword [ebx + 0xe0], edi
mov eax, dword [ebx + 0xe0]
cmp eax, 0x2000
jle 0x4fbd61
mov eax, 0x2000
push 0
push eax
push dword [ebx + 0xdc]
push dword [ebx + 0x120]
call sub.WSOCK32.dll_send
mov edi, eax
test edi, edi
jge 0x4fbdcc
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x4fbda4
push 0x23
push 0x438
push dword [0x55b3c8]
push dword [ebx + 0x120]
call sub.WSOCK32.dll_WSAAsyncSelect
jmp 0x4fbe46
mov dword [ebx + 0x11c], eax
movzx eax, ax
shl eax, 0x10
or eax, 2
push eax
push dword [ebx + 0x120]
push 0x438
push dword [0x55b3c8]
call sub.USER32.dll_PostMessageA
jmp 0x4fbe46
push 0
call fcn.00548d28
pop ecx
mov dword [ebx + 0x114], eax
test edi, edi
jle 0x4fbe0e
add dword [ebx + 0x108], edi
cmp edi, dword [ebx + 0xe0]
jge 0x4fbe0e
sub dword [ebx + 0xe0], edi
push dword [ebx + 0xe0]
mov eax, dword [ebx + 0xdc]
mov edx, eax
add edx, edi
push edx
push eax
call fcn.005393ec
add esp, 0xc
jmp 0x4fbe46
push dword [ebx + 0xdc]
call fcn.00545938
pop ecx
xor ecx, ecx
mov dword [ebx + 0xdc], ecx
xor eax, eax
mov dword [ebx + 0xe0], eax
cmp dword [0x558a48], 0
je 0x4fbe46
push ebx
push 0
push 0x43a
push dword [0x55b3c8]
call sub.USER32.dll_PostMessageA
push 0x559d58
mov edx, dword [ebp - 0xc]
push dword [esi + edx*4]
call fcn.00539874
add esp, 8
test eax, eax
je 0x4fbe7a
push 0
push dword [ebx + 0x124]
mov ecx, dword [ebp - 0xc]
push dword [esi + ecx*4]
call fcn.004f9c7f
mov ebx, eax
test ebx, ebx
jne 0x4fbc64
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc