Function at 0x40bba0
Capabilities:
Get local ipv4 addresses

Disassembly:
sub esp, 0x44c
mov eax, dword [0x6019e4]
xor eax, esp
mov dword [esp + 0x444], eax
push ebx
push ebp
push esi
push edi
mov ebx, edx
mov dword [esp + 0x14], ecx
push 0x288
mov dword [esp + 0x28], ebx
xor esi, esi
mov dword [esp + 0x20], 0
call fcn.0058db11
mov ebp, eax
add esp, 4
mov dword [esp + 0x20], ebp
test ebp, ebp
je 0x40c06a
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [esp + 0x1c]
push eax
push ebp
mov dword [esp + 0x24], 0x288
call edi
test eax, eax
je 0x40bc25
push ebp
call fcn.0058c812
mov eax, dword [esp + 0x20]
add esp, 4
test eax, eax
je 0x40c06a
push eax
call fcn.0058db11
add esp, 4
mov dword [esp + 0x20], eax
mov ebp, eax
lea eax, [esp + 0x1c]
push eax
push ebp
call edi
test eax, eax
jne 0x40c061
cmp dword [esp + 0x1c], esi
je 0x40c061
push 0x178
call fcn.0058db11
mov ebp, eax
add esp, 4
mov dword [esp + 0x28], ebp
test ebp, ebp
jne 0x40bc5f
push dword [esp + 0x20]
jmp 0x40c062
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
lea eax, [esp + 0x1c]
push eax
push ebp
push 0
push 0x90
push 0
mov dword [esp + 0x30], 0x178
call edi
test eax, eax
je 0x40bca6
push ebp
call fcn.0058c812
mov eax, dword [esp + 0x20]
add esp, 4
test eax, eax
je 0x40c06a
push eax
call fcn.0058db11
add esp, 4
mov dword [esp + 0x28], eax
mov ebp, eax
lea eax, [esp + 0x1c]
push eax
push ebp
push 0
push 0x90
push 0
call edi
test eax, eax
jne 0x40c055
cmp dword [esp + 0x1c], esi
je 0x40c055
mov ecx, dword [esp + 0x20]
xor edx, edx
mov dword [esp + 0x30], edx
mov ebp, ecx
test ecx, ecx
je 0x40c03c
nop dword [eax]
mov eax, dword [esp + 0x28]
mov edi, eax
test eax, eax
je 0x40bcfc
mov eax, dword [ebp + 0x19c]
cmp dword [edi + 4], eax
je 0x40bd11
mov edi, dword [edi + 8]
test edi, edi
jne 0x40bcf0
push dword [esp + 0x20]
call fcn.0058c812
add esp, 4
push dword [esp + 0x28]
jmp 0x40c062
test edx, edx
je 0x40bd30
mov eax, ebx
sub eax, esi
push 0x604f3c
push eax
mov eax, dword [esp + 0x1c]
add eax, esi
push eax
call fcn.0040bb80
add esp, 0xc
add esi, eax
mov eax, ebx
sub eax, esi
push 0x604f40
push eax
mov eax, dword [esp + 0x1c]
add eax, esi
push eax
call fcn.0040bb80
add esp, 0xc
add esi, eax
mov eax, ebx
sub eax, esi
push dword [ebp + 0x1a0]
push 0x604f44
push eax
mov eax, dword [esp + 0x20]
add eax, esi
push eax
call fcn.0040bb80
mov edx, dword [edi + 0x28]
add esp, 0x10
mov ecx, edx
add esi, eax
lea eax, [ecx + 2]
mov dword [esp + 0x18], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40bd80
sub ecx, dword [esp + 0x18]
sar ecx, 1
je 0x40bdea
mov ecx, edx
lea eax, [ecx + 2]
mov dword [esp + 0x18], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40bda0
sub ecx, dword [esp + 0x18]
lea eax, [esp + 0x50]
sar ecx, 1
push ecx
push edx
push 0x3ff
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.005928c8
add esp, 0x14
lea eax, [esp + 0x50]
push eax
mov eax, ebx
sub eax, esi
push str.__name_:__s_
push eax
mov eax, dword [esp + 0x20]
add eax, esi
push eax
call fcn.0040bb80
add esp, 0x10
add esi, eax
mov edx, dword [edi + 0x24]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [esp + 0x18], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40bdf6
sub ecx, dword [esp + 0x18]
sar ecx, 1
je 0x40be5c
mov ecx, edx
lea eax, [ecx + 2]
mov dword [esp + 0x18], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40be12
sub ecx, dword [esp + 0x18]
lea eax, [esp + 0x50]
sar ecx, 1
push ecx
push edx
push 0x3ff
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.005928c8
add esp, 0x14
lea eax, [esp + 0x50]
push eax
mov eax, ebx
sub eax, esi
push str.__desc_:__s_
push eax
mov eax, dword [esp + 0x20]
add eax, esi
push eax
call fcn.0040bb80
add esp, 0x10
add esi, eax
cmp dword [ebp + 0x190], 6
jne 0x40beb0
movzx eax, byte [ebp + 0x199]
push eax
movzx eax, byte [ebp + 0x198]
push eax
movzx eax, byte [ebp + 0x197]
push eax
movzx eax, byte [ebp + 0x196]
push eax
movzx eax, byte [ebp + 0x195]
push eax
movzx eax, byte [ebp + 0x194]
push eax
mov eax, ebx
sub eax, esi
push str.__mac_:__02x_02x_02x_02x_02x_02x_
push eax
mov eax, dword [esp + 0x34]
add eax, esi
push eax
call fcn.0040bb80
add esp, 0x24
add esi, eax
mov edx, dword [edi + 0x20]
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40bec0
sub ecx, edi
sar ecx, 1
je 0x40bf1e
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40bed6
sub ecx, edi
lea eax, [esp + 0x50]
sar ecx, 1
push ecx
push edx
push 0x3ff
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.005928c8
add esp, 0x14
lea eax, [esp + 0x50]
push eax
mov eax, ebx
sub eax, esi
push str.__dnssuffix_:__s_
push eax
mov eax, dword [esp + 0x20]
add eax, esi
push eax
call fcn.0040bb80
add esp, 0x10
add esi, eax
mov edi, dword [esp + 0x24]
lea ebx, [ebp + 0x1b0]
push ebx
mov eax, edi
sub eax, esi
push str.__v4addr_:__s_
push eax
mov eax, dword [esp + 0x20]
add eax, esi
push eax
call fcn.0040bb80
add esi, eax
lea eax, [ebp + 0x1c0]
push eax
mov eax, dword [esp + 0x28]
sub edi, esi
push str.__v4mask_:__s_
add eax, esi
push edi
push eax
call fcn.0040bb80
add esi, eax
lea edi, [ebp + 0x1d8]
mov eax, dword [esp + 0x44]
push edi
sub eax, esi
push str.__v4gateway_:__s_
push eax
mov eax, dword [esp + 0x40]
add eax, esi
push eax
call fcn.0040bb80
add esi, eax
mov edx, ebx
lea eax, [esp + 0x64]
mov ecx, 2
push eax
call fcn.004b4c00
add esp, 0x34
lea eax, [esp + 0x38]
mov edx, edi
mov ecx, 2
push eax
call fcn.004b4c00
add esp, 4
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x3c]
push dword [esp + 0x44]
call dword [sym.imp.IPHLPAPI.DLL_SendARP]
cmp dword [esp + 0x3c], 6
mov ebx, dword [esp + 0x24]
jne 0x40c009
movzx eax, byte [esp + 0x45]
push eax
movzx eax, byte [esp + 0x48]
push eax
movzx eax, byte [esp + 0x4b]
push eax
movzx eax, byte [esp + 0x4e]
push eax
movzx eax, byte [esp + 0x51]
push eax
movzx eax, byte [esp + 0x54]
push eax
mov eax, ebx
sub eax, esi
push str.__gatewaymac_:__02x_02x_02x_02x_02x_02x_
push eax
mov eax, dword [esp + 0x34]
add eax, esi
push eax
call fcn.0040bb80
add esp, 0x24
add esi, eax
mov eax, ebx
sub eax, esi
push 0x605008
push eax
mov eax, dword [esp + 0x1c]
add eax, esi
push eax
call fcn.0040bb80
mov edx, dword [esp + 0x3c]
add esp, 0xc
mov ebp, dword [ebp]
inc edx
add esi, eax
mov dword [esp + 0x30], edx
test ebp, ebp
jne 0x40bce0
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0058c812
add esp, 4
push dword [esp + 0x28]
call fcn.0058c812
add esp, 4
mov eax, esi
jmp 0x40c06c
push dword [esp + 0x20]
call fcn.0058c812
add esp, 4
push ebp
call fcn.0058c812
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x454]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005852a8
add esp, 0x44c
ret