Function at 0x101a85f
Capabilities:
Get networking parameters

Disassembly:
mov eax, 0x1028898
call fcn.01022df8
sub esp, 0x1a8
mov eax, dword [0x102e77c]
push ebx
push esi
mov dword [ebp - 0x10], eax
mov esi, ecx
mov eax, 0x100573c
xor ebx, ebx
push edi
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x174], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x164], ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x148], esp
push 0x10058a4
mov byte [ebp - 4], 2
call fcn.010229be
lea ecx, [ebp - 0x148]
call fcn.0101a1d3
add esi, 0x1c
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0101a3b9
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_CString::CString
lea eax, [ebp - 0x194]
push eax
mov ecx, esi
call fcn.0101a20f
push 7
pop ecx
mov esi, eax
lea edi, [ebp - 0x1b0]
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x1ac], 4
je 0x101a929
push 0x4ebf
push 1
call fcn.0100dcc2
push eax
call fcn.0100d552
add esp, 0xc
lea eax, [ebp - 0x144]
push eax
push ebx
mov dword [ebp - 0x144], ebx
call sub.iphlpapi.dll_GetInterfaceInfo
cmp eax, 0x7a
je 0x101a9a0
push eax
push 0xe0
push ecx
mov ecx, esp
mov dword [ebp - 0x148], esp
push 0x1005740
call fcn.010229be
push ecx
mov ecx, esp
mov dword [ebp - 0x14c], esp
push 0x100588c
mov byte [ebp - 4], 4
call fcn.010229be
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 2
call fcn.01019f4d
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x15c]
call fcn.01018b3e
push 0x102a874
lea eax, [ebp - 0x15c]
jmp 0x101ae1a
push dword [ebp - 0x144]
lea ecx, [ebp - 0x168]
call fcn.01019fce
lea ecx, [ebp - 0x144]
push ecx
push eax
mov dword [ebp - 0x148], eax
call sub.iphlpapi.dll_GetInterfaceInfo
cmp eax, ebx
je 0x101aa10
push eax
push 0xe6
push ecx
mov ecx, esp
mov dword [ebp - 0x148], esp
push 0x1005740
call fcn.010229be
push ecx
mov ecx, esp
mov dword [ebp - 0x14c], esp
push 0x100588c
mov byte [ebp - 4], 6
call fcn.010229be
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 2
call fcn.01019f4d
mov byte [ebp - 4], 7
jmp 0x101a984
lea eax, [ebp - 0x144]
push eax
push ebx
mov dword [ebp - 0x144], ebx
call sub.iphlpapi.dll_GetNetworkParams
cmp eax, 0x6f
je 0x101aa70
push eax
push 0xed
push ecx
mov ecx, esp
mov dword [ebp - 0x148], esp
push 0x1005740
call fcn.010229be
push ecx
mov ecx, esp
mov dword [ebp - 0x14c], esp
push 0x1005874
mov byte [ebp - 4], 8
call fcn.010229be
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 2
call fcn.01019f4d
mov byte [ebp - 4], 9
jmp 0x101a984
push dword [ebp - 0x144]
lea ecx, [ebp - 0x178]
call fcn.01019fce
mov edi, eax
lea eax, [ebp - 0x144]
push eax
push edi
call sub.iphlpapi.dll_GetNetworkParams
cmp eax, ebx
je 0x101aadc
push eax
push 0xf3
push ecx
mov ecx, esp
mov dword [ebp - 0x148], esp
push 0x1005740
call fcn.010229be
push ecx
mov ecx, esp
mov dword [ebp - 0x14c], esp
push 0x1005874
mov byte [ebp - 4], 0xa
call fcn.010229be
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 2
call fcn.01019f4d
mov byte [ebp - 4], 0xb
jmp 0x101a984
mov esi, dword [ebp - 0x14c]
push edi
lea ecx, [esi + 0x20]
call sub.MFC42u.DLL_CString::operator_2
add edi, 0x84
push edi
lea ecx, [esi + 0x24]
call sub.MFC42u.DLL_CString::operator_2
lea eax, [ebp - 0x144]
push eax
push ebx
mov dword [ebp - 0x144], ebx
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
je 0x101ab5a
push eax
push 0xfc
push ecx
mov ecx, esp
mov dword [ebp - 0x148], esp
push 0x1005740
call fcn.010229be
push ecx
mov ecx, esp
mov dword [ebp - 0x14c], esp
push 0x100585c
mov byte [ebp - 4], 0xc
call fcn.010229be
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 2
call fcn.01019f4d
mov byte [ebp - 4], 0xd
jmp 0x101a984
push dword [ebp - 0x144]
lea ecx, [ebp - 0x170]
call fcn.01019fce
mov ebx, eax
lea eax, [ebp - 0x144]
push eax
push ebx
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
je 0x101ad30
push eax
push 0x102
push ecx
mov ecx, esp
mov dword [ebp - 0x148], esp
push 0x1005740
call fcn.010229be
push ecx
mov ecx, esp
mov dword [ebp - 0x14c], esp
push 0x100585c
mov byte [ebp - 4], 0xe
call fcn.010229be
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 2
call fcn.01019f4d
mov byte [ebp - 4], 0xf
jmp 0x101a984
and dword [ebp - 0x150], 0
mov dword [ebp - 0x154], 0x100573c
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x10
call fcn.0101953d
lea eax, [ebx + 8]
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x11
call sub.MFC42u.DLL_CString::operator_2
mov eax, dword [ebx + 0x1a0]
mov esi, dword [ebp - 0x148]
mov edx, dword [ebx + 0x19c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x1a4]
mov dword [ebp - 0x30], eax
mov eax, dword [esi]
xor ecx, ecx
test eax, eax
mov dword [ebp - 0x38], edx
jle 0x101ac4c
lea edi, [esi + 4]
cmp dword [edi], edx
je 0x101ac37
inc ecx
add edi, 0x104
cmp ecx, eax
jl 0x101ac26
jmp 0x101ac4c
imul ecx, ecx, 0x104
lea esi, [ecx + esi + 4]
push 0x41
pop ecx
lea edi, [ebp - 0x140]
rep movsd dword es:[edi], dword [esi]
and dword [ebp - 0x144], 0
lea eax, [ebp - 0x144]
push eax
push 0
push dword [ebx + 0x19c]
call sub.iphlpapi.dll_GetPerAdapterInfo
cmp eax, 0x6f
jne 0x101ad7b
push dword [ebp - 0x144]
lea ecx, [ebp - 0x154]
call fcn.01019fce
mov esi, eax
lea eax, [ebp - 0x144]
push eax
push esi
push dword [ebx + 0x19c]
call sub.iphlpapi.dll_GetPerAdapterInfo
test eax, eax
jne 0x101adc0
add esi, 0xc
je 0x101acfe
lea edi, [esi + 4]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x101acab
sub eax, edx
mov dword [ebp - 0x160], eax
je 0x101acf8
push ecx
mov ecx, esp
mov dword [ebp - 0x160], esp
push edi
call fcn.0101a07f
lea ecx, [ebp - 0x1b4]
call fcn.0101a65b
lea eax, [ebp - 0x1b4]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x16
call fcn.010191cf
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], 0x11
call fcn.01018e84
mov esi, dword [esi]
test esi, esi
jne 0x101aca3
mov ecx, dword [ebp - 0x14c]
lea eax, [ebp - 0x140]
push eax
call fcn.0101957a
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x10
call fcn.01019301
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 2
call fcn.0101a06a
mov ebx, dword [ebx]
test ebx, ebx
jne 0x101abca
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 1
call fcn.0101a06a
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], bl
call fcn.0101a06a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x178]
call fcn.0101a06a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0102222e
pop edi
pop esi
pop ebx
leave
ret
push eax
push 0x11c
push ecx
mov ecx, esp
mov dword [ebp - 0x160], esp
push 0x1005740
call fcn.010229be
push ecx
mov ecx, esp
mov dword [ebp - 0x148], esp
push 0x1005840
mov byte [ebp - 4], 0x12
call fcn.010229be
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0x11
call fcn.01019f4d
mov byte [ebp - 4], 0x13
jmp 0x101ae03
push eax
push 0x122
push ecx
mov ecx, esp
mov dword [ebp - 0x160], esp
push 0x1005740
call fcn.010229be
push ecx
mov ecx, esp
mov dword [ebp - 0x148], esp
push 0x1005840
mov byte [ebp - 4], 0x14
call fcn.010229be
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0x11
call fcn.01019f4d
mov byte [ebp - 4], 0x15
push eax
lea ecx, [ebp - 0x188]
call fcn.01018b3e
push 0x102a874
lea eax, [ebp - 0x188]
push eax
call sub.msvcrt.dll__CxxThrowException
int3