Function at 0x4026d9
Capabilities:
Resolve dns
Set registry value

Disassembly:
push 0x548
mov eax, 0x420bed
call fcn.0041e546
mov ebx, dword [ebp + 8]
mov ecx, str.0.0.0.0
mov edi, dword [0x430438]
mov dword [ebp - 0x550], edi
lea esi, [ebx + 0x44]
call fcn.00401451
push eax
push str.0.0.0.0
push dword [esi + 0x10]
push ecx
mov ecx, esi
call fcn.00404525
test eax, eax
jne 0x402737
push str.Checking_network_connections...
push str.Please_wait_nThis_might_take_10_seconds_or_more...
mov ecx, edi
call fcn.00402223
call fcn.00401b4f
xor eax, eax
inc eax
jmp 0x402be7
mov edx, esi
mov ecx, 0x42fbcc
call fcn.004043fe
test al, al
jne 0x4028d9
cmp byte [0x42e46c], al
jne 0x4028d9
mov edi, dword [sym.imp.WS2_32.dll_shutdown]
push 2
push dword [0x42d7c0]
call edi
push dword [0x42d7c0]
mov ebx, dword [sym.imp.WS2_32.dll_closesocket]
call ebx
or dword [0x42d7c0], 0xffffffff
cmp dword [esi + 0x14], 8
jb 0x402786
mov ecx, dword [esi]
jmp 0x402788
mov ecx, esi
call fcn.00405260
test al, al
jne 0x4027cf
cmp dword [esi + 0x14], 8
jb 0x402799
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x414]
push str.Server__s_is_not_accessible__n_changes_have_not_been_saved__n_nIs_JPLAY_installed__running_on_it__nIs_firewall_blocking_port_48168__n_nPlease_check_and_try_again_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x414]
push 0x50040
push str.JPLAY_Settings
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x402be7
push 2
push dword [0x42d7c0]
call edi
push dword [0x42d7c0]
call ebx
or dword [0x42d7c0], 0xffffffff
mov ebx, 0x42fbcc
xor edi, edi
cmp esi, ebx
je 0x4027fe
push 0xffffffffffffffff
push edi
push esi
mov ecx, ebx
call fcn.00403aec
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x550]
push eax
push 3
push edi
push str.SoftwareJPLAY6
push connect
call esi
test eax, eax
je 0x40283b
push str.JPLAY_Host_Port_not_set_in_registry___Software_JPLAY_
mov ecx, 0x42fc14
call fcn.0040344c
push dword [ebp - 0x550]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4027c8
cmp dword [0x42fbe0], 8
mov ecx, ebx
mov eax, dword [0x42fbdc]
cmovae ecx, dword [0x42fbcc]
add eax, eax
push eax
push ecx
push 1
push edi
push str.Host
push dword [ebp - 0x550]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x402873
push str.JPLAYS_Host_not_set_
jmp 0x402823
push dword [ebp - 0x550]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x554]
push eax
push 3
push edi
push str.SoftwareJPLAY6
push connect
call esi
test eax, eax
jne 0x40272f
cmp dword [0x42fbe0], 8
mov eax, dword [0x42fbdc]
cmovae ebx, dword [0x42fbcc]
add eax, eax
push eax
push ebx
push 1
push edi
push str.StreamerDestination
push dword [ebp - 0x554]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x554]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40272f
cmp dword [0x42d7c0], 0xffffffff
jne 0x402912
xor ecx, ecx
call fcn.00405260
test al, al
jne 0x402912
cmp dword [0x42fc28], 8
mov eax, 0x42fc14
push str.JPLAY_message
cmovae eax, dword [0x42fc14]
mov ecx, edi
push eax
call fcn.00402223
jmp 0x4027c8
xor edi, edi
mov esi, 0x50040
cmp dword [ebx + 0x20], edi
je 0x4029ff
mov esi, dword [sym.imp.WS2_32.dll_gethostbyname]
push 0x427cb8
call esi
push dword [eax]
call esi
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
lea ecx, [ebp - 0x548]
push 3
mov dword [ebp - 0x54c], ecx
lea ecx, [ebp - 0x54c]
push eax
call fcn.00403211
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x54c]
call fcn.004030c6
lea eax, [ebp - 0x548]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x54c], eax
je 0x40298c
push dword [ebp - 0x54c]
call fcn.00412b80
pop ecx
push str.127.0.0.1
lea ecx, [ebp - 0x444]
call fcn.004030c6
mov edx, 0x42fbcc
lea ecx, [ebp - 0x42c]
call fcn.004043fe
test al, al
jne 0x4029c5
lea edx, [ebp - 0x444]
lea ecx, [ebp - 0x42c]
call fcn.004043fe
test al, al
je 0x4029de
mov esi, 0x50040
push esi
push str.JPLAY_Settings
push str.Please_plug_in__any__USB_stick_for_playback_in_Hibernate_to_start._nYou_can_stop_Hibernate_by_unplugging_USB_stick_n_n_USB_stick_with_highest_Windows_drive_letter_will_be_used_
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x4029e3
mov esi, 0x50040
push edi
push 1
lea ecx, [ebp - 0x444]
call fcn.00403338
push edi
push 1
lea ecx, [ebp - 0x42c]
call fcn.00403338
cmp dword [ebx + 4], 2
jne 0x402a28
cmp dword [0x42e468], 0
je 0x402a13
cmp dword [ebx + 0x30], edi
jne 0x402a28
push esi
push str.Windows_8_Server_2012_required_
push str.UltraStream__requires__Windows_8_and_Kernel_Streaming__nSwitching_back_to_Classic
push edi
mov dword [ebx + 4], edi
call dword [sym.imp.USER32.dll_MessageBoxW]
push 4
pop eax
cmp dword [ebx + 0x28], eax
jae 0x402a4f
cmp dword [ebx], 2
jbe 0x402a4f
cmp dword [ebx], 8
jae 0x402a4f
push esi
push str.PC_Buffer_adjusted
push str.Minimum_0.5_seconds_PC_Buffer_needed_for_desired_DAC_Link_setting___Adjusted
push edi
mov dword [ebx + 0x28], eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push 6
pop eax
cmp dword [ebx + 0x28], eax
jae 0x402a71
cmp dword [ebx], 8
jb 0x402a71
push esi
push str.PC_Buffer_adjusted
push str.Minimum_2_second_PC_Buffer_needed_for_desired_DAC_Link_setting___Adjusted
push edi
mov dword [ebx + 0x28], eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push str.sput
mov edi, 0x200
push edi
push dword [ebp - 0x550]
call fcn.00401383
add esp, 0xc
mov esi, eax
mov eax, dword [ebp - 0x550]
mov ecx, edi
sub ecx, esi
push dword [ebx]
push str._DACLink__u_n
push ecx
lea ecx, [eax + esi*2]
push ecx
call fcn.00401383
push dword [ebx + 4]
add esi, eax
mov eax, edi
sub eax, esi
push str._Engine__u_n
push eax
mov eax, dword [ebp - 0x550]
lea eax, [eax + esi*2]
push eax
call fcn.00401383
push dword [ebx + 8]
add esi, eax
mov eax, edi
sub eax, esi
push str._Interface__u_n
push eax
mov eax, dword [ebp - 0x550]
lea eax, [eax + esi*2]
push eax
call fcn.00401383
push dword [ebx + 0xc]
add esi, eax
mov eax, edi
sub eax, esi
push str._Bitstream__u_n
push eax
mov eax, dword [ebp - 0x550]
lea eax, [eax + esi*2]
push eax
call fcn.00401383
add esp, 0x40
add esi, eax
mov eax, edi
sub eax, esi
push dword [ebx + 0x10]
push str._Volume__u_n
push eax
mov eax, dword [ebp - 0x550]
lea eax, [eax + esi*2]
push eax
call fcn.00401383
push dword [ebx + 0x14]
add esi, eax
mov eax, edi
sub eax, esi
push str._ThrottleMode__u_n
push eax
mov eax, dword [ebp - 0x550]
lea eax, [eax + esi*2]
push eax
call fcn.00401383
push dword [ebx + 0x24]
add esi, eax
mov eax, edi
sub eax, esi
push str._Polarity__u_n
push eax
mov eax, dword [ebp - 0x550]
lea eax, [eax + esi*2]
push eax
call fcn.00401383
push dword [ebx + 0x20]
add esi, eax
mov eax, edi
push str._HibernateMode__u_n
sub eax, esi
push eax
mov eax, dword [ebp - 0x550]
lea eax, [eax + esi*2]
push eax
call fcn.00401383
add esp, 0x40
add esi, eax
mov eax, edi
sub eax, esi
push dword [ebx + 0x28]
push str._PCBuffer__u_n
push eax
mov eax, dword [ebp - 0x550]
lea eax, [eax + esi*2]
push eax
call fcn.00401383
push dword [ebx + 0x2c]
mov ebx, dword [ebp - 0x550]
add esi, eax
push str._XtreamSize__u_n
sub edi, esi
push edi
lea eax, [ebx + esi*2]
push eax
call fcn.00401383
add esp, 0x20
push ebx
call fcn.00402262
push 2
push dword [0x42d7c0]
mov esi, eax
call dword [sym.imp.WS2_32.dll_shutdown]
push dword [0x42d7c0]
call dword [sym.imp.WS2_32.dll_closesocket]
or dword [0x42d7c0], 0xffffffff
mov eax, esi
call fcn.0041e501
ret 4