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

Disassembly:
push ebp
push edi
mov ecx, 0x1f
push esi
push ebx
mov ebx, eax
xor eax, eax
mov ebp, edx
sub esp, 0x94c
test byte [ebx + 0xabf], 0x40
lea edi, [esp + 0x44]
mov dword [esp + 0x40], 0
mov dword [esp + 0xc0], 0
rep stosd dword es:[edi], eax
lea edi, [esp + 0xc4]
mov ecx, 0x1f
rep stosd dword es:[edi], eax
mov edi, dword [ebx + 0x128]
je 0x5ba224
mov eax, dword [edi + 0x1eb4]
sub eax, dword [edi + 0x1eb0]
lea ecx, [edi + 0x1cb0]
mov edx, 0x3c
add eax, 2
mov dword [esp], eax
mov eax, ebx
call sym._printsub.part.1
mov eax, dword [edi + 0x1eb0]
lea edx, [eax + 1]
mov dword [edi + 0x1eb0], edx
mov al, byte [eax]
cmp al, 0x23
je 0x5ba289
cmp al, 0x27
je 0x5ba34f
cmp al, 0x18
jne 0x5ba4dc
lea edx, [edi + 0x1c08]
xor eax, eax
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov dword [esp + 0x24], 0xf0
mov dword [esp + 0x20], 0xff
not ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], 0
lea eax, [ecx - 1]
mov edi, ecx
mov dword [esp + 0x14], 0x18
mov dword [esp + 0x3c], eax
jmp 0x5ba2c7
lea edx, [edi + 0x1c28]
xor eax, eax
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov dword [esp + 0x24], 0xf0
mov dword [esp + 0x20], 0xff
not ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], 0
lea eax, [ecx - 1]
mov edi, ecx
mov dword [esp + 0x14], 0x23
mov dword [esp + 0x3c], eax
lea esi, [esp + 0x140]
mov dword [esp + 0x10], 0xfa
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], str._c_c_c_c_s_c_c
mov dword [esp + 4], 0x800
add edi, 5
mov dword [esp], esi
call sym._curl_msnprintf
mov dword [esp + 0xc], 0
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov eax, dword [ebp]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_send]
sub esp, 0x10
test eax, eax
jns 0x5ba336
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp + 4], str.Sending_data_failed___d_
mov dword [esp + 8], eax
mov dword [esp], ebx
call sym._Curl_failf
test byte [ebx + 0xabf], 0x40
je 0x5ba4dc
mov esi, dword [esp + 0x3c]
add esi, 4
jmp 0x5ba4c6
lea eax, [esp + 0x140]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x27
mov dword [esp + 0x10], 0xfa
mov dword [esp + 0xc], 0xff
mov esi, 4
mov dword [esp + 8], 0x5d9255
mov dword [esp + 4], 0x800
mov dword [esp], eax
call sym._curl_msnprintf
mov eax, dword [edi + 0x1cac]
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x3c], 0
je 0x5ba442
mov eax, dword [esp + 0x3c]
or ecx, 0xffffffff
mov edx, dword [eax]
xor eax, eax
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
lea edi, [esi + ecx]
cmp edi, 0x7f9
ja 0x5ba432
lea eax, [esp + 0xc0]
mov dword [esp + 4], str._127_____127s
mov dword [esp], edx
mov dword [esp + 0xc], eax
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
call sym._sscanf
test eax, eax
je 0x5ba432
lea eax, [esp + 0xc0]
mov dword [esp + 0x14], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], str._c_s_c_s
mov dword [esp + 0x18], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, 0x800
sub eax, esi
mov dword [esp + 4], eax
lea eax, [esp + esi + 0x140]
mov esi, edi
mov dword [esp], eax
call sym._curl_msnprintf
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], eax
jmp 0x5ba39d
mov eax, 0x800
mov dword [esp + 0x10], 0xf0
mov dword [esp + 0xc], 0xff
sub eax, esi
mov dword [esp + 8], 0x5d9276
mov dword [esp + 4], eax
lea eax, [esp + 0x140]
add eax, esi
mov dword [esp], eax
call sym._curl_msnprintf
lea eax, [esi + 2]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
lea eax, [esp + 0x140]
mov dword [esp + 4], eax
mov eax, dword [ebp]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_send]
sub esp, 0x10
test eax, eax
jns 0x5ba4bd
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp + 4], str.Sending_data_failed___d_
mov dword [esp + 8], eax
mov dword [esp], ebx
call sym._Curl_failf
test byte [ebx + 0xabf], 0x40
je 0x5ba4dc
lea ecx, [esp + 0x142]
mov dword [esp], esi
mov edx, 0x3e
mov eax, ebx
call sym._printsub.part.1
add esp, 0x94c
pop ebx
pop esi
pop edi
pop ebp
ret