Function at 0x401c9d
Capabilities:
Reference google public dns server

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, 0x481a8e
push eax
mov ebx, dword [0x7c10e4]
test ebx, ebx
je 0x401ccd
push ebx
call fcn.00403d09
add esp, 4
pop eax
mov dword [0x7c10e4], eax
mov eax, 0x481a8e
push eax
mov ebx, dword [0x7c10e8]
test ebx, ebx
je 0x401cec
push ebx
call fcn.00403d09
add esp, 4
pop eax
mov dword [0x7c10e8], eax
push getpeername
push 0
push 0x481a97
push 1
mov ebx, 0x404850
call fcn.00403d0f
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x401d3b
push getpeername
push 0
push 0x481a97
push 1
mov ebx, 0x404830
call fcn.00403d0f
add esp, 0x10
push reloc.WS2_32.dll_getpeername
push 0
push 0x481a9f
push getpeername
push 0
push str.C:zwrj
push 2
mov ebx, 0x404890
call fcn.00403d0f
add esp, 0x1c
push reloc.WS2_32.dll_getpeername
push 0
push 0x7a10b8
push getpeername
push 0
push 0x7a12dd
push 2
mov ebx, 0x404890
call fcn.00403d0f
add esp, 0x1c
push 0
mov ebx, 0x4047f0
call fcn.00403d0f
add esp, 4
mov dword [ebp - 0xc], eax
push str.NetConfig.ini
push dword [ebp - 0xc]
mov ecx, 2
call fcn.00401c41
add esp, 8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401dcc
push ebx
call fcn.00403d09
add esp, 4
push getpeername
push 0
push str.118.244.134.178
push getpeername
push 0
push 0x7a1322
push getpeername
push 0
push str.NetConfig
push getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x401e03
mov eax, 0x481a54
push eax
push 4
mov ebx, 0x404b10
call fcn.00403d0f
add esp, 0x34
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401e29
push ebx
call fcn.00403d09
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [0x7c10ec]
test ebx, ebx
je 0x401e40
push ebx
call fcn.00403d09
add esp, 4
pop eax
mov dword [0x7c10ec], eax
push 0
mov ebx, 0x4047f0
call fcn.00403d0f
add esp, 4
mov dword [ebp - 0xc], eax
push str.NetConfig.ini
push dword [ebp - 0xc]
mov ecx, 2
call fcn.00401c41
add esp, 8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401e83
push ebx
call fcn.00403d09
add esp, 4
push getpeername
push 0
push str.8.8.8.8
push getpeername
push 0
push 0x7a133c
push getpeername
push 0
push str.NetConfig
push getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x401eba
mov eax, 0x481a54
push eax
push 4
mov ebx, 0x404b10
call fcn.00403d0f
add esp, 0x34
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401ee0
push ebx
call fcn.00403d09
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [0x7c10f0]
test ebx, ebx
je 0x401ef7
push ebx
call fcn.00403d09
add esp, 4
pop eax
mov dword [0x7c10f0], eax
call fcn.00402156
push 0x80000301
push 0
push 6
push getpeername
push 0
push str.C:zwrj
push 2
mov ebx, 0x404870
call fcn.00403d0f
add esp, 0x1c
push getpeername
push 0
push str.C:zwrj
push 1
mov ebx, 0x404850
call fcn.00403d0f
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x40211d
push 0
push 0
push 0
push closesocket
push 0
push 0
push getpeername
push 0
push str.C:zwrj
push 3
mov ebx, 0x404050
call fcn.00403d0f
add esp, 0x28
push 1
mov eax, 0x7a1344
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 1
mov eax, str.32770
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
call fcn.00402d3d
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401fd3
push ebx
call fcn.00403d09
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401fe3
push ebx
call fcn.00403d09
add esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x402082
push 1
mov eax, 0x7a1344
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 1
mov eax, str.32770
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
call fcn.00402d3d
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40203f
push ebx
call fcn.00403d09
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40204f
push ebx
call fcn.00403d09
add esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
push 0
mov ebx, 0x4049c0
call fcn.00403d0f
add esp, 4
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push 0xa
call fcn.00402da7
jmp 0x401fe9
push 1
mov eax, 0x7a1344
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 1
mov eax, str.32770
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
call fcn.00402d3d
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4020ce
push ebx
call fcn.00403d09
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4020de
push ebx
call fcn.00403d09
add esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
push str.____YY:9014703
push dword [ebp - 8]
push 0x7a13be
mov ecx, 3
call fcn.00401c41
add esp, 0xc
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
call fcn.00403095
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40211d
push ebx
call fcn.00403d09
add esp, 4
mov eax, 1
jmp 0x402127
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402138
push ebx
call fcn.00403d09
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret