Function at 0x402082
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x419a25
mov eax, dword fs:[0]
push eax
sub esp, 0x758
mov eax, dword [0x4250c0]
xor eax, esp
mov dword [esp + 0x750], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4250c0]
xor eax, esp
push eax
lea eax, [esp + 0x76c]
mov dword fs:[0], eax
cmp dword [0x425fb4], 0xffffffff
mov esi, dword [esp + 0x77c]
mov edi, dword [0x429254]
jne 0x4020e5
xor ecx, ecx
call fcn.00404bd8
test al, al
jne 0x4020e5
xor eax, eax
jmp 0x4024a5
push str.sget
push edi
call fcn.0040101c
pop ecx
pop ecx
push edi
call fcn.00402009
test eax, eax
je 0x4020de
lea eax, [esi + 0x2c]
push eax
lea eax, [esp + 0x168]
push eax
lea eax, [esi + 0x28]
push eax
lea eax, [esp + 0x170]
push eax
lea eax, [esi + 0x1c]
push eax
lea eax, [esp + 0x178]
push eax
lea eax, [esi + 0x20]
push eax
lea eax, [esp + 0x180]
push eax
lea eax, [esi + 0x24]
push eax
lea eax, [esp + 0x188]
push eax
lea eax, [esi + 0x14]
push eax
lea eax, [esp + 0x190]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [esp + 0x198]
push eax
lea eax, [esi + 0xc]
push eax
lea eax, [esp + 0x1a0]
push eax
lea ebx, [esi + 8]
push ebx
push eax
lea eax, [esi + 4]
push eax
lea eax, [esp + 0x1b0]
push eax
push esi
push eax
push 0x427308
push eax
push eax
push eax
push str._s__s__s__u__s__u__s__u__s__u__s__u__s__u__s__u__s__u__s__u__s__u__s__u__s__u
push edi
call fcn.00407f95
push str.sgetAudioInterfaces
push edi
call fcn.0040101c
add esp, 0x78
push edi
call fcn.00402009
test eax, eax
je 0x4020de
push edi
lea ecx, [esp + 0x30]
call fcn.00402c3c
and dword [esp + 0x774], 0
jmp 0x402221
push edi
push 0
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x38]
call fcn.00402d01
push eax
lea ecx, [esi + 0x34]
mov byte [esp + 0x778], 1
call fcn.00402d32
push 0
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x77c], 0
call fcn.004030f4
mov eax, dword [esp + 0x3c]
sub eax, edi
inc eax
push eax
lea eax, [edi + 1]
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x38]
call fcn.00402d01
push eax
lea ecx, [esp + 0x30]
call fcn.00402c5e
push 0
push 1
lea ecx, [esp + 0x4c]
call fcn.004030f4
cmp dword [esp + 0x3c], 0
je 0x40223a
push ecx
push 0x420874
lea ecx, [esp + 0x34]
call fcn.00402c8b
mov edi, eax
test edi, edi
jne 0x4021b2
mov eax, dword [esi + 0x38]
sub eax, dword [esi + 0x34]
push 0x18
cdq
pop ecx
idiv ecx
mov ecx, dword [ebx]
inc ecx
cmp ecx, eax
jbe 0x402250
and dword [ebx], 0
lea ecx, [esi + 0x40]
mov eax, 0x42602c
xor ebx, ebx
cmp ecx, eax
je 0x402267
push 0xffffffffffffffff
push ebx
push eax
call fcn.004034d9
cmp dword [0x426024], 0
jne 0x40227f
push 0x420878
mov ecx, 0x426014
call fcn.00403085
mov ebp, 0x428a40
mov ecx, ebp
call fcn.00402e54
mov edi, 0x428a34
mov ecx, edi
call fcn.00402e54
xor eax, eax
push str.This_computer
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], ax
call fcn.00403085
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
mov byte [esp + 0x778], 2
call fcn.00402d32
push ebx
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x77c], bl
call fcn.004030f4
mov esi, dword [sym.imp.WS2_32.dll_gethostbyname]
push 0x420478
call esi
test eax, eax
jne 0x402346
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
lea eax, [esp + 0x368]
push str.error_d
push eax
call fcn.0040101c
add esp, 0xc
xor eax, eax
push str.127.0.0.1
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], ax
call fcn.00403085
lea eax, [esp + 0x14]
push eax
mov ecx, edi
mov byte [esp + 0x778], 3
call fcn.00402d32
jmp 0x4023d4
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, [esp + 0x60]
push 3
mov dword [esp + 0x60], ecx
push eax
lea ecx, [esp + 0x64]
call fcn.004031f8
mov byte [esp + 0x774], 4
push dword [esp + 0x5c]
lea ecx, [esp + 0x18]
call fcn.00402c3c
lea eax, [esp + 0x60]
mov byte [esp + 0x774], 6
cmp dword [esp + 0x5c], eax
je 0x40239c
push dword [esp + 0x5c]
call fcn.00408674
pop ecx
cmp dword [esp + 0x28], 8
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x48]
call fcn.00402c3c
lea eax, [esp + 0x44]
push eax
mov ecx, edi
mov byte [esp + 0x778], 7
call fcn.00402d32
push ebx
push 1
lea ecx, [esp + 0x4c]
call fcn.004030f4
push ebx
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x77c], bl
call fcn.004030f4
call fcn.004014f3
xor eax, eax
push str.Search_my_LAN_for_JPLAY
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], ax
call fcn.00403085
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
mov byte [esp + 0x778], 8
call fcn.00402d32
push ebx
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x77c], bl
call fcn.004030f4
xor eax, eax
push str.0.0.0.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], ax
call fcn.00403085
lea eax, [esp + 0x14]
push eax
mov ecx, edi
mov byte [esp + 0x778], 9
call fcn.00402d32
push ebx
push 1
lea ecx, [esp + 0x1c]
call fcn.004030f4
push 2
push dword [0x425fb4]
call dword [sym.imp.WS2_32.dll_shutdown]
push dword [0x425fb4]
call dword [sym.imp.WS2_32.dll_closesocket]
or dword [0x425fb4], 0xffffffff
push ebx
push 1
lea ecx, [esp + 0x34]
call fcn.004030f4
xor eax, eax
inc eax
mov ecx, dword [esp + 0x76c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x750]
xor ecx, esp
call fcn.00407f04
add esp, 0x764
ret 4