Function at 0x419da0
Capabilities:
Access the windows event log
Get local ipv4 addresses
Get socket information
Resolve dns
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x47900c]
xor eax, esp
mov dword [esp + 0x74], eax
mov eax, ecx
mov dword [esp + 0x14], 0
push esi
xorps xmm0, xmm0
mov dword [esp + 0xc], eax
push edi
mov edi, dword [eax + 0xc]
xor cl, cl
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x38], xmm0
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x50], xmm0
movq qword [esp + 0x60], xmm0
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], 6
mov dword [esp + 0x68], 0
mov eax, dword [edi]
mov byte [esp + 0xf], cl
mov esi, dword [eax]
mov ecx, esi
call dword [0x45e29c]
mov ecx, edi
call esi
test al, al
jne 0x419e85
push str.dispatcher_init_failed_n
call fcn.00402c50
add esp, 4
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x1a0]
cmp eax, 0xffffffff
je 0x419e5d
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi + 0x1a0], 0xffffffff
mov al, byte [esp + 0xf]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x419e74
push ecx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov al, byte [esp + 0xf]
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
xor ecx, esp
call fcn.00434098
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x24]
push eax
push 0
push str.localhost
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x419eea
push str.failed_to_get_adderss_info_n
call fcn.00402c50
add esp, 4
push str.IntelDalJhi
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x419e3d
push 0
push 0
push 0
push 0
push 0
push 0xc000000b
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x419e3d
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x419f00
push str.no_adderss_info_recieved_n
jmp 0x419ea5
mov eax, dword [esi + 4]
cmp eax, 2
je 0x419f1b
cmp eax, 0x17
je 0x419f1b
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x419f00
push str.failed_to_find_IPV4_or_IPV6_address_n
jmp 0x419ea5
push dword [esi + 0xc]
push dword [esi + 8]
push eax
call dword [sym.imp.WS2_32.dll_socket]
mov edi, dword [esp + 0x10]
mov dword [edi + 0x1a0], eax
cmp eax, 0xffffffff
jne 0x419f88
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.socket___failed_with_error:__d_n
call fcn.00402c50
add esp, 8
push str.IntelDalJhi
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x419e41
push 0
push 0
push 0
push 0
push 0
push 0xc000000b
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x419e41
push dword [esi + 0x10]
push dword [esi + 0x18]
push eax
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x419fa8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.bind___failed_with_error:__d_n
jmp 0x419f43
cmp dword [esi + 4], 2
mov edx, 0x1c
mov eax, 0x10
cmovne eax, edx
lea edx, [esp + 0x40]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x54]
cmove eax, edx
push eax
push dword [edi + 0x1a0]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x419fef
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.getsockname___failed_with_error:__d_n
jmp 0x419f43
cmp dword [esi + 4], 2
jne 0x419ffb
push dword [esp + 0x42]
jmp 0x419fff
push dword [esp + 0x52]
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
push 0x20106
push 0
push str.SoftwareIntelServicesDAL
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x41a044
push eax
push str.Unable_to_open_Registry__0x_x__n
call fcn.00402c70
add esp, 8
push str.failed_to_write_service_port_at_registry.
jmp 0x41a13d
push 4
lea eax, [esp + 0x1c]
push eax
push 4
push 0
push str.JHI_SERVICE_PORT
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x41a170
push str.write_port_number_to_registry_success_n
call fcn.00402c70
add esp, 4
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi + 4]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
push 0x20106
push 0
push str.SoftwareIntelServicesDAL
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x41a0ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Unable_to_open_Registry__0x_x__n
call fcn.00402c70
add esp, 8
jmp 0x41a138
push 4
lea eax, [esp + 0x1c]
push eax
push 4
push 0
push str.JHI_ADDRESS_TYPE
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x41a121
push str.write_address_to_registry_success_n
call fcn.00402c70
add esp, 4
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push SysReAllocString
push dword [edi + 0x1a0]
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x41a116
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.listen_failed_with_error:__d_n
jmp 0x419f43
mov al, 1
mov byte [esp + 0xf], al
jmp 0x419e61
push str.write_address_to_registry_failed_n
call fcn.00402c70
add esp, 4
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.failed_to_write_address_type_at_registry.
call fcn.00402c50
add esp, 4
push str.IntelDalJhi
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x419e41
push 0
push 0
push 0
push 0
push 0
push 0xc0000007
jmp 0x419f71
push str.write_port_number_to_registry_failed_n
call fcn.00402c70
add esp, 4
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.failed_to_write_service_port_at_registry.
jmp 0x41a13d