Function at 0x4837d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
push edi
push esi
push ebx
mov esi, eax
sub esp, 0x5c
mov byte [eax + 0xc8], 0
mov eax, dword [eax + 0xbc]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
cmp eax, 0xffffffff
jne 0x483aa0
mov eax, dword [esi + 0xb4]
cmp eax, 0xffffffff
je 0x483811
movzx edx, byte [esi + 0xc5]
test dl, dl
je 0x4838f5
test byte [esi + 0xdc], 4
jne 0x4838e1
mov ebx, dword [esi + 0xc]
test ebx, ebx
je 0x4838e1
mov dword [esp + 0x28], esi
lea esi, [esi]
mov ebp, dword [ebx + 0x98]
mov edi, dword [ebx + 4]
cmp ebp, 0xffffffff
je 0x4838d3
mov eax, dword [esp + 0x70]
mov dword [esp], ebp
mov dword [esp + 4], eax
call sub.WS2_32.dll___WSAFDIsSet
sub esp, 8
mov esi, eax
mov eax, dword [esp + 0x20]
mov dword [esp], ebp
mov dword [esp + 4], eax
call sub.WS2_32.dll___WSAFDIsSet
sub esp, 8
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
mov dword [esp], ebp
mov dword [esp + 4], eax
call sub.WS2_32.dll___WSAFDIsSet
sub esp, 8
test esi, esi
jne 0x483a70
mov ecx, dword [ebx + 0xa8]
mov edx, dword [ebx + 0xa4]
test ecx, ecx
je 0x483a03
cmp ecx, 1
je 0x483af0
mov dword [esp], ebx
call fcn.0047f2b0
mov eax, dword [ebx + 0x10]
cmp byte [eax + 0xc8], 0
jne 0x4838d3
test byte [eax + 0xdc], 4
jne 0x4838d3
cmp dword [ebx + 0xa8], 2
jne 0x4838d3
mov byte [eax + 0xc8], 1
test edi, edi
mov ebx, edi
jne 0x483830
mov esi, dword [esp + 0x28]
mov eax, esi
call fcn.00483150
add esp, 0x5c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sub.WS2_32.dll___WSAFDIsSet
sub esp, 8
test eax, eax
je 0x483811
lea ebx, [esp + 0x34]
mov dword [esp + 0x30], 0x1c
xor edx, edx
xor eax, eax
mov dword [ebx + eax], edx
add eax, 4
cmp eax, 0x1c
jb 0x483920
mov edx, dword [esi + 0xb4]
cmp edx, 0xffffffff
je 0x483811
movzx eax, byte [esi + 0xc5]
test al, al
jne 0x483811
lea eax, [esp + 0x30]
mov dword [esp + 4], ebx
mov dword [esp], edx
mov dword [esp + 8], eax
call dword [sym.imp.WS2_32.dll_accept]
sub esp, 0xc
cmp eax, 0xffffffff
mov edi, eax
je 0x483974
mov ebp, dword [esp + 0x30]
test ebp, ebp
jg 0x483b4b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
lea eax, [eax - 0x2726]
and eax, 0xffffffdf
je 0x483811
cmp ebx, 0x2733
je 0x483b91
mov dword [esp], ebx
call fcn.00489370
mov dword [esp + 4], str.Error_accepting_connection:__s_n
mov dword [esp + 8], eax
mov dword [esp], esi
call fcn.00488450
cmp edi, 0xffffffff
je 0x4839cc
mov dword [esp], edi
call dword [sym.imp.WS2_32.dll_closesocket]
sub esp, 4
test eax, eax
jne 0x483bae
cmp ebx, 0x2728
je 0x4839e0
cmp ebx, 0x2747
jne 0x483811
mov ebx, dword [esi + 0xcc]
test ebx, ebx
jne 0x483c0d
mov dword [esp + 4], str.Hit_process_or_system_resource_limit_at_FIRST_connection._This_is_really_bad_as_there_is_no_sane_way_to_proceed._Will_try_busy_waiting_for_system_resources_to_become_magically_available._n
mov dword [esp], esi
call fcn.00488450
jmp 0x483811
test eax, eax
je 0x4838a6
mov dword [esp], ebx
mov dword [esp + 0x2c], edx
call fcn.0047e2e0
mov dword [esp], ebx
call fcn.0047f2b0
cmp dword [ebx + 0xa8], 1
mov edx, dword [esp + 0x2c]
je 0x483b20
test edx, edx
jne 0x4838ae
cmp byte [ebx + 0x9c], 0
je 0x4838ae
mov eax, dword [ebx + 0xa4]
cmp eax, 0xa
je 0x483b30
and eax, 0xfffffffd
cmp eax, 0xc
jne 0x4838ae
mov dword [esp], ebx
call fcn.0047e6c0
jmp 0x4838a6
mov dword [esp], ebx
mov dword [esp + 4], 1
call fcn.0047e180
mov dword [esp], ebx
mov ebx, edi
call fcn.0047f2b0
test edi, edi
jne 0x483830
jmp 0x4838dd
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.WS2_32.dll___WSAFDIsSet
sub esp, 8
test eax, eax
je 0x4837f7
mov edi, dword [sym.imp.WS2_32.dll_recv]
lea ebx, [esp + 0x34]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 4
mov dword [esp + 4], ebx
mov eax, dword [esi + 0xbc]
mov dword [esp], eax
call edi
sub esp, 0x10
test eax, eax
jg 0x483ac1
jmp 0x4837f7
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4838a6
mov dword [esp], ebx
mov dword [esp + 0x24], edx
call fcn.0047e6c0
mov dword [esp], ebx
call fcn.0047f2b0
mov edx, dword [esp + 0x24]
jmp 0x483a30
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x483a30
jmp 0x483afc
mov dword [esp], ebx
call fcn.0047e6c0
mov dword [esp], ebx
call fcn.0047f2b0
mov eax, dword [ebx + 0xa4]
jmp 0x483a54
mov dword [esp], eax
call fcn.0048a060
test eax, eax
mov ebp, eax
je 0x483be6
mov ebp, 1
mov dword [esp], edi
call fcn.0048a0a0
test eax, eax
je 0x483bd4
mov eax, dword [esp + 0x30]
mov dword [esp + 8], ebp
mov ecx, ebx
mov dword [esp + 4], 0
mov edx, edi
mov dword [esp], eax
mov eax, esi
call fcn.00482870
jmp 0x483811
cmp edi, 0xffffffff
je 0x483811
mov dword [esp], edi
call dword [sym.imp.WS2_32.dll_closesocket]
sub esp, 4
test eax, eax
je 0x483811
mov eax, dword [0x5769c0]
mov dword [esp + 0xc], str.Close_socket_failed._n
mov dword [esp + 8], 0xb83
mov dword [esp + 4], str.T:_Bin_prep_mhd_src_libmicrohttpd_0.9.58_src_microhttpd_daemon.c
mov dword [esp], eax
call dword [0x5769c4]
mov dword [esp + 4], str.Failed_to_set_noninheritable_mode_on_incoming_connection_socket._n
mov dword [esp], esi
call fcn.00488450
jmp 0x483b6e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp], eax
call fcn.00489370
mov dword [esp + 4], str.Failed_to_set_nonblocking_mode_on_incoming_connection_socket:__s_n
mov dword [esp + 8], eax
mov dword [esp], esi
call fcn.00488450
jmp 0x483b62
lea ebx, [esi + 0x9c]
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub esp, 4
mov byte [esi + 0xc6], 1
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi + 0xcc]
sub esp, 4
mov dword [esp + 4], str.Hit_process_or_system_resource_limit_at__u_connections__temporarily_suspending_accept__._Consider_setting_a_lower_MHD_OPTION_CONNECTION_LIMIT._n
mov dword [esp], esi
mov dword [esp + 8], eax
call fcn.00488450
jmp 0x483811