Function at 0x42fef2
Capabilities:
Get networking parameters

Disassembly:
mov eax, 0x4eb3a4
call fcn.00475fe0
sub esp, 0x4f8
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], esi
call sub.MFC42.DLL_CString::CString_4
xor edi, edi
push 0xffffffffffffffff
cmp dword [ebp + 8], edi
mov dword [ebp - 4], edi
push edi
je 0x42ff2f
lea ecx, [esi + 4]
call fcn.00430a53
push 0xffffffffffffffff
push edi
lea ecx, [esi + 0x18]
jmp 0x42ff3d
lea ecx, [esi + 0x2c]
call fcn.00430a53
push 0xffffffffffffffff
push edi
lea ecx, [esi + 0x40]
call fcn.00430baf
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], edi
push eax
push edi
call sub.iphlpapi.dll_GetNetworkParams
cmp eax, edi
je 0x42ff5c
cmp eax, 0x6f
jne 0x430338
push dword [ebp - 0x20]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
cmp esi, edi
mov dword [ebp - 0x28], esi
je 0x430338
lea eax, [ebp - 0x20]
push eax
push esi
call sub.iphlpapi.dll_GetNetworkParams
cmp eax, edi
jne 0x430338
add esi, 0x110
lea ecx, [ebp - 0x14]
push esi
call sub.MFC42.DLL_CString::operator_2
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x50229c
push dword [ebp - 0x14]
call ebx
pop ecx
test eax, eax
pop ecx
je 0x430037
push str.0.0.0.0
push dword [ebp - 0x14]
call ebx
pop ecx
test eax, eax
pop ecx
je 0x430037
lea eax, [ebp - 0x18]
push 4
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push str.169.
push eax
mov byte [ebp - 4], 1
call ebx
pop ecx
pop ecx
test eax, eax
setne byte [ebp - 0xd]
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
cmp byte [ebp - 0xd], 0
je 0x430037
push dword [ebp - 0x14]
lea eax, [ebp - 0x4c]
push eax
call sub.MSVCRT.dll_strcpy
cmp dword [ebp + 8], edi
pop ecx
pop ecx
je 0x43001d
sub esp, 0x14
mov eax, dword [ebp - 0x1c]
lea esi, [ebp - 0x4c]
push 5
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [eax + 0x18]
jmp 0x430030
sub esp, 0x14
mov eax, dword [ebp - 0x1c]
lea esi, [ebp - 0x4c]
push 5
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [eax + 0x40]
call fcn.00430963
xor edi, edi
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x10c]
cmp eax, edi
mov dword [ebp - 0x18], eax
je 0x43009d
jmp 0x43004e
mov eax, dword [ebp - 0x18]
xor edi, edi
add eax, 4
push eax
lea eax, [ebp - 0x4c]
push eax
call sub.MSVCRT.dll_strcpy
cmp dword [ebp + 8], edi
pop ecx
pop ecx
je 0x430077
sub esp, 0x14
mov eax, dword [ebp - 0x1c]
lea esi, [ebp - 0x4c]
push 5
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [eax + 0x18]
jmp 0x43008a
sub esp, 0x14
mov eax, dword [ebp - 0x1c]
lea esi, [ebp - 0x4c]
push 5
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [eax + 0x40]
call fcn.00430963
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
test eax, eax
mov dword [ebp - 0x18], eax
jne 0x430049
xor edi, edi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], edi
push eax
push edi
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, edi
je 0x4300b7
cmp eax, 0x6f
jne 0x430338
push dword [ebp - 0x24]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
cmp esi, edi
mov dword [ebp - 0x30], esi
je 0x430338
lea eax, [ebp - 0x24]
push eax
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, edi
jne 0x430338
mov dword [ebp - 0x18], esi
jmp 0x4300e8
xor edi, edi
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x504], edi
mov dword [ebp - 0x1e0], edi
lea esi, [eax + 0x1ac]
cmp esi, edi
je 0x4301af
lea edi, [esi + 4]
lea ecx, [ebp - 0x14]
push edi
call sub.MFC42.DLL_CString::operator_2
push 0x50229c
push dword [ebp - 0x14]
call ebx
pop ecx
test eax, eax
pop ecx
je 0x4301a5
push str.0.0.0.0
push dword [ebp - 0x14]
call ebx
pop ecx
test eax, eax
pop ecx
je 0x4301a5
lea eax, [ebp - 0x38]
push 4
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push str.169.
push eax
mov byte [ebp - 4], 2
call ebx
pop ecx
pop ecx
test eax, eax
setne byte [ebp - 0xd]
and byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::CString
cmp byte [ebp - 0xd], 0
je 0x4301a5
mov eax, dword [ebp - 0x504]
push edi
lea eax, [eax + eax*4]
lea eax, [ebp + eax*4 - 0x500]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [esi + 0x14]
push eax
mov eax, dword [ebp - 0x504]
lea eax, [eax + eax*4]
lea eax, [ebp + eax*4 - 0x370]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 0x10
inc dword [ebp - 0x504]
mov esi, dword [esi]
test esi, esi
jne 0x430105
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea esi, [edi + 0x1d8]
push esi
call sub.MFC42.DLL_CString::operator_2
push 0x50229c
push dword [ebp - 0x14]
call ebx
pop ecx
test eax, eax
pop ecx
je 0x430236
push str.0.0.0.0
push dword [ebp - 0x14]
call ebx
pop ecx
test eax, eax
pop ecx
je 0x430236
lea eax, [ebp - 0x34]
push 4
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push str.169.
push eax
mov byte [ebp - 4], 3
call ebx
pop ecx
pop ecx
test eax, eax
setne byte [ebp - 0xd]
and byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::CString
cmp byte [ebp - 0xd], 0
je 0x430236
mov eax, dword [ebp - 0x1e0]
push esi
lea eax, [eax + eax*4]
lea eax, [ebp + eax*4 - 0x1dc]
push eax
call sub.MSVCRT.dll_strcpy
inc dword [ebp - 0x1e0]
pop ecx
pop ecx
mov esi, dword [edi + 0x1d4]
test esi, esi
je 0x4302cc
lea edi, [esi + 4]
lea ecx, [ebp - 0x14]
push edi
call sub.MFC42.DLL_CString::operator_2
push 0x50229c
push dword [ebp - 0x14]
call ebx
pop ecx
test eax, eax
pop ecx
je 0x4302c5
push str.0.0.0.0
push dword [ebp - 0x14]
call ebx
pop ecx
test eax, eax
pop ecx
je 0x4302c5
lea eax, [ebp - 0x2c]
push 4
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push str.169.
push eax
mov byte [ebp - 4], 4
call ebx
pop ecx
pop ecx
test eax, eax
setne byte [ebp - 0xd]
and byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::CString
cmp byte [ebp - 0xd], 0
je 0x4302c5
mov eax, dword [ebp - 0x1e0]
push edi
lea eax, [eax + eax*4]
lea eax, [ebp + eax*4 - 0x1dc]
push eax
call sub.MSVCRT.dll_strcpy
inc dword [ebp - 0x1e0]
pop ecx
pop ecx
mov esi, dword [esi]
jmp 0x43023c
cmp dword [ebp - 0x504], 0
jle 0x430318
cmp dword [ebp + 8], 0
je 0x4302f8
mov eax, dword [ebp - 0x1c]
sub esp, 0x4b8
mov ecx, 0x12e
lea esi, [ebp - 0x504]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [eax + 4]
jmp 0x430313
mov eax, dword [ebp - 0x1c]
sub esp, 0x4b8
mov ecx, 0x12e
lea esi, [ebp - 0x504]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [eax + 0x2c]
call fcn.00430870
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
test eax, eax
mov dword [ebp - 0x18], eax
jne 0x4300e6
push dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
call esi
push dword [ebp - 0x30]
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4