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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ebx
push ebp
push esi
mov esi, ecx
push edi
test esi, esi
je 0x4bd6d3
mov byte [esi + 0xc4], 1
cmp byte [esi + 0xc5], 0
je 0x4bd3f9
or ebp, 0xffffffff
jmp 0x4bd3ff
mov ebp, dword [esi + 0xb4]
mov ecx, dword [esi + 0x64]
mov ebx, dword [sym.imp.WS2_32.dll_closesocket]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
test ecx, ecx
je 0x4bd531
mov eax, dword [esi + 0x78]
cmp eax, 1
jbe 0x4bd6db
test dword [esi + 0xe4], 8
jne 0x4bd447
push str.0____daemon__options__MHD_USE_INTERNAL_POLLING_THREAD_
push 0x1891
push 0x53db64
push 0x53db34
jmp 0x4bd6ef
xor ebx, ebx
test eax, eax
je 0x4bd4c3
xor edi, edi
nop
mov eax, dword [esi + 0x64]
mov byte [edi + eax + 0xc4], 1
mov eax, dword [esi + 0x64]
cmp dword [edi + eax + 0xbc], 0xffffffff
je 0x4bd4ad
push 0
push 1
push 0x53daec
push dword [edi + eax + 0xc0]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x4bd4b2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x4bd4b2
push str.Failed_to_signal_shutdown_via_inter_thread_communication_channel.
push 0x189a
push 0x53dab4
push dword [0x545874]
call dword [0x545870]
add esp, 0x10
cmp ebp, 0xffffffff
je 0x4bd518
mov eax, dword [esi + 0x78]
inc ebx
add edi, 0x120
cmp ebx, eax
jb 0x4bd450
mov ecx, dword [esi + 0x64]
xor ebx, ebx
test eax, eax
je 0x4bd4e9
xor edi, edi
nop dword [eax + eax]
mov ecx, dword [esi + 0x64]
add ecx, edi
call fcn.004bd3d0
inc ebx
add edi, 0x120
cmp ebx, dword [esi + 0x78]
jb 0x4bd4d0
mov ecx, dword [esi + 0x64]
push ecx
call fcn.004cc9e5
add esp, 4
cmp dword [esi + 0xbc], 0xffffffff
je 0x4bd66e
push str.MHD_ITC_IS_INVALID__daemon__itc_
push 0x18ab
push 0x53d9d4
push 0x53d9a4
jmp 0x4bd6ef
push str.MHD_INVALID_SOCKET___fd
push 0x189d
push 0x53da60
push 0x53da30
jmp 0x4bd6ef
mov eax, dword [esi + 0xe4]
test al, 8
je 0x4bd618
cmp dword [esi + 0x78], 0
je 0x4bd55e
push str.0__daemon__worker_pool_size
push 0x18b7
push 0x53d94c
push 0x53d91c
jmp 0x4bd6ef
test eax, 0x2000
je 0x4bd572
mov ecx, esi
call fcn.004ba8b0
mov eax, dword [esi + 0xe4]
test al, 8
je 0x4bd61f
cmp dword [esi + 0xbc], 0xffffffff
je 0x4bd5ff
push 0
push 1
push 0x53d8d4
push dword [esi + 0xc0]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x4bd5c7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x4bd5c7
push 0x53d8d8
push 0x18c1
push 0x53d89c
push dword [0x545874]
call dword [0x545870]
add esp, 0x10
push 0xffffffffffffffff
push dword [esi + 0x7c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4bd5e1
push dword [esi + 0x7c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4bd61f
push 0x53d810
push 0x18d3
push 0x53d7d8
push dword [0x545874]
call dword [0x545870]
add esp, 0x10
push str.false
push 0x18ce
push 0x53d85c
push 0x53d82c
jmp 0x4bd6ef
mov ecx, esi
call fcn.004bd150
mov eax, dword [esi + 0xbc]
cmp eax, 0xffffffff
je 0x4bd643
push eax
call ebx
mov ecx, dword [esi + 0xc0]
push ecx
test eax, eax
jne 0x4bd64e
call ebx
neg eax
sbb eax, eax
add eax, 1
je 0x4bd650
lea eax, [esi + 0x9c]
push eax
call edi
jmp 0x4bd67a
call ebx
push 0x53d7c0
push 0x18de
push 0x53d788
push dword [0x545874]
call dword [0x545870]
add esp, 0x10
mov ebx, dword [sym.imp.WS2_32.dll_closesocket]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
cmp dword [esi + 0x60], 0
jne 0x4bd6d3
cmp ebp, 0xffffffff
je 0x4bd6aa
push ebp
call ebx
test eax, eax
je 0x4bd6aa
push 0x53d770
push 0x18f3
push 0x53d738
push dword [0x545874]
call dword [0x545870]
add esp, 0x10
push dword [esi + 0xf4]
call fcn.004cc9e5
add esp, 4
lea eax, [esi + 0xf8]
push eax
call edi
lea eax, [esi + 0x84]
push eax
call edi
push esi
call fcn.004cc9e5
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push str.1___daemon__worker_pool_size
push 0x1890
push 0x53dc08
push 0x53dbd8
push 2
call fcn.004cb8fa
add esp, 4
push eax
call fcn.004038b0
add esp, 0x14
push 2
call fcn.004cb8fa
add esp, 4
push eax
call fcn.004cd32e
add esp, 4
call fcn.004cebb9
int3