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

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
test esi, esi
je 0x42491f
mov byte [esi + 0xc4], 1
cmp byte [esi + 0xc5], 0
je 0x424644
or ebp, 0xffffffff
jmp 0x42464a
mov ebp, dword [esi + 0xb4]
cmp dword [esi + 0x64], 0
mov ebx, dword [sym.imp.WS2_32.dll_closesocket]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
je 0x424780
mov eax, dword [esi + 0x78]
cmp eax, 1
jbe 0x424925
test dword [esi + 0xe4], 8
jne 0x424691
push str.0____daemon__options__MHD_USE_INTERNAL_POLLING_THREAD_
push 0x1891
push 0x4a8110
push 0x4a8164
jmp 0x424939
xor ebx, ebx
test eax, eax
je 0x42470e
xor edi, edi
nop dword [eax]
mov eax, dword [esi + 0x64]
mov byte [edi + eax + 0xc4], 1
mov eax, dword [esi + 0x64]
cmp dword [edi + eax + 0xbc], 0xffffffff
je 0x4246fd
push 0
push 1
push 0x4a6124
push dword [edi + eax + 0xc0]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x424702
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x424702
push str.Failed_to_signal_shutdown_via_inter_thread_communication_channel.
push 0x189a
push 0x4a81e0
push dword [0x4b03b8]
call dword [0x4b03b0]
add esp, 0x10
cmp ebp, 0xffffffff
je 0x424767
inc ebx
add edi, 0x120
cmp ebx, dword [esi + 0x78]
jb 0x4246a0
xor edi, edi
cmp dword [esi + 0x78], edi
jbe 0x424736
xor ebx, ebx
nop word [eax + eax]
mov ecx, dword [esi + 0x64]
add ecx, ebx
call fcn.00424620
inc edi
add ebx, 0x120
cmp edi, dword [esi + 0x78]
jb 0x424720
push dword [esi + 0x64]
call fcn.00446c84
add esp, 4
cmp dword [esi + 0xbc], 0xffffffff
je 0x4248ba
push str.MHD_ITC_IS_INVALID__daemon__itc_
push 0x18ab
push 0x4a82c0
push 0x4a8314
jmp 0x424939
push str.MHD_INVALID_SOCKET___fd
push 0x189d
push 0x4a8238
push 0x4a828c
jmp 0x424939
mov eax, dword [esi + 0xe4]
test al, 8
je 0x424867
cmp dword [esi + 0x78], 0
je 0x4247ad
push str.0__daemon__worker_pool_size
push 0x18b7
push 0x4a83c0
push 0x4a8414
jmp 0x424939
test eax, 0x2000
je 0x4247b9
call fcn.00421a90
test dword [esi + 0xe4], 8
je 0x42486c
cmp dword [esi + 0xbc], 0xffffffff
je 0x42484e
push 0
push 1
push 0x4a62c4
push dword [esi + 0xc0]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x424816
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x424816
push str.Failed_to_signal_shutdown_via_inter_thread_communication_channel
push 0x18c1
push 0x4a84e0
push dword [0x4b03b8]
call dword [0x4b03b0]
add esp, 0x10
push 0xffffffffffffffff
push dword [esi + 0x7c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x424830
push dword [esi + 0x7c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42486c
push str.Failed_to_join_a_thread_n
push 0x18d3
push 0x4a8630
push dword [0x4b03b8]
call dword [0x4b03b0]
add esp, 0x10
push str.false
push 0x18ce
push 0x4a8570
push 0x4a85c4
jmp 0x424939
call fcn.004243a0
mov eax, dword [esi + 0xbc]
cmp eax, 0xffffffff
je 0x42488f
push eax
call ebx
push dword [esi + 0xc0]
test eax, eax
jne 0x42489a
call ebx
neg eax
sbb eax, eax
add eax, 1
je 0x42489c
lea eax, [esi + 0x9c]
push eax
call edi
jmp 0x4248c6
call ebx
push str.Failed_to_destroy_ITC._n
push 0x18de
push 0x4a86b8
push dword [0x4b03b8]
call dword [0x4b03b0]
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 0x42491f
cmp ebp, 0xffffffff
je 0x4248f6
push ebp
call ebx
test eax, eax
je 0x4248f6
push str.Close_socket_failed._n
push 0x18f3
push 0x4a87a8
push dword [0x4b03b8]
call dword [0x4b03b0]
add esp, 0x10
push dword [esi + 0xf4]
call fcn.00446c84
add esp, 4
lea eax, [esi + 0xf8]
push eax
call edi
lea eax, [esi + 0x84]
push eax
call edi
push esi
call fcn.00446c84
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push str.1___daemon__worker_pool_size
push 0x1890
push 0x4a8068
push 0x4a80bc
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