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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0e5c
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x508164]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x24c], ecx
mov ecx, eax
mov dword [ebp - 0x238], ebx
call fcn.0040fea0
push ebx
lea ecx, [ebp - 0x284]
call fcn.004835a0
mov dword [ebp - 4], ebx
xor esi, esi
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov dword [ebp - 0x240], 0x3a98
nop
push dword [ebp - 0x240]
call fcn.004a8ede
add esp, 4
mov dword [ebp - 0x23c], eax
test eax, eax
je 0x4103e3
lea ecx, [ebp - 0x240]
push ecx
push eax
push 0
push 0x90
push 0
call edi
mov esi, eax
mov eax, dword [ebp - 0x23c]
cmp esi, 0x6f
jne 0x4103e8
push eax
call fcn.004a8ee9
add esp, 4
jmp 0x4103a0
cmp esi, 0x6f
je 0x4103a0
test esi, esi
jne 0x410a93
mov dword [ebp - 0x248], eax
mov edi, eax
test eax, eax
je 0x410aa6
mov eax, dword [edi + 0x40]
cmp eax, 0x18
je 0x410a82
cmp eax, 0x83
je 0x410a82
push 0
lea ecx, [ebp - 0x264]
call fcn.004835a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1ec]
push dword [edi + 0x28]
call fcn.00408080
mov esi, eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00409770
cmp dword [esi + 0x14], 0x10
jb 0x41044b
mov esi, dword [esi]
mov ecx, esi
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x178], 0xf
mov byte [ebp - 0x18c], 0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410470
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x18c]
call fcn.0040e3a0
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 5
call fcn.0040c2c0
push fcn.0040e540
push 2
push 0x18
lea eax, [ebp - 0x1ec]
push eax
call fcn.0048dbcc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x234]
push dword [edi + 0x24]
call fcn.00408080
mov esi, eax
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00409770
cmp dword [esi + 0x14], 0x10
jb 0x4104d1
mov esi, dword [esi]
mov ecx, esi
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x190], 0xf
mov byte [ebp - 0x1a4], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4104f1
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x1a4]
call fcn.0040e3a0
lea ecx, [ebp - 0x204]
mov byte [ebp - 4], 9
call fcn.0040c2c0
push fcn.0040e540
push 2
push 0x18
lea eax, [ebp - 0x234]
push eax
call fcn.0048dbcc
mov esi, dword [ebp - 0x244]
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x268]
push eax
lea ecx, [esi + 4]
call fcn.00411950
mov eax, dword [eax]
cmp eax, dword [esi + 4]
je 0x4109f7
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x15c]
mov eax, dword [ebp - 0x17c]
or ebx, 1
add eax, 0xd
mov dword [ebp - 0x14c], 0
push eax
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], 0
mov dword [ebp - 0x238], ebx
call fcn.00428cc0
push 0x4ea694
lea ecx, [ebp - 0x15c]
call fcn.0040d920
lea eax, [ebp - 0x18c]
push eax
lea ecx, [ebp - 0x15c]
call fcn.0040e250
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x174]
call fcn.00483400
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 0xb
push eax
push str.name
lea ecx, [ebp - 0x264]
call fcn.00483fc0
mov ecx, eax
call fcn.00483ad0
lea ecx, [ebp - 0x174]
call fcn.00483a60
and ebx, 0xfffffffe
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x238], ebx
cmp edx, 0x10
jb 0x410637
mov ecx, dword [ebp - 0x15c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41062d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410aed
push edx
push ecx
call fcn.0048d8eb
add esp, 8
cmp dword [edi + 0x34], 0
je 0x4106c2
push 0x30
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.004a5f00
movzx eax, byte [edi + 0x31]
add esp, 0xc
push eax
movzx eax, byte [edi + 0x30]
push eax
movzx eax, byte [edi + 0x2f]
push eax
movzx eax, byte [edi + 0x2e]
push eax
movzx eax, byte [edi + 0x2d]
push eax
movzx eax, byte [edi + 0x2c]
push eax
push str._02X__02X__02X__02X__02X__02X
lea eax, [ebp - 0x44]
push 0x30
push eax
call fcn.00429320
add esp, 0x24
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x174]
push eax
call fcn.004834d0
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 0xc
push eax
push 0x4ea6c4
lea ecx, [ebp - 0x264]
call fcn.00483fc0
mov ecx, eax
call fcn.00483ad0
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 8
call fcn.00483a60
mov eax, dword [edi + 0x38]
lea ecx, [ebp - 0x174]
shr eax, 2
and al, 1
movzx eax, al
push eax
call fcn.00483740
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 0xd
push eax
push str.isdhcp
lea ecx, [ebp - 0x264]
call fcn.00483fc0
mov ecx, eax
call fcn.00483ad0
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 8
call fcn.00483a60
lea eax, [ebp - 0x174]
push eax
push 0x4ea6c4
lea ecx, [ebp - 0x264]
call fcn.00483fc0
mov ecx, eax
call fcn.00485600
mov esi, eax
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 0xe
push eax
push str.name
lea ecx, [ebp - 0x264]
call fcn.00483fc0
mov ecx, eax
call fcn.00485600
mov byte [ebp - 4], 0xf
cmp dword [esi + 0x14], 0x10
jb 0x410758
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x410760
mov eax, dword [eax]
push dword [edi + 0x40]
push esi
push eax
push 0x4ea6d0
push 0x1c8
push 0x4ea6f8
push 4
push ecx
call fcn.00407ee0
add esp, 4
push eax
call fcn.00407910
mov byte [ebp - 4], 0xe
add esp, 0x20
mov edx, dword [ebp - 0x148]
cmp edx, 0x10
jb 0x4107c6
mov ecx, dword [ebp - 0x15c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4107bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410aed
push edx
push ecx
call fcn.0048d8eb
add esp, 8
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x160]
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], 0
cmp edx, 0x10
jb 0x41081f
mov ecx, dword [ebp - 0x174]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410815
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410aed
push edx
push ecx
call fcn.0048d8eb
add esp, 8
mov esi, dword [edi + 0x10]
test esi, esi
je 0x4109e5
mov ecx, 0x17
nop
mov edi, dword [esi + 0xc]
movzx eax, word [edi]
cmp cx, ax
jne 0x410979
cmp dword [esi + 0x18], 5
je 0x4109d4
mov eax, dword [ebp - 0x244]
mov ebx, dword [eax]
test ebx, ebx
je 0x4108b6
push 0x100
lea eax, [ebp - 0x144]
push 0
push eax
call fcn.004a5f00
add esp, 0xc
lea eax, [ebp - 0x144]
push 0x100
push eax
lea eax, [edi + 8]
push eax
push 0x17
call ebx
lea eax, [ebp - 0x144]
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0xf
lea edx, [eax + 1]
mov byte [ebp - 0x15c], 0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4108a3
sub eax, edx
push eax
lea eax, [ebp - 0x144]
push eax
jmp 0x4108d8
push 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], 0
push 0x4ea2b7
lea ecx, [ebp - 0x15c]
call fcn.0040e3a0
mov ebx, dword [ebp - 0x238]
lea eax, [ebp - 0x15c]
or ebx, 2
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x238], ebx
call fcn.00483400
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 0x11
push eax
push str.ipv6
lea ecx, [ebp - 0x264]
call fcn.00483fc0
mov ecx, eax
call fcn.00483ad0
lea ecx, [ebp - 0x174]
call fcn.00483a60
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x148]
cmp edx, 0x10
jb 0x4109cf
mov ecx, dword [ebp - 0x15c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41096d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410aed
push edx
push ecx
call fcn.0048d8eb
add esp, 8
jmp 0x4109cf
mov edx, 2
cmp dx, ax
jne 0x4109d4
cmp dword [esi + 0x18], 5
je 0x4109d4
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x174]
call fcn.004834d0
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 0x12
push eax
push str.ipv4
lea ecx, [ebp - 0x264]
call fcn.00483fc0
mov ecx, eax
call fcn.00483ad0
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 8
call fcn.00483a60
mov ecx, 0x17
mov esi, dword [esi + 8]
test esi, esi
jne 0x410830
mov edi, dword [ebp - 0x248]
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x284]
call fcn.00484c20
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x190]
cmp edx, 0x10
jb 0x410a35
mov ecx, dword [ebp - 0x1a4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410a2b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410aed
push edx
push ecx
call fcn.0048d8eb
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x178]
cmp edx, 0x10
jb 0x410a73
mov ecx, dword [ebp - 0x18c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410a69
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410aed
push edx
push ecx
call fcn.0048d8eb
add esp, 8
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0
call fcn.00483a60
mov edi, dword [edi + 8]
mov dword [ebp - 0x248], edi
test edi, edi
jne 0x410400
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x410aa6
push eax
call fcn.004a8ee9
add esp, 4
mov ecx, dword [ebp - 0x24c]
lea eax, [ebp - 0x284]
push eax
push str.adapters
call fcn.00483fc0
mov ecx, eax
call fcn.00483b20
lea ecx, [ebp - 0x284]
call fcn.00483a60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048d8b2
mov esp, ebp
pop ebp
ret 4
call fcn.004b0023
int3