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

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xdc]
mov ecx, eax
mov ebx, eax
shr ecx, 2
shr ebx, 0xf
and ecx, 0xffffff01
and ebx, 0xffffff01
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
test eax, 0x2000
je 0x100042c2
mov ecx, esi
mov byte [esi + 0xc3], 1
call fcn.100026a0
lea eax, [esi + 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test bl, bl
je 0x10004407
mov edi, dword [esi + 0x14]
test edi, edi
je 0x10004321
nop
mov eax, dword [edi + 0xe4]
test eax, eax
je 0x100043e9
cmp byte [eax + 4], 0
jne 0x10004302
push str.Initiated_daemon_shutdown_while__upgraded__connection_was_not_closed._n
push esi
call fcn.100085c0
add esp, 8
mov eax, dword [edi + 0xe4]
mov byte [eax + 4], 1
mov byte [edi + 0xf0], 1
mov byte [esi + 0xc3], 1
mov edi, dword [edi + 4]
test edi, edi
jne 0x100042e0
mov edi, dword [esi + 0xc]
test edi, edi
je 0x10004380
mov ebx, dword [sym.imp.WS2_32.dll_shutdown]
mov ebp, dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 2
push dword [edi + 0xa0]
call ebx
test dword [esi + 0xdc], 4
je 0x10004379
cmp dword [esi + 0xb8], 0xffffffff
je 0x10004379
push 0
push 1
push 0x10140844
push dword [esi + 0xbc]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x10004379
call ebp
cmp eax, 0x2733
jne 0x1000442f
mov edi, dword [edi + 4]
test edi, edi
jne 0x10004334
cmp byte [esp + 0x10], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
je 0x10004460
mov edi, dword [esi + 0xc]
test edi, edi
je 0x10004460
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [edi + 0xa6], 0
jne 0x1000444d
lea eax, [esi + 0x98]
push eax
call ebx
push 0xffffffffffffffff
push dword [edi + 0x50]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x100044c1
push dword [edi + 0x50]
call ebp
lea eax, [esi + 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [edi + 0xa6], 1
mov edi, dword [esi + 0xc]
jmp 0x10004450
push 0x101409dc
push 0x1849
push 0x10141298
push dword [0x10149f20]
call dword [0x10149f24]
add esp, 0x10
cmp dword [esi + 0x10], 0
je 0x10004321
push str.MHD_stop_daemon___called_while_we_have_suspended_connections._n
push 0x1868
push 0x10141338
push dword [0x10149f20]
call dword [0x10149f24]
add esp, 0x10
push 0x10141398
push 0x1871
push 0x10141408
push dword [0x10149f20]
call dword [0x10149f24]
add esp, 0x10
mov edi, dword [edi + 4]
test edi, edi
jne 0x100043a2
nop dword [eax + eax]
lea eax, [esi + 0x98]
push eax
call ebx
cmp byte [esp + 0x14], 0
je 0x1000447e
mov ecx, esi
mov byte [esi + 0xc3], 1
call fcn.100026a0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100044b3
nop word [eax + eax]
test dword [esi + 0xdc], 4
je 0x100044a5
cmp byte [eax + 0xa6], 0
je 0x100044df
mov ecx, eax
call fcn.10003270
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x10004490
mov ecx, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
jmp fcn.10002ab0
push 0x10140954
push 0x187f
push 0x101414c8
push dword [0x10149f20]
call dword [0x10149f24]
add esp, 0x10
push 0x10140ae4
push 0x189d
push 0x101415e0
push dword [0x10149f20]
call dword [0x10149f24]
add esp, 0x10
int3