Function at 0x401710
Capabilities:
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x4c5650
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 0x4e8168
push 0xf
push 0x4fe0bc
call fcn.0040c000
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.00418984
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 0x4e8168
push 0xf
push 0x4fe0bc
call fcn.0040c000
add esp, 0x14
cmp esi, ebp
je 0x4017d1
push str.COAgentInfo::GetLocalIPs_3
push 0x4e8168
push 0xf
push 0x4fe0bc
call fcn.0040c000
add esp, 0x10
cmp ebx, ebp
je 0x4018ec
push ebx
call fcn.0041889b
add esp, 4
mov dword [esp + 0x1c], ebp
mov ebx, ebp
jmp 0x4018ec
cmp ebx, ebp
je 0x4018ec
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 0x4e8168
push 0xf
push 0x4fe0bc
call fcn.0040c000
mov eax, dword [ebx]
add esp, 0x1c
cmp eax, ebp
jbe 0x4018ec
lea esi, [ebx + 8]
push 0x4fa434
lea ecx, [esp + 0x1c]
call fcn.00430e30
mov eax, dword [esi]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x48], edi
jbe 0x401872
push 0x4fa434
lea ecx, [esp + 0x24]
call fcn.00430e30
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.004346b0
add esp, 0xc
lea edx, [esp + 0x20]
lea ecx, [esp + 0x18]
push edx
call fcn.00432340
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 0
call fcn.004316a0
mov eax, dword [esi]
inc edi
cmp edi, eax
jb 0x401823
push 0x2d
lea ecx, [esp + 0x1c]
call fcn.00435190
mov eax, dword [esi + 0xc]
push eax
call sub.WSOCK32.dll_inet_ntoa
push eax
lea ecx, [esp + 0x28]
call fcn.00430d20
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 0x4e8168
push 0xf
push 0x4fe0bc
mov byte [esp + 0x6c], 2
call fcn.0040c000
add esp, 0x24
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 0
call fcn.004316a0
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], 0xffffffff
call fcn.004316a0
mov eax, dword [ebx]
inc ebp
add esi, 0x18
cmp ebp, eax
jb 0x401809
mov ecx, dword [esp + 0x50]
push 0xffffffffffffffff
push 0
call fcn.004a9c8b
push 0x280
call fcn.004ab1f0
add esp, 4
xor ebp, ebp
mov edi, eax
mov dword [esp + 0x20], ebp
push 0x280
push str.COAgentInfo::GetLocalIPs_4___u_
push 0x4e8168
push 0xf
push 0x4fe0bc
mov dword [esp + 0x24], 0x280
call fcn.0040c000
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 0x4e8168
push 0xf
push 0x4fe0bc
call fcn.0040c000
add esp, 0x14
cmp esi, 0x6f
jne 0x4019c7
mov ecx, dword [esp + 0x10]
push ecx
push str.COAgentInfo::GetLocalIPs_6___u_
push 0x4e8168
push 0xf
push 0x4fe0bc
call fcn.0040c000
push edi
call fcn.004ab219
mov edx, dword [esp + 0x28]
push edx
call fcn.004ab1f0
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 0x4e8168
push 0xf
push 0x4fe0bc
call fcn.0040c000
add esp, 0x14
mov eax, edi
test esi, esi
mov dword [esp + 0x3c], eax
jne 0x401bbd
push str.COAgentInfo::GetLocalIPs_8
push 0x4e8168
push 0xf
push 0x4fe0bc
call fcn.0040c000
add esp, 0x10
test edi, edi
je 0x401bb4
push edi
call fcn.00401200
add esp, 4
mov dword [esp + 0x30], eax
push eax
push str.COAgentInfo::GetLocalIPs_9___d_
push 0x4e8168
push 0xf
push 0x4fe0bc
call fcn.0040c000
mov edx, dword [edi + 0x1d0]
lea ebp, [edi + 0x1ac]
add esp, 0x14
push edx
push str.COAgentInfo::GetLocalIPs_9___08x_
push 0x4e8168
push 0xf
push 0x4fe0bc
call fcn.0040c000
add esp, 0x14
lea esi, [ebp + 4]
lea ecx, [esp + 0x2c]
push esi
call fcn.00430d20
mov ebx, eax
lea eax, [edi + 0x10c]
lea ecx, [esp + 0x28]
push eax
mov dword [esp + 0x4c], 3
call fcn.00430d20
mov dword [esp + 0x24], eax
lea eax, [edi + 8]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0x4c], 4
call fcn.00430d20
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 0x4e8168
push 0xf
push 0x4fe0bc
call fcn.0040c000
add esp, 0x24
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 4
call fcn.004316a0
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 3
call fcn.004316a0
or ebx, 0xffffffff
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], ebx
call fcn.004316a0
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x401b0a
mov edx, dword [esp + 0x1c]
push edx
push ebp
push edi
call section..text
add esp, 0xc
test eax, eax
jne 0x401b0a
push ebp
call fcn.004010a0
add esp, 4
test eax, eax
je 0x401b60
push esi
call sub.WSOCK32.dll_inet_addr
mov ecx, dword [esp + 0x50]
push eax
mov edx, dword [ecx + 8]
push edx
call fcn.004a9e4f
push esi
lea ecx, [esp + 0x38]
call fcn.00430d20
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 0x4e8168
push 0xf
push 0x4fe0bc
call fcn.0040c000
add esp, 0x18
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], ebx
call fcn.004316a0
push esi
lea ecx, [esp + 0x3c]
call fcn.00430d20
mov ecx, dword [eax]
mov dword [esp + 0x48], 7
push ecx
push str.COAgentInfo::GetLocalIPs_11___s_
push 0x4e8168
push 0xf
push 0x4fe0bc
call fcn.0040c000
add esp, 0x14
lea ecx, [esp + 0x38]
mov dword [esp + 0x48], ebx
call fcn.004316a0
mov ebp, dword [ebp]
test ebp, ebp
jne 0x401a43
mov edi, dword [edi]
test edi, edi
jne 0x4019f6
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
mov ebp, 1
test eax, eax
je 0x401bd0
mov ecx, dword [esp + 0x20]
push eax
test ecx, ecx
call fcn.004ab219
add esp, 4
test ebx, ebx
je 0x401bdd
push ebx
call fcn.0041889b
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