Function at 0x40b345
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
sub esp, 0x444
mov eax, dword [0x6b0d44]
xor eax, esp
mov dword [esp + 0x440], eax
push ebx
push ebp
push esi
push edi
push 0x55
xor edi, edi
mov dword [esp + 0x1c], edx
push 0x6b4e4c
xor eax, eax
mov dword [esp + 0x1c], ecx
inc edi
mov dword [esp + 0x24], eax
push edi
mov esi, 0x288
mov dword [esp + 0x1c], eax
push esi
mov ebx, eax
call fcn.005ce020
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x40b80c
lea eax, [esp + 0x10]
mov dword [esp + 0x10], esi
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
push eax
push ebp
call esi
test eax, eax
je 0x40b3d3
push edi
push ebp
call fcn.005cdee0
pop ecx
pop ecx
cmp dword [esp + 0x10], ebx
je 0x40b80c
push 0x58
push 0x6b4e64
push edi
push dword [esp + 0x1c]
call fcn.005ce020
add esp, 0x10
mov ebp, eax
lea eax, [esp + 0x10]
push eax
push ebp
call esi
test eax, eax
jne 0x40b803
cmp dword [esp + 0x10], ebx
je 0x40b803
push 0x62
push 0x6b4e7c
push edi
push 0x178
call fcn.005ce020
mov esi, eax
add esp, 0x10
mov dword [esp + 0x28], esi
test esi, esi
je 0x40b803
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
lea eax, [esp + 0x10]
push eax
push esi
xor eax, eax
mov dword [esp + 0x18], 0x178
push eax
push 0x90
push eax
call edi
test eax, eax
je 0x40b462
push 1
push esi
call fcn.005cdee0
pop ecx
pop ecx
cmp dword [esp + 0x10], ebx
je 0x40b80c
push 0x69
push 0x6b4e94
push 1
push dword [esp + 0x1c]
call fcn.005ce020
add esp, 0x10
mov dword [esp + 0x28], eax
mov esi, eax
lea eax, [esp + 0x10]
push eax
push esi
xor eax, eax
push eax
push 0x90
push eax
call edi
test eax, eax
jne 0x40b7ee
cmp dword [esp + 0x10], ebx
je 0x40b7ee
mov dword [esp + 0x2c], eax
mov edx, eax
mov dword [esp + 0x24], ebp
mov edi, ebp
test ebp, ebp
je 0x40b7d7
mov eax, esi
test esi, esi
je 0x40b7ee
mov ecx, dword [edi + 0x19c]
cmp dword [eax + 4], ecx
je 0x40b4b5
mov eax, dword [eax + 8]
test eax, eax
jne 0x40b4a9
mov dword [esp + 0x20], eax
test eax, eax
je 0x40b7ee
mov esi, dword [esp + 0x18]
test edx, edx
je 0x40b4e4
mov eax, esi
sub eax, ebx
push 0x6b4eac
push eax
mov eax, dword [esp + 0x1c]
add eax, ebx
push eax
call fcn.0040b32c
add esp, 0xc
add ebx, eax
mov eax, esi
sub eax, ebx
push 0x6b4eb0
push eax
mov eax, dword [esp + 0x1c]
add eax, ebx
push eax
call fcn.0040b32c
push dword [edi + 0x1a0]
add ebx, eax
mov eax, dword [esp + 0x24]
push str._type_:_d
sub esi, ebx
add eax, ebx
push esi
push eax
call fcn.0040b32c
mov esi, dword [esp + 0x3c]
add esp, 0x1c
add ebx, eax
mov ecx, dword [esi + 0x28]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x1c]
jne 0x40b525
sub ecx, edx
sar ecx, 1
je 0x40b589
mov ecx, dword [esi + 0x28]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x1c]
jne 0x40b53e
sub ecx, edx
lea eax, [esp + 0x50]
sar ecx, 1
push ecx
push dword [esi + 0x28]
push 0x3ff
push eax
lea eax, [esp + 0x40]
push eax
call fcn.005e1f20
lea eax, [esp + 0x64]
push eax
mov eax, dword [esp + 0x30]
sub eax, ebx
push str.__name_:__s_
push eax
mov eax, dword [esp + 0x34]
add eax, ebx
push eax
call fcn.0040b32c
add esp, 0x24
add ebx, eax
mov ecx, dword [esi + 0x24]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x1c]
jne 0x40b58f
sub ecx, edx
sar ecx, 1
je 0x40b5f3
mov ecx, dword [esi + 0x24]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x1c]
jne 0x40b5a8
sub ecx, edx
lea eax, [esp + 0x50]
sar ecx, 1
push ecx
push dword [esi + 0x24]
push 0x3ff
push eax
lea eax, [esp + 0x40]
push eax
call fcn.005e1f20
lea eax, [esp + 0x64]
push eax
mov eax, dword [esp + 0x30]
sub eax, ebx
push str.__desc_:__s_
push eax
mov eax, dword [esp + 0x34]
add eax, ebx
push eax
call fcn.0040b32c
add esp, 0x24
add ebx, eax
cmp dword [edi + 0x190], 6
jne 0x40b649
movzx eax, byte [edi + 0x199]
push eax
movzx eax, byte [edi + 0x198]
push eax
movzx eax, byte [edi + 0x197]
push eax
movzx eax, byte [edi + 0x196]
push eax
movzx eax, byte [edi + 0x195]
push eax
movzx eax, byte [edi + 0x194]
push eax
mov eax, dword [esp + 0x30]
sub eax, ebx
push str.__mac_:__02x_02x_02x_02x_02x_02x_
push eax
mov eax, dword [esp + 0x34]
add eax, ebx
push eax
call fcn.0040b32c
add esp, 0x24
add ebx, eax
mov ecx, dword [esi + 0x20]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x1c]
jne 0x40b64f
sub ecx, edx
sar ecx, 1
je 0x40b6b3
mov ecx, dword [esi + 0x20]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x1c]
jne 0x40b668
sub ecx, edx
lea eax, [esp + 0x50]
sar ecx, 1
push ecx
push dword [esi + 0x20]
push 0x3ff
push eax
lea eax, [esp + 0x40]
push eax
call fcn.005e1f20
lea eax, [esp + 0x64]
push eax
mov eax, dword [esp + 0x30]
sub eax, ebx
push str.__dnssuffix_:__s_
push eax
mov eax, dword [esp + 0x34]
add eax, ebx
push eax
call fcn.0040b32c
add esp, 0x24
add ebx, eax
mov eax, dword [esp + 0x18]
add edi, 0x1b0
push edi
sub eax, ebx
push str.__v4addr_:__s_
push eax
mov eax, dword [esp + 0x20]
add eax, ebx
push eax
call fcn.0040b32c
mov esi, dword [esp + 0x34]
add ebx, eax
lea eax, [esi + 0x1c0]
push eax
mov eax, dword [esp + 0x2c]
sub eax, ebx
push str.__v4mask_:__s_
push eax
mov eax, dword [esp + 0x30]
add eax, ebx
push eax
call fcn.0040b32c
add ebx, eax
add esi, 0x1d8
mov eax, dword [esp + 0x38]
push esi
sub eax, ebx
push str.__v4gateway_:__s_
push eax
mov eax, dword [esp + 0x40]
add eax, ebx
push eax
call fcn.0040b32c
add ebx, eax
mov edx, edi
lea eax, [esp + 0x64]
push eax
push 2
pop ecx
call fcn.00471189
lea eax, [esp + 0x6c]
mov edx, esi
push eax
push 2
pop ecx
call fcn.00471189
add esp, 0x38
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
jne 0x40b79b
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, dword [esp + 0x30]
sub eax, ebx
push str.__gatewaymac_:__02x_02x_02x_02x_02x_02x_
push eax
mov eax, dword [esp + 0x34]
add eax, ebx
push eax
call fcn.0040b32c
add esp, 0x24
add ebx, eax
mov eax, dword [esp + 0x18]
sub eax, ebx
push 0x6b4f78
push eax
mov eax, dword [esp + 0x1c]
add eax, ebx
push eax
call fcn.0040b32c
mov edi, dword [esp + 0x30]
add esp, 0xc
mov edx, dword [esp + 0x2c]
add ebx, eax
mov esi, dword [esp + 0x28]
inc edx
mov dword [esp + 0x2c], edx
mov edi, dword [edi]
mov dword [esp + 0x24], edi
test edi, edi
jne 0x40b499
push 1
push ebp
call fcn.005cdee0
push 1
push esi
call fcn.005cdee0
add esp, 0x10
mov eax, ebx
jmp 0x40b80e
push 1
push ebp
call fcn.005cdee0
push 1
push esi
call fcn.005cdee0
add esp, 0x10
jmp 0x40b80c
push edi
push ebp
call fcn.005cdee0
pop ecx
pop ecx
xor eax, eax
mov ecx, dword [esp + 0x450]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0059b3f0
add esp, 0x444
ret