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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431de8
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x43e460]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push 0x30
xor edi, edi
mov dword [ebp - 0x1f4], ebx
mov dword [ebp - 0x1e8], ebx
call fcn.0041be14
add esp, 4
cmp eax, ebx
je 0x4047b0
mov dword [ebp - 0x1ec], eax
mov dword [eax], eax
mov eax, dword [ebp - 0x1ec]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0x1ec]
mov dword [eax + 8], eax
mov eax, dword [ebp - 0x1ec]
mov byte [eax + 0x2c], 1
mov ecx, dword [ebp - 0x1ec]
mov byte [ecx + 0x2d], 1
mov edx, dword [ebp - 0x1ec]
mov eax, dword [edx + 4]
push eax
lea ecx, [ebp - 0x1f0]
mov dword [ebp - 4], ebx
call fcn.00402300
mov eax, dword [ebp - 0x1ec]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0x1ec]
mov dword [eax], eax
mov eax, dword [ebp - 0x1ec]
mov dword [eax + 8], eax
mov dword [ebp - 0x1e8], ebx
mov dword [ebp - 0x214], 0x100
xor esi, esi
lea ecx, [ebp - 0x1f4]
push ecx
push edi
push ebx
push ebx
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
cmp eax, 0x6f
jne 0x403e49
cmp edi, ebx
je 0x403d98
push edi
call fcn.0041c849
add esp, 4
mov edx, dword [ebp - 0x1f4]
push edx
call fcn.0041c7b5
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x403e3b
inc esi
cmp esi, 5
jb 0x403d72
mov dword [ebp - 0x1e0], edi
push str.Error_in_getting_local_DNS_suffixes..._n
call fcn.0041c600
add eax, 0x40
push eax
call fcn.0041c4f4
add esp, 8
or esi, 0xffffffff
xor edi, edi
mov eax, dword [ebp - 0x1e0]
cmp eax, edi
je 0x403deb
push eax
call fcn.0041c849
add esp, 4
mov eax, dword [ebp - 0x1ec]
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [ebp - 0x1d4]
push ecx
lea ecx, [ebp - 0x1f0]
mov dword [ebp - 4], 0x13
call fcn.00402c10
mov edx, dword [ebp - 0x1ec]
push edx
call fcn.0041b28a
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041be05
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x1e0], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x403e4f
mov dword [ebp - 0x1e0], edi
cmp eax, ebx
jne 0x403dbd
mov ecx, 0x43f74c
call fcn.004199f0
mov eax, dword [0x43f740]
mov ecx, dword [eax + 4]
push ecx
mov ecx, 0x43f73c
call fcn.00402280
mov eax, dword [0x43f740]
mov dword [eax + 4], eax
mov eax, dword [0x43f740]
mov dword [eax], eax
mov eax, dword [0x43f740]
xor ebx, ebx
mov dword [eax + 8], eax
mov dword [0x43f744], ebx
mov dword [ebp - 0x1cc], ebx
mov dword [ebp - 0x1d0], edi
cmp edi, ebx
je 0x404315
jmp 0x403eb0
push 0
push 0x4343f0
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x134], 0xf
mov dword [ebp - 0x138], 0
mov byte [ebp - 0x148], 0
call fcn.00401e50
mov edx, dword [ebp - 0x1d0]
mov eax, dword [edx + 0x20]
mov byte [ebp - 4], 1
test eax, eax
je 0x403fd4
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403ef5
sub eax, edx
sar eax, 1
mov edi, eax
je 0x403fd4
inc edi
push edi
call fcn.00419c3d
mov esi, eax
mov eax, dword [ebp - 0x1d0]
mov ecx, dword [eax + 0x20]
push edi
push ecx
push edi
lea edx, [ebp - 0x1d4]
push esi
push edx
call fcn.0041c4d4
add esp, 0x18
test eax, eax
jne 0x403f5e
push esi
push str.Local_DNS_suffix:__s_n
call fcn.0041c077
mov eax, esi
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403f48
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x148]
call fcn.00401e50
push esi
call fcn.0041c06c
xor eax, eax
xor esi, esi
add esp, 4
cmp dword [ebp - 0x138], esi
setne al
cmp eax, esi
sete al
test al, al
sete al
test al, al
je 0x403fd4
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x1f0]
call fcn.00403400
mov ebx, dword [eax]
mov dword [ebp - 0x1cc], ebx
cmp ebx, esi
jne 0x403fd4
push 0x10
call fcn.0041be14
add esp, 4
cmp eax, esi
je 0x403fb8
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov esi, eax
lea ecx, [ebp - 0x148]
push ecx
mov ebx, esi
lea ecx, [ebp - 0x1f0]
mov dword [ebp - 0x1cc], ebx
call fcn.00403400
mov dword [eax], esi
mov eax, dword [ebp - 0x1d0]
cmp dword [eax + 0x44], 1
jne 0x4042e1
mov esi, dword [eax + 0x10]
mov dword [ebp - 0x1dc], esi
test esi, esi
je 0x4042e1
mov ecx, dword [esi + 0x10]
lea edx, [ebp - 0x214]
push edx
mov edx, dword [esi + 0xc]
lea eax, [ebp - 0x110]
push eax
push 0
push ecx
push edx
call dword [sym.imp.WS2_32.dll_WSAAddressToStringA]
test eax, eax
jne 0x40402b
lea eax, [ebp - 0x110]
push eax
push str._tIP_Address__s_n
call fcn.0041c077
add esp, 8
push 0x80
lea ecx, [ebp - 0x1c8]
push 0
push ecx
call fcn.0041c890
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
push edx
push eax
lea ecx, [ebp - 0x1c8]
push ecx
call fcn.0041b2a0
add esp, 0x18
lea edx, [ebp - 0x1c8]
push edx
mov ecx, 0x43f73c
call fcn.004038d0
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x148]
push ecx
mov ecx, eax
call fcn.00401d60
lea eax, [ebp - 0x110]
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4040a0
sub eax, edx
push eax
lea edx, [ebp - 0x110]
push edx
lea ecx, [ebp - 0x12c]
call fcn.00401e50
mov byte [ebp - 4], 2
test ebx, ebx
je 0x4042a8
push 1
push 0
push 0x434404
lea ecx, [ebp - 0x12c]
call fcn.004014e0
cmp eax, 0xffffffff
jne 0x4042a8
push 9
push 0
push str.127.0.0.1
lea ecx, [ebp - 0x12c]
call fcn.004014e0
cmp eax, 0xffffffff
jne 0x4042a8
mov edi, dword [ebp - 0x11c]
mov edx, edi
cmp edi, 3
jb 0x404114
mov edx, 3
cmp dword [ebp - 0x118], 0x10
mov esi, dword [ebp - 0x12c]
jae 0x404129
lea esi, [ebp - 0x12c]
mov ecx, 0x4343f4
cmp edx, 4
jb 0x404147
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x40414b
sub edx, 4
add ecx, 4
add esi, 4
cmp edx, 4
jae 0x404133
test edx, edx
je 0x40419a
movzx eax, byte [esi]
movzx ebx, byte [ecx]
sub eax, ebx
jne 0x404186
cmp edx, 1
jbe 0x404194
movzx eax, byte [esi + 1]
movzx ebx, byte [ecx + 1]
sub eax, ebx
jne 0x404186
cmp edx, 2
jbe 0x404194
movzx eax, byte [esi + 2]
movzx ebx, byte [ecx + 2]
sub eax, ebx
jne 0x404186
cmp edx, 3
jbe 0x404194
movzx eax, byte [esi + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
mov ebx, dword [ebp - 0x1cc]
sar eax, 0x1f
or eax, 1
jmp 0x40419c
mov ebx, dword [ebp - 0x1cc]
xor eax, eax
test eax, eax
jne 0x4041b3
cmp edi, 3
jb 0x4041b3
cmp edi, 3
setne al
test eax, eax
je 0x4042a8
push 0x80
call fcn.0041be14
add esp, 4
test eax, eax
je 0x4041d7
mov ecx, 0x20
lea esi, [ebp - 0x1c8]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, eax
jmp 0x4041d9
xor esi, esi
mov eax, dword [ebx + 4]
lea edx, [ebp - 0x1d8]
mov dword [ebp - 0x1d8], esi
cmp edx, eax
jae 0x404255
mov edx, dword [ebx]
lea ecx, [ebp - 0x1d8]
cmp edx, ecx
ja 0x404255
mov esi, ecx
mov ecx, dword [ebx + 8]
sub esi, edx
sar esi, 2
cmp eax, ecx
jne 0x404243
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x40469c
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0x404243
mov edx, ecx
shr edx, 1
mov edi, 0x3fffffff
sub edi, edx
cmp edi, ecx
jae 0x404233
xor ecx, ecx
jmp 0x404235
add ecx, edx
cmp ecx, eax
jae 0x40423b
mov ecx, eax
push ecx
mov ecx, ebx
call fcn.00401ce0
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
lea ecx, [edx + esi*4]
test eax, eax
je 0x4042a4
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x4042a4
mov ecx, dword [ebx + 8]
cmp eax, ecx
jne 0x40429b
mov edx, dword [ebx]
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x40469c
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0x40429b
mov edx, ecx
shr edx, 1
mov edi, 0x3fffffff
sub edi, edx
cmp edi, ecx
jae 0x40428b
xor ecx, ecx
jmp 0x40428d
add ecx, edx
cmp ecx, eax
jae 0x404293
mov ecx, eax
push ecx
mov ecx, ebx
call fcn.00401ce0
mov eax, dword [ebx + 4]
test eax, eax
je 0x4042a4
mov dword [eax], esi
add dword [ebx + 4], 4
cmp dword [ebp - 0x118], 0x10
mov edx, dword [ebp - 0x1dc]
mov esi, dword [edx + 8]
mov dword [ebp - 0x1dc], esi
mov byte [ebp - 4], 1
jb 0x4042d3
mov eax, dword [ebp - 0x12c]
push eax
call fcn.0041b28a
add esp, 4
test esi, esi
jne 0x403ff5
mov eax, dword [ebp - 0x1d0]
mov esi, dword [eax + 8]
xor ebx, ebx
cmp dword [ebp - 0x134], 0x10
mov dword [ebp - 0x1d0], esi
mov dword [ebp - 0x1cc], ebx
mov byte [ebp - 4], bl
jb 0x40430d
mov ecx, dword [ebp - 0x148]
push ecx
call fcn.0041b28a
add esp, 4
test esi, esi
jne 0x403eb0
mov ecx, 0x43f74c
call fcn.00419a00
test byte [0x43f7a0], 1
mov esi, 0x43f76c
jne 0x40442c
or dword [0x43f7a0], 1
push 1
mov ecx, 0x43f758
mov byte [ebp - 4], 3
call fcn.004199a0
xor edi, edi
push 0x30
mov byte [ebp - 4], 4
mov dword [0x43f764], edi
call fcn.0041be14
add esp, 4
cmp eax, edi
je 0x4046d9
mov dword [0x43f760], eax
mov dword [eax], eax
mov eax, dword [0x43f760]
mov dword [eax + 4], eax
mov eax, dword [0x43f760]
mov dword [eax + 8], eax
mov edx, dword [0x43f760]
mov byte [edx + 0x2c], 1
mov eax, dword [0x43f760]
mov byte [eax + 0x2d], 1
push 1
mov ecx, esi
mov byte [ebp - 4], 5
mov dword [ebp - 0x1d4], esi
call fcn.004199a0
push 0x30
mov byte [ebp - 4], 6
mov dword [0x43f778], edi
call fcn.0041be14
add esp, 4
cmp eax, edi
je 0x4046a6
mov dword [0x43f774], eax
mov dword [eax], eax
mov eax, dword [0x43f774]
mov dword [eax + 4], eax
mov eax, dword [0x43f774]
mov dword [eax + 8], eax
mov ecx, dword [0x43f774]
mov byte [ecx + 0x2c], 1
mov edx, dword [0x43f774]
mov byte [edx + 0x2d], 1
push edi
push 0x4343f0
mov ecx, 0x43f780
mov byte [ebp - 4], 7
mov dword [0x43f794], 0xf
mov dword [0x43f790], edi
mov byte [0x43f780], 0
call fcn.00401e50
push 0x433c30
mov dword [0x43f79c], edi
call fcn.0041c055
add esp, 4
mov byte [ebp - 4], 0
mov ecx, 0x43f758
xor edi, edi
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], edi
call fcn.004199f0
test byte [0x43f7a0], 1
mov bl, 8
mov byte [ebp - 4], bl
jne 0x40454e
or dword [0x43f7a0], 1
push 1
mov ecx, 0x43f758
mov byte [ebp - 4], 9
call fcn.004199a0
push 0x30
mov byte [ebp - 4], 0xa
mov dword [0x43f764], edi
call fcn.0041be14
add esp, 4
cmp eax, edi
je 0x40473f
mov dword [0x43f760], eax
mov dword [eax], eax
mov eax, dword [0x43f760]
mov dword [eax + 4], eax
mov eax, dword [0x43f760]
mov dword [eax + 8], eax
mov ecx, dword [0x43f760]
mov byte [ecx + 0x2c], 1
mov edx, dword [0x43f760]
mov byte [edx + 0x2d], 1
push 1
mov ecx, esi
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x1d4], esi
call fcn.004199a0
push 0x30
mov byte [ebp - 4], 0xc
mov dword [0x43f778], edi
call fcn.0041be14
add esp, 4
cmp eax, edi
je 0x40470c
mov dword [0x43f774], eax
mov dword [eax], eax
mov eax, dword [0x43f774]
mov dword [eax + 4], eax
mov eax, dword [0x43f774]
mov dword [eax + 8], eax
mov eax, dword [0x43f774]
mov byte [eax + 0x2c], 1
mov ecx, dword [0x43f774]
mov byte [ecx + 0x2d], 1
push edi
push 0x4343f0
mov ecx, 0x43f780
mov byte [ebp - 4], 0xd
mov dword [0x43f794], 0xf
mov dword [0x43f790], edi
mov byte [0x43f780], 0
call fcn.00401e50
push 0x433c30
mov dword [0x43f79c], edi
call fcn.0041c055
add esp, 4
mov byte [ebp - 4], bl
mov ecx, 0x43f758
call fcn.00406b10
test byte [0x43f7a0], 1
jne 0x40465c
or dword [0x43f7a0], 1
push 1
mov ecx, 0x43f758
mov byte [ebp - 4], 0xe
call fcn.004199a0
push 0x30
mov byte [ebp - 4], 0xf
mov dword [0x43f764], edi
call fcn.0041be14
add esp, 4
cmp eax, edi
je 0x404780
mov dword [0x43f760], eax
mov dword [eax], eax
mov eax, dword [0x43f760]
mov dword [eax + 4], eax
mov eax, dword [0x43f760]
mov dword [eax + 8], eax
mov eax, dword [0x43f760]
mov byte [eax + 0x2c], 1
mov ecx, dword [0x43f760]
mov byte [ecx + 0x2d], 1
push 1
mov ecx, esi
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x1d4], esi
call fcn.004199a0
push 0x30
mov byte [ebp - 4], 0x11
mov dword [0x43f778], edi
call fcn.0041be14
add esp, 4
cmp eax, edi
je 0x404772
mov dword [0x43f774], eax
mov dword [eax], eax
mov eax, dword [0x43f774]
mov dword [eax + 4], eax
mov eax, dword [0x43f774]
mov dword [eax + 8], eax
mov edx, dword [0x43f774]
mov byte [edx + 0x2c], 1
mov eax, dword [0x43f774]
mov byte [eax + 0x2d], 1
push edi
push 0x4343f0
mov ecx, 0x43f780
mov byte [ebp - 4], 0x12
mov dword [0x43f794], 0xf
mov dword [0x43f790], edi
mov byte [0x43f780], 0
call fcn.00401e50
push 0x433c30
mov dword [0x43f79c], edi
call fcn.0041c055
add esp, 4
mov byte [ebp - 4], bl
mov eax, dword [0x43f760]
mov ecx, dword [eax]
push eax
push ecx
lea edx, [ebp - 0x1d4]
push edx
mov ecx, 0x43f75c
call fcn.00402c10
lea eax, [ebp - 0x1f0]
push eax
mov ecx, 0x43f75c
call fcn.00403570
mov ecx, 0x43f758
xor esi, esi
mov byte [ebp - 4], 0
call fcn.00419a00
jmp 0x403dd8
push str.vector_T__too_long
call fcn.00419b82
lea eax, [ebp - 0x1dc]
push eax
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x1dc], edi
call fcn.0041b19c
push 0x439efc
lea ecx, [ebp - 0x228]
push ecx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.0041be94
lea edx, [ebp - 0x1d8]
push edx
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x1d8], edi
call fcn.0041b19c
push 0x439efc
lea eax, [ebp - 0x240]
push eax
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.0041be94
lea edx, [ebp - 0x1d0]
push edx
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x1d0], edi
call fcn.0041b19c
push 0x439efc
lea eax, [ebp - 0x210]
push eax
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.0041be94
mov dword [ebp - 0x1cc], edi
lea ecx, [ebp - 0x1cc]
push ecx
lea ecx, [ebp - 0x204]
call fcn.0041b19c
push 0x439efc
lea edx, [ebp - 0x204]
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
push edx
call fcn.0041be94
mov dword [ebp - 0x1d0], edi
lea ecx, [ebp - 0x1d0]
jmp 0x40474b
lea eax, [ebp - 0x1cc]
push eax
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x1cc], edi
call fcn.0041b19c
push 0x439efc
lea ecx, [ebp - 0x210]
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
push ecx
jmp 0x40476d
lea eax, [ebp - 0x1f8]
push eax
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x1f8], ebx
call fcn.0041b19c
push 0x439efc
lea ecx, [ebp - 0x234]
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
push ecx
jmp 0x40476d