Function at 0x61862b
Capabilities:
Query or enumerate registry value
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
lea ebp, [esp - 0x1028]
mov eax, 0x10a8
call fcn.006459e0
mov eax, dword [0x7c0650]
xor eax, ebp
mov dword [ebp + 0x1024], eax
mov eax, dword [ebp + 0x1034]
and dword [ebp - 0x70], 0
push ebx
push esi
push edi
push str.IPHLPAPI.DLL
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x7c], 0x1000
lea ebx, [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
and dword [ebp - 0x74], 0
mov esi, eax
test esi, esi
je 0x61869a
push str.GetAdaptersInfo
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [ebp - 0x74], eax
je 0x61869a
lea eax, [ebp - 0x7c]
push eax
mov eax, ebx
push eax
call dword [ebp - 0x74]
mov edi, eax
jmp 0x61869f
mov edi, 0x482
test esi, esi
je 0x6186aa
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x6186b0
xor ebx, ebx
cmp dword [ebp - 0x7c], 0x288
jae 0x6186bb
xor ebx, ebx
test ebx, ebx
mov edi, dword [sym.imp.WS2_32.dll_sendto]
je 0x618736
mov eax, dword [ebx + 0x1a0]
cmp eax, 0x17
jb 0x6186da
cmp eax, 0x18
jbe 0x618715
cmp eax, 0x1c
je 0x618715
cmp dword [ebx + 0x224], 0
jne 0x618726
mov eax, dword [ebx + 0x1a8]
test eax, eax
je 0x618715
lea esi, [ebp - 0x6c]
call fcn.006182f1
test al, al
je 0x618715
push 0x10
lea eax, [ebp - 0x6c]
push eax
push 0
push dword [ebp + 0x1038]
push dword [ebp - 0x78]
push dword [ebp + 0x1030]
call edi
inc dword [ebp - 0x70]
mov ebx, dword [ebx]
test ebx, ebx
jne 0x6186c5
cmp dword [ebp - 0x70], ebx
jne 0x61886e
jmp 0x618738
lea eax, [ebx + 0x228]
lea esi, [ebp - 0x6c]
call fcn.006182ad
jmp 0x6186f5
xor ebx, ebx
cmp dword [ebp - 0x74], ebx
jne 0x6187c5
lea eax, [ebp - 0x74]
push eax
push 1
push ebx
push str.SYSTEMCurrentControlSetServicesTCPIPParameters
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x74], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x70], 0x80
jne 0x618785
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0xfa4]
push eax
push ebx
push ebx
push str.DhcpNameServer
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, ebx
jne 0x6187c5
lea eax, [ebp + 0xfa4]
push eax
lea esi, [ebp - 0x6c]
call fcn.006185af
test al, al
pop ecx
je 0x6187c3
push 0x10
mov eax, esi
push eax
push 0
push dword [ebp + 0x1038]
push dword [ebp - 0x78]
push dword [ebp + 0x1030]
call edi
jmp 0x61886e
xor ebx, ebx
mov ecx, dword [ebp + 0x103c]
mov eax, dword [ebp - 0x78]
or ecx, 0x10
call fcn.0061820e
push 4
lea eax, [ebp - 0x80]
push eax
push 0x20
push 0xffff
push dword [ebp + 0x1030]
mov dword [ebp - 0x80], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
lea eax, [ebp - 0x70]
push eax
push dword [ebp + 0x1030]
call fcn.006183ff
cmp dword [ebp - 0x70], ebx
pop ecx
pop ecx
mov esi, eax
jne 0x618825
push 0x710204
lea eax, [ebp - 0x6c]
call fcn.00618272
pop ecx
push 0x10
lea eax, [ebp - 0x6c]
push eax
push ebx
jmp 0x6187ad
jbe 0x61886e
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 8]
and ecx, eax
not eax
or ecx, eax
mov eax, dword [esi]
and al, 6
cmp al, 2
mov dword [ebp - 0x74], ecx
jne 0x618863
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
call fcn.00618272
pop ecx
push 0x10
lea eax, [ebp - 0x6c]
push eax
push ebx
push dword [ebp + 0x1038]
push dword [ebp - 0x78]
push dword [ebp + 0x1030]
call edi
dec dword [ebp - 0x70]
add esi, 0x4c
cmp dword [ebp - 0x70], ebx
ja 0x618827
mov ecx, dword [ebp + 0x1024]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.00644f58
add ebp, 0x1028
leave
ret