Function at 0x401720
Capabilities:
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x4c7690
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
push edi
push str.COAgentInfo::GetLocalIPs_1
push 0x4ea168
push 0xf
push 0x5000bc
call fcn.0040c110
add esp, 0x10
lea eax, [esp + 0x14]
xor ebp, ebp
push 1
push eax
push ebp
mov dword [esp + 0x20], ebp
call sub.iphlpapi.dll_GetIpNetTable
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00418a94
add esp, 4
lea edx, [esp + 0x14]
mov ebx, eax
push 1
push edx
push ebx
mov dword [esp + 0x28], ebx
call sub.iphlpapi.dll_GetIpNetTable
mov esi, eax
mov eax, dword [esp + 0x14]
push eax
push str.COAgentInfo::GetLocalIPs_2___u_
push 0x4ea168
push 0xf
push 0x5000bc
call fcn.0040c110
add esp, 0x14
cmp esi, ebp
je 0x4017e1
push str.COAgentInfo::GetLocalIPs_3
push 0x4ea168
push 0xf
push 0x5000bc
call fcn.0040c110
add esp, 0x10
cmp ebx, ebp
je 0x4018fc
push ebx
call fcn.004189ab
add esp, 4
mov dword [esp + 0x1c], ebp
mov ebx, ebp
jmp 0x4018fc
cmp ebx, ebp
je 0x4018fc
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx]
push ecx
push edx
push 0x18
push str.COAgentInfo::GetLocalIPs_2_1___d___d____d_
push 0x4ea168
push 0xf
push 0x5000bc
call fcn.0040c110
mov eax, dword [ebx]
add esp, 0x1c
cmp eax, ebp
jbe 0x4018fc
lea esi, [ebx + 8]
push 0x4fc434
lea ecx, [esp + 0x1c]
call fcn.00430f40
mov eax, dword [esi]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x48], edi
jbe 0x401882
push 0x4fc434
lea ecx, [esp + 0x24]
call fcn.00430f40
xor eax, eax
lea ecx, [esp + 0x20]
mov al, byte [esi + edi + 4]
mov byte [esp + 0x48], 1
push eax
push str._02X_
push ecx
call fcn.004347c0
add esp, 0xc
lea edx, [esp + 0x20]
lea ecx, [esp + 0x18]
push edx
call fcn.00432450
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 0
call fcn.004317b0
mov eax, dword [esi]
inc edi
cmp edi, eax
jb 0x401833
push 0x2d
lea ecx, [esp + 0x1c]
call fcn.004352a0
mov eax, dword [esi + 0xc]
push eax
call sub.WSOCK32.dll_inet_ntoa
push eax
lea ecx, [esp + 0x28]
call fcn.00430e30
mov ecx, dword [esi + 0x10]
mov edx, dword [eax]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esi - 4]
push edx
push eax
push ecx
push ebp
push str.COAgentInfo::GetLocalIPs_2_2___d____08x____s____s___08x_
push 0x4ea168
push 0xf
push 0x5000bc
mov byte [esp + 0x6c], 2
call fcn.0040c110
add esp, 0x24
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 0
call fcn.004317b0
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], 0xffffffff
call fcn.004317b0
mov eax, dword [ebx]
inc ebp
add esi, 0x18
cmp ebp, eax
jb 0x401819
mov ecx, dword [esp + 0x50]
push 0xffffffffffffffff
push 0
call fcn.004abccb
push 0x280
call fcn.004ad230
add esp, 4
xor ebp, ebp
mov edi, eax
mov dword [esp + 0x20], ebp
push 0x280
push str.COAgentInfo::GetLocalIPs_4___u_
push 0x4ea168
push 0xf
push 0x5000bc
mov dword [esp + 0x24], 0x280
call fcn.0040c110
add esp, 0x14
lea edx, [esp + 0x10]
push edx
push edi
call sub.iphlpapi.dll_GetAdaptersInfo
mov esi, eax
mov eax, dword [esp + 0x10]
push eax
push str.COAgentInfo::GetLocalIPs_5___u_
push 0x4ea168
push 0xf
push 0x5000bc
call fcn.0040c110
add esp, 0x14
cmp esi, 0x6f
jne 0x4019d7
mov ecx, dword [esp + 0x10]
push ecx
push str.COAgentInfo::GetLocalIPs_6___u_
push 0x4ea168
push 0xf
push 0x5000bc
call fcn.0040c110
push edi
call fcn.004ad259
mov edx, dword [esp + 0x28]
push edx
call fcn.004ad230
add esp, 0x1c
mov edi, eax
lea eax, [esp + 0x10]
mov dword [esp + 0x20], 1
push eax
push edi
call sub.iphlpapi.dll_GetAdaptersInfo
mov ecx, dword [esp + 0x10]
mov esi, eax
push ecx
push str.COAgentInfo::GetLocalIPs_7___u_
push 0x4ea168
push 0xf
push 0x5000bc
call fcn.0040c110
add esp, 0x14
mov eax, edi
test esi, esi
mov dword [esp + 0x3c], eax
jne 0x401bcd
push str.COAgentInfo::GetLocalIPs_8
push 0x4ea168
push 0xf
push 0x5000bc
call fcn.0040c110
add esp, 0x10
test edi, edi
je 0x401bc4
push edi
call fcn.00401200
add esp, 4
mov dword [esp + 0x30], eax
push eax
push str.COAgentInfo::GetLocalIPs_9___d_
push 0x4ea168
push 0xf
push 0x5000bc
call fcn.0040c110
mov edx, dword [edi + 0x1d0]
lea ebp, [edi + 0x1ac]
add esp, 0x14
push edx
push str.COAgentInfo::GetLocalIPs_9___08x_
push 0x4ea168
push 0xf
push 0x5000bc
call fcn.0040c110
add esp, 0x14
lea esi, [ebp + 4]
lea ecx, [esp + 0x2c]
push esi
call fcn.00430e30
mov ebx, eax
lea eax, [edi + 0x10c]
lea ecx, [esp + 0x28]
push eax
mov dword [esp + 0x4c], 3
call fcn.00430e30
mov dword [esp + 0x24], eax
lea eax, [edi + 8]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0x4c], 4
call fcn.00430e30
mov ecx, dword [ebx]
mov edx, dword [edi + 0x1a0]
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov byte [esp + 0x50], 5
mov edx, dword [ecx]
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
push str.COAgentInfo::GetLocalIPs_info___08x____s____s____u____s_
push 0x4ea168
push 0xf
push 0x5000bc
call fcn.0040c110
add esp, 0x24
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 4
call fcn.004317b0
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 3
call fcn.004317b0
or ebx, 0xffffffff
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], ebx
call fcn.004317b0
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x401b1a
mov edx, dword [esp + 0x1c]
push edx
push ebp
push edi
call section..text
add esp, 0xc
test eax, eax
jne 0x401b1a
push ebp
call fcn.004010a0
add esp, 4
test eax, eax
je 0x401b70
push esi
call sub.WSOCK32.dll_inet_addr
mov ecx, dword [esp + 0x50]
push eax
mov edx, dword [ecx + 8]
push edx
call fcn.004abe8f
push esi
lea ecx, [esp + 0x38]
call fcn.00430e30
mov eax, dword [eax]
mov dword [esp + 0x48], 6
push eax
push esi
call sub.WSOCK32.dll_inet_addr
push eax
push str.COAgentInfo::GetLocalIPs_10___08x____s_
push 0x4ea168
push 0xf
push 0x5000bc
call fcn.0040c110
add esp, 0x18
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], ebx
call fcn.004317b0
push esi
lea ecx, [esp + 0x3c]
call fcn.00430e30
mov ecx, dword [eax]
mov dword [esp + 0x48], 7
push ecx
push str.COAgentInfo::GetLocalIPs_11___s_
push 0x4ea168
push 0xf
push 0x5000bc
call fcn.0040c110
add esp, 0x14
lea ecx, [esp + 0x38]
mov dword [esp + 0x48], ebx
call fcn.004317b0
mov ebp, dword [ebp]
test ebp, ebp
jne 0x401a53
mov edi, dword [edi]
test edi, edi
jne 0x401a06
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
mov ebp, 1
test eax, eax
je 0x401be0
mov ecx, dword [esp + 0x20]
push eax
test ecx, ecx
call fcn.004ad259
add esp, 4
test ebx, ebx
je 0x401bed
push ebx
call fcn.004189ab
add esp, 4
mov ecx, dword [esp + 0x40]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret