Function at 0x4874f0
Capabilities:
Get local ipv4 addresses
Get socket information
Set socket configuration

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x11c
mov ebp, dword [esp + 0x130]
mov edi, dword [esp + 0x134]
mov esi, dword [esp + 0x140]
mov dword [esp + 0x58], 1
mov dword [esp + 0x5c], 0
mov eax, ebp
and eax, 0x4242
mov dword [esp + 0x2c], eax
jne 0x4877bb
mov eax, ebp
or ah, 0x24
test ebp, 0x8000
cmovne ebp, eax
test esi, esi
je 0x4877bb
mov eax, ebp
and eax, 0x240
cmp eax, 0x240
je 0x4877bb
mov edx, ebp
and edx, 0x204
cmp edx, 0x204
je 0x4877bb
mov edx, ebp
and edx, 0x4c
cmp edx, 0x40
je 0x4877bb
test ebp, 0x10000
je 0x48758a
test eax, eax
jne 0x4877bb
mov dword [esp + 4], 0x114
mov dword [esp], 1
call sub.msvcrt.dll_calloc
test eax, eax
mov ebx, eax
je 0x4877bb
mov dword [eax + 0xb4], 0xffffffff
mov dword [eax + 0xb8], 0
mov dword [eax + 0xdc], ebp
mov eax, ebp
mov word [ebx + 0xe0], di
shr eax, 5
mov dword [ebx], esi
mov dword [ebx + 0xcc], 0
and eax, 1
mov dword [ebx + 0xd0], 0x7fe
mov dword [ebx + 0x6c], 0x8000
mov dword [ebx + 0xe4], eax
mov eax, dword [esp + 0x138]
mov dword [ebx + 0x70], 0x400
mov dword [ebx + 0x50], 0x482480
mov dword [ebx + 0xd4], 0
mov dword [ebx + 0xc0], 0xffffffff
mov dword [ebx + 0x30], eax
mov eax, dword [esp + 0x13c]
mov dword [ebx + 0xbc], 0xffffffff
mov dword [ebx + 0x110], 0x7fffffff
mov dword [ebx + 0x58], 0x482470
mov dword [ebx + 0x34], eax
mov eax, dword [esp + 0x144]
mov dword [ebx + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [ebx + 0x5c], eax
mov eax, ebp
and eax, 0xc
cmp eax, 4
je 0x487a05
mov eax, ebp
and ah, 0xfb
test ebp, 8
jne 0x487a1e
lea ecx, [esp + 0x148]
lea edx, [esp + 0x5c]
mov dword [ebx + 0xdc], eax
mov dword [ebx + 0x108], 0
mov dword [ebx + 0xe8], 0
mov eax, ebx
mov dword [ebx + 0x10c], 4
call fcn.00484880
cmp eax, 1
jne 0x4877b3
test byte [ebx + 0xdd], 4
je 0x4876cc
mov esi, dword [ebx + 0x78]
test esi, esi
je 0x487a30
mov ecx, dword [ebx + 0x10c]
test ecx, ecx
je 0x487708
imul esi, ecx, 0x98
mov edx, 0x1af286bd
mov eax, esi
shr eax, 3
mul edx
shr edx, 1
cmp ecx, edx
jne 0x487ce3
mov dword [esp], esi
call sub.msvcrt.dll_malloc
test eax, eax
mov dword [ebx + 0xec], eax
je 0x48809a
lea eax, [ebx + 0xf0]
mov dword [esp + 4], 0x10
mov dword [esp + 0x38], eax
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov dword [esp + 0x30], eax
call eax
sub esp, 8
test eax, eax
je 0x487f20
mov eax, dword [ebx + 0xdc]
test al, 8
jne 0x4877d0
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x4877d0
mov dword [esp + 4], str.MHD_thread_pooling_only_works_with_MHD_USE_INTERNAL_POLLING_THREAD_n
mov dword [esp], ebx
call fcn.00488450
mov esi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [ebx + 0xec]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0xbc]
sub esp, 4
cmp eax, 0xffffffff
je 0x4877b3
mov dword [esp], eax
mov esi, dword [sym.imp.WS2_32.dll_closesocket]
call esi
sub esp, 4
test eax, eax
mov eax, dword [ebx + 0xc0]
mov dword [esp], eax
jne 0x487d67
call esi
sub esp, 4
test eax, eax
jne 0x487d6a
mov dword [esp], ebx
call sub.msvcrt.dll_free
xor ebx, ebx
add esp, 0x11c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebx + 0xb4]
cmp ecx, 0xffffffff
mov dword [esp + 0x34], ecx
je 0x487b02
cmp word [ebx + 0xe0], 0
je 0x487a75
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.0048a060
test eax, eax
je 0x487b44
lea eax, [ebx + 0x84]
mov dword [esp + 4], 0x10
mov dword [esp + 0x40], eax
mov dword [esp], eax
call dword [esp + 0x30]
sub esp, 8
test eax, eax
je 0x487cb0
mov edi, dword [ebx + 0x78]
test edi, edi
je 0x487bc0
mov eax, dword [ebx + 0xdc]
and eax, 0x108
cmp eax, 8
jne 0x4877bd
imul eax, edi, 0x114
mov esi, dword [ebx + 0xd0]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
test eax, eax
mov ebp, eax
mov dword [ebx + 0x64], eax
je 0x4879bc
mov eax, esi
xor edx, edx
mov dword [esp + 0x3c], 0
div edi
mov dword [esp + 0x44], eax
add eax, 1
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
jmp 0x48791e
mov dword [ebp + 0xc0], 0xffffffff
mov dword [ebp + 0xbc], 0xffffffff
mov edi, dword [esp + 0x2c]
cmp dword [esp + 0x48], edi
lea esi, [ebp + 0x9c]
mov eax, dword [esp + 0x4c]
cmovbe eax, dword [esp + 0x44]
mov dword [ebp + 0xd0], eax
mov dword [esp + 4], 0x10
mov dword [esp], esi
call dword [esp + 0x30]
sub esp, 8
test eax, eax
je 0x488050
mov dword [esp + 0xc], ebp
mov dword [esp + 8], 0x486150
add ebp, 0x7c
mov eax, dword [ebx + 0x74]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.00489320
test eax, eax
je 0x488065
add dword [esp + 0x2c], 1
add dword [esp + 0x3c], 0x114
mov eax, dword [esp + 0x2c]
cmp eax, dword [ebx + 0x78]
jae 0x4877bd
mov ebp, dword [ebx + 0x64]
add ebp, dword [esp + 0x3c]
mov eax, dword [ebx]
mov esi, ebx
lea edi, [ebp + 4]
mov dword [ebp], eax
mov ecx, ebp
mov eax, dword [ebx + 0x110]
and edi, 0xfffffffc
sub ecx, edi
sub esi, ecx
add ecx, 0x114
mov dword [ebp + 0x110], eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x78], 0
mov dword [ebp + 0x64], 0
test byte [ebx + 0xdd], 4
je 0x487890
lea eax, [ebp + 0xbc]
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.00489ca0
test eax, eax
jne 0x4878a4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp], eax
call fcn.00489370
mov dword [esp + 4], str.Failed_to_create_worker_inter_thread_communication_channel:__s_n
mov dword [esp + 8], eax
mov dword [esp], ebx
call fcn.00488450
lea esi, [esi]
mov edx, dword [esp + 0x2c]
test edx, edx
jne 0x488205
cmp dword [esp + 0x34], 0xffffffff
je 0x4879db
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_closesocket]
sub esp, 4
test eax, eax
jne 0x488219
mov eax, dword [esp + 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0x64]
sub esp, 4
test eax, eax
je 0x487762
mov dword [esp], eax
call sub.msvcrt.dll_free
jmp 0x487762
mov dword [esp + 4], str.Warning:_MHD_USE_THREAD_PER_CONNECTION_must_be_used_only_with_MHD_USE_INTERNAL_POLLING_THREAD._Flag_MHD_USE_INTERNAL_POLLING_THREAD_was_added._Consider_setting_MHD_USE_INTERNAL_POLLING_THREAD_explicitly._n
mov dword [esp], ebx
call fcn.00488450
mov ebp, dword [ebx + 0xdc]
or ebp, 8
mov eax, ebp
or ah, 4
jmp 0x487679
lea eax, [ebx + 0xbc]
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.00489ca0
test eax, eax
jne 0x4876cc
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp], eax
call fcn.00489370
mov dword [esp + 4], str.Failed_to_create_inter_thread_communication_channel:__s_n
mov dword [esp + 8], eax
mov dword [esp], ebx
call fcn.00488450
jmp 0x4877b3
mov eax, dword [ebx + 0xdc]
and eax, 0x100
jne 0x4877f1
lea edx, [esp + 0x90]
mov ecx, 0x20
mov dword [esp + 0x60], pe_nt_image_headers32
mov edi, edx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x60]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_getsockname]
sub esp, 0xc
test eax, eax
jne 0x487f70
movzx eax, word [esp + 0x90]
cmp ax, 2
je 0x487f50
cmp ax, 0x17
je 0x487f50
cmp ax, 1
je 0x487af4
mov dword [esp + 4], str.Unknown_address_family__n
mov dword [esp], ebx
call fcn.00488450
xor esi, esi
mov word [ebx + 0xe0], si
jmp 0x4877f1
test ah, 1
je 0x487d90
lea eax, [ebx + 0x84]
mov dword [esp + 4], 0x10
mov dword [esp + 0x40], eax
mov dword [esp], eax
call dword [esp + 0x30]
sub esp, 8
test eax, eax
jne 0x487829
mov dword [esp + 4], str.MHD_failed_to_initialize_IP_connection_limit_mutex_n
mov dword [esp], ebx
call fcn.00488450
jmp 0x487cd8
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_listening_socket:__s_n
mov dword [esp + 8], eax
mov dword [esp], ebx
call fcn.00488450
test byte [ebx + 0xdd], 2
jne 0x487b7a
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x487805
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_closesocket]
sub esp, 4
test eax, eax
je 0x487cd8
mov eax, dword [0x5769c0]
mov dword [esp + 0xc], str.Close_socket_failed._n
mov dword [esp + 8], 0x16d4
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]
nop
lea esi, [esi]
lea esi, [ebx + 0x9c]
mov dword [esp + 4], 0x10
mov dword [esp], esi
call dword [esp + 0x30]
sub esp, 8
test eax, eax
je 0x487d02
mov eax, dword [ebx + 0xdc]
and eax, 0x108
cmp eax, 8
jne 0x4877bd
mov edi, dword [ebx + 0x78]
test edi, edi
jne 0x487848
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x486150
mov eax, dword [ebx + 0x74]
mov dword [esp + 4], eax
lea eax, [ebx + 0x7c]
mov dword [esp], eax
call fcn.00489320
test eax, eax
jne 0x4877bd
call dword [sym.imp.msvcrt.dll__errno]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov dword [esp + 4], str.Failed_to_create_listen_thread:__s_n
mov dword [esp + 8], eax
mov dword [esp], ebx
call fcn.00488450
mov dword [esp], esi
mov esi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call esi
sub esp, 4
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call esi
sub esp, 4
mov eax, dword [esp + 0x34]
cmp eax, 0xffffffff
je 0x487762
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_closesocket]
sub esp, 4
test eax, eax
je 0x487762
mov eax, dword [0x5769c0]
mov dword [esp + 0xc], str.Close_socket_failed._n
mov dword [esp + 8], 0x1738
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]
lea esi, [esi]
mov dword [esp + 4], str.MHD_failed_to_initialize_IP_connection_limit_mutex_n
mov dword [esp], ebx
call fcn.00488450
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_closesocket]
sub esp, 4
test eax, eax
jne 0x48823f
mov esi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jmp 0x487762
mov dword [esp], ebx
mov dword [esp + 4], str.Specified_value_for_NC_SIZE_too_large_n
call fcn.00488450
mov dword [esp], ebx
xor ebx, ebx
call sub.msvcrt.dll_free
jmp 0x4877bd
mov dword [esp + 4], str.MHD_failed_to_initialize_IP_connection_limit_mutex_n
mov dword [esp], ebx
call fcn.00488450
mov dword [esp], esi
mov esi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call esi
sub esp, 4
mov eax, dword [esp + 0x34]
cmp eax, 0xffffffff
je 0x487762
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_closesocket]
sub esp, 4
test eax, eax
je 0x487762
mov eax, dword [0x5769c0]
mov dword [esp + 0xc], str.Close_socket_failed._n
mov dword [esp + 8], 0x170e
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]
call esi
push eax
mov eax, dword [0x5769c0]
mov dword [esp + 0xc], str.Failed_to_destroy_ITC._n
mov dword [esp + 8], 0x17dd
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]
and eax, 0x10
mov dword [esp], eax
call fcn.0048a0d0
cmp eax, 0xffffffff
mov dword [esp + 0x34], eax
je 0x488023
cmp dword [ebx + 0xb8], 0
je 0x487def
lea eax, [esp + 0x58]
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], eax
jle 0x4880bb
mov dword [esp + 8], 4
mov eax, dword [esp + 0x34]
mov dword [esp + 4], 0xffff
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_setsockopt]
sub esp, 0x14
test eax, eax
js 0x4881b1
mov edx, dword [ebx + 0xdc]
movzx edi, di
mov eax, dword [esp + 0x5c]
test dl, 0x10
je 0x487fa0
test eax, eax
mov dword [esp + 0x60], 0x1c
je 0x4880c8
mov eax, dword [esp + 0x34]
mov dword [ebx + 0xb4], eax
and edx, 0x810
xor eax, eax
mov dword [esp + 0x10], 4
cmp edx, 0x810
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 0x29
setne al
mov dword [esp + 0x90], eax
lea eax, [esp + 0x90]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_setsockopt]
sub esp, 0x14
test eax, eax
js 0x4881de
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 8], edx
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_bind]
sub esp, 0xc
cmp eax, 0xffffffff
je 0x487fbf
mov eax, dword [ebx + 0x110]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_listen]
sub esp, 8
test eax, eax
jns 0x4877e3
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp], eax
call fcn.00489370
mov dword [esp + 4], str.Failed_to_listen_for_connections:__s_n
mov dword [esp + 8], eax
mov dword [esp], ebx
call fcn.00488450
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_closesocket]
sub esp, 4
test eax, eax
je 0x487cd8
mov eax, dword [0x5769c0]
mov dword [esp + 0xc], str.Close_socket_failed._n
mov dword [esp + 8], 0x167b
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]
lea esi, [esi]
mov dword [esp], ebx
mov dword [esp + 4], str.MHD_failed_to_initialize_nonce_nc_mutex_n
call fcn.00488450
mov eax, dword [ebx + 0xec]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov dword [esp], ebx
xor ebx, ebx
call sub.msvcrt.dll_free
jmp 0x4877bd
movzx eax, word [esp + 0x92]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_ntohs]
sub esp, 4
mov word [ebx + 0xe0], ax
jmp 0x4877f1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp], eax
call fcn.00489370
mov dword [esp + 4], str.Failed_to_get_listen_port_number:__s_n
mov dword [esp + 8], eax
mov dword [esp], ebx
call fcn.00488450
jmp 0x4877f1
test eax, eax
mov dword [esp + 0x60], 0x10
je 0x488160
mov esi, dword [esp + 0x34]
mov dword [ebx + 0xb4], esi
jmp 0x487e76
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp], eax
call fcn.00489370
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 4], str.Failed_to_bind_to_port__u:__s_n
mov dword [esp], ebx
call fcn.00488450
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_closesocket]
sub esp, 4
test eax, eax
je 0x487cd8
mov eax, dword [0x5769c0]
mov dword [esp + 0xc], str.Close_socket_failed._n
mov dword [esp + 8], 0x165d
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]
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp], eax
call fcn.00489370
mov dword [esp + 4], str.Failed_to_create_socket_for_listening:__s_n
mov dword [esp + 8], eax
mov dword [esp], ebx
call fcn.00488450
mov esi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jmp 0x487762
mov dword [esp + 4], str.MHD_failed_to_initialize_cleanup_connection_mutex_n
mov dword [esp], ebx
call fcn.00488450
jmp 0x4879b0
call dword [sym.imp.msvcrt.dll__errno]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov dword [esp + 4], str.Failed_to_create_pool_thread:__s_n
mov dword [esp + 8], eax
mov dword [esp], ebx
call fcn.00488450
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
sub esp, 4
jmp 0x4879b0
call dword [sym.imp.msvcrt.dll__errno]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov dword [esp + 4], str.Failed_to_allocate_memory_for_nonce_nc_map:__s_n
mov dword [esp + 8], eax
jmp 0x487a68
mov dword [esp + 8], 0xfffffffb
jmp 0x487dcf
xor ecx, ecx
mov dword [esp + 0x76], 0
mov dword [esp + 0x8c], 0
mov edx, 0x18
xor eax, eax
mov dword [esp + eax + 0x78], ecx
add eax, 4
cmp eax, edx
jb 0x4880e4
mov word [esp + 0x74], 0x17
mov dword [esp], edi
call dword [sym.imp.WS2_32.dll_htons]
push edx
mov edx, dword [ebx + 0xdc]
mov word [esp + 0x76], ax
lea eax, [esp + 0x74]
mov dword [esp + 0x7c], 0
mov ecx, edx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x5c], eax
and ecx, 0x10
mov esi, dword [esp + 0x34]
test ecx, ecx
mov dword [ebx + 0xb4], esi
je 0x487e76
jmp 0x487e1f
mov eax, 2
xor ebp, ebp
lea esi, [esp + 0x64]
mov dword [esp + 0x66], 0
mov dword [esp + 0x6a], 0
mov dword [esp + 0x6e], 0
mov word [esp + 0x72], bp
mov word [esp + 0x64], ax
mov dword [esp], edi
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [ebx + 0xdc]
sub esp, 4
mov word [esp + 0x66], ax
mov dword [esp + 0x5c], esi
mov eax, esi
mov ecx, edx
and ecx, 0x10
jmp 0x488141
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp], eax
call fcn.00489370
mov dword [esp + 4], str.setsockopt_failed:__s_n
mov dword [esp + 8], eax
mov dword [esp], ebx
call fcn.00488450
mov esi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jmp 0x487762
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp], eax
call fcn.00489370
mov dword [esp + 4], str.setsockopt_failed:__s_n
mov dword [esp + 8], eax
mov dword [esp], ebx
call fcn.00488450
jmp 0x487e72
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x78], eax
mov dword [esp], ebx
call sym.xmrig.exe_MHD_stop_daemon
jmp 0x4877bb
mov eax, dword [0x5769c0]
mov dword [esp + 0xc], str.Close_socket_failed._n
mov dword [esp + 8], 0x17af
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 eax, dword [0x5769c0]
mov dword [esp + 0xc], str.Close_socket_failed._n
mov dword [esp + 8], 0x1700
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]
lea esi, [esi]
lea edi, [edi]