Function at 0x427730
Capabilities:
Send data
Send data on socket
Send http request

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0xa8], 0
mov edi, dword [esi + 0x10]
jne 0x4279c1
mov ecx, dword [esi + 0x1c]
mov byte [esi + 0xa8], 1
test ecx, ecx
je 0x42775f
call fcn.00424ae0
mov dword [esi + 0x1c], 0
lea ebx, [edi + 0x9c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0xdc], 0
je 0x4277d6
mov eax, dword [esi]
test eax, eax
jne 0x427784
cmp esi, dword [edi + 0x14]
jne 0x4279c5
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x4277ae
cmp esi, dword [edi + 0x10]
je 0x4277a9
push str._NULL____connection___prev_____connection____daemon__suspended_connections_head__
push 0xc6f
push 0x4aaa50
push 0x4aaa20
jmp 0x4279d9
mov dword [edi + 0x10], eax
jmp 0x4277b0
mov dword [ecx], eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
test ecx, ecx
jne 0x4277c7
mov dword [edi + 0x14], eax
mov byte [esi + 0xdc], cl
jmp 0x427936
mov dword [ecx + 4], eax
mov byte [esi + 0xdc], 0
jmp 0x427936
test dword [edi + 0xe4], 4
jne 0x4278d5
mov eax, dword [esi + 0x90]
cmp eax, dword [edi + 0xd8]
jne 0x427863
mov eax, dword [esi + 0x94]
cmp eax, dword [edi + 0xdc]
jne 0x427863
mov eax, dword [esi + 8]
test eax, eax
jne 0x427827
cmp esi, dword [edi + 0x24]
je 0x427827
push 0x4aab00
push 0xc79
push 0x4aaaa8
push 0x4aabc4
jmp 0x4279d9
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x427851
cmp esi, dword [edi + 0x20]
je 0x42784c
push 0x4aab70
push 0xc79
push 0x4aac40
push 0x4aabf4
jmp 0x4279d9
mov dword [edi + 0x20], eax
jmp 0x427854
mov dword [ecx + 8], eax
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
test ecx, ecx
jne 0x4278c4
mov dword [edi + 0x24], eax
jmp 0x4278c7
mov eax, dword [esi + 8]
test eax, eax
jne 0x427888
cmp esi, dword [edi + 0x2c]
je 0x427888
push 0x4aacf0
push 0xc7d
push 0x4aac98
push 0x4aadb4
jmp 0x4279d9
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x4278b2
cmp esi, dword [edi + 0x28]
je 0x4278ad
push 0x4aad60
push 0xc7d
push 0x4aae18
push 0x4aade4
jmp 0x4279d9
mov dword [edi + 0x28], eax
jmp 0x4278b5
mov dword [ecx + 8], eax
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
test ecx, ecx
jne 0x4278c4
mov dword [edi + 0x2c], eax
jmp 0x4278c7
mov dword [ecx + 0xc], eax
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov eax, dword [esi]
test eax, eax
jne 0x4278f9
cmp esi, dword [edi + 0xc]
je 0x4278f9
push str._NULL____connection___next_____connection____daemon__connections_tail__
push 0xc81
push 0x4aae70
push 0x4aaf68
jmp 0x4279d9
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x427923
cmp esi, dword [edi + 8]
je 0x42791e
push str._NULL____connection___prev_____connection____daemon__connections_head__
push 0xc81
push 0x4aafc8
push 0x4aaf98
jmp 0x4279d9
mov dword [edi + 8], eax
jmp 0x427925
mov dword [ecx], eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
test ecx, ecx
jne 0x427933
mov dword [edi + 0xc], eax
jmp 0x427936
mov dword [ecx + 4], eax
mov dword [esi + 4], 0
mov dword [esi], 0
mov eax, dword [edi + 0x18]
mov dword [esi], eax
mov dword [esi + 4], 0
cmp dword [edi + 0x1c], 0
jne 0x42795a
mov dword [edi + 0x1c], esi
jmp 0x427960
mov eax, dword [edi + 0x18]
mov dword [eax + 4], esi
mov dword [edi + 0x18], esi
push ebx
mov byte [esi + 0xe4], 0
mov byte [esi + 0xa7], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test dword [edi + 0xe4], 4
je 0x4279c1
cmp dword [edi + 0xbc], 0xffffffff
je 0x4279c1
push 0
push 1
push 0x4aae14
push dword [edi + 0xc0]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x4279c1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x4279c1
push str.Failed_to_signal_end_of_connection_via_inter_thread_communication_channel
push edi
call fcn.00428de0
add esp, 8
pop edi
pop esi
pop ebx
ret
push str._NULL____connection___next_____connection____daemon__suspended_connections_tail__
push 0xc6f
push 0x4aa8e8
push 0x4aa9f0
push 2
call fcn.00449f5a
add esp, 4
push eax
call fcn.00408050
add esp, 0x14
push 2
call fcn.00449f5a
add esp, 4
push eax
call fcn.0044a5b8
add esp, 4
call fcn.0044ca25
int3