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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431db8
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.0041bdc4
add esp, 4
cmp eax, ebx
je 0x4049e0
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.00402df0
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 0x404079
cmp edi, ebx
je 0x403fc8
push edi
call fcn.0041c7f8
add esp, 4
mov edx, dword [ebp - 0x1f4]
push edx
call fcn.0041c764
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x40406b
inc esi
cmp esi, 5
jb 0x403fa2
mov dword [ebp - 0x1e0], edi
push str.Error_in_getting_local_DNS_suffixes..._n
call fcn.0041c5af
add eax, 0x40
push eax
call fcn.0041c4a3
add esp, 8
or esi, 0xffffffff
xor edi, edi
mov eax, dword [ebp - 0x1e0]
cmp eax, edi
je 0x40401b
push eax
call fcn.0041c7f8
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.004033a0
mov edx, dword [ebp - 0x1ec]
push edx
call fcn.0041b244
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.0041bdb5
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x1e0], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40407f
mov dword [ebp - 0x1e0], edi
cmp eax, ebx
jne 0x403fed
mov ecx, 0x43f74c
call fcn.004199b0
mov eax, dword [0x43f740]
mov ecx, dword [eax + 4]
push ecx
mov ecx, 0x43f73c
call fcn.004024c0
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 0x404545
jmp 0x4040e0
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.00401e40
mov edx, dword [ebp - 0x1d0]
mov eax, dword [edx + 0x20]
mov byte [ebp - 4], 1
test eax, eax
je 0x404204
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404125
sub eax, edx
sar eax, 1
mov edi, eax
je 0x404204
inc edi
push edi
call fcn.00419bf7
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.0041c483
add esp, 0x18
test eax, eax
jne 0x40418e
push esi
push str.Local_DNS_suffix:__s_n
call fcn.0041c026
mov eax, esi
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404178
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x148]
call fcn.00401e40
push esi
call fcn.0041c01b
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 0x404204
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x1f0]
call fcn.004036a0
mov ebx, dword [eax]
mov dword [ebp - 0x1cc], ebx
cmp ebx, esi
jne 0x404204
push 0x10
call fcn.0041bdc4
add esp, 4
cmp eax, esi
je 0x4041e8
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.004036a0
mov dword [eax], esi
mov eax, dword [ebp - 0x1d0]
cmp dword [eax + 0x44], 1
jne 0x404511
mov esi, dword [eax + 0x10]
mov dword [ebp - 0x1dc], esi
test esi, esi
je 0x404511
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 0x40425b
lea eax, [ebp - 0x110]
push eax
push str._tIP_Address__s_n
call fcn.0041c026
add esp, 8
push 0x80
lea ecx, [ebp - 0x1c8]
push 0
push ecx
call fcn.0041c840
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
push edx
push eax
lea ecx, [ebp - 0x1c8]
push ecx
call fcn.0041b250
add esp, 0x18
lea edx, [ebp - 0x1c8]
push edx
mov ecx, 0x43f73c
call fcn.00403b10
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x148]
push ecx
mov ecx, eax
call fcn.00401d50
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 0x4042d0
sub eax, edx
push eax
lea edx, [ebp - 0x110]
push edx
lea ecx, [ebp - 0x12c]
call fcn.00401e40
mov byte [ebp - 4], 2
test ebx, ebx
je 0x4044d8
push 1
push 0
push 0x434404
lea ecx, [ebp - 0x12c]
call fcn.004014d0
cmp eax, 0xffffffff
jne 0x4044d8
push 9
push 0
push str.127.0.0.1
lea ecx, [ebp - 0x12c]
call fcn.004014d0
cmp eax, 0xffffffff
jne 0x4044d8
mov edi, dword [ebp - 0x11c]
mov edx, edi
cmp edi, 3
jb 0x404344
mov edx, 3
cmp dword [ebp - 0x118], 0x10
mov esi, dword [ebp - 0x12c]
jae 0x404359
lea esi, [ebp - 0x12c]
mov ecx, 0x4343f4
cmp edx, 4
jb 0x404377
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x40437b
sub edx, 4
add ecx, 4
add esi, 4
cmp edx, 4
jae 0x404363
test edx, edx
je 0x4043ca
movzx eax, byte [esi]
movzx ebx, byte [ecx]
sub eax, ebx
jne 0x4043b6
cmp edx, 1
jbe 0x4043c4
movzx eax, byte [esi + 1]
movzx ebx, byte [ecx + 1]
sub eax, ebx
jne 0x4043b6
cmp edx, 2
jbe 0x4043c4
movzx eax, byte [esi + 2]
movzx ebx, byte [ecx + 2]
sub eax, ebx
jne 0x4043b6
cmp edx, 3
jbe 0x4043c4
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 0x4043cc
mov ebx, dword [ebp - 0x1cc]
xor eax, eax
test eax, eax
jne 0x4043e3
cmp edi, 3
jb 0x4043e3
cmp edi, 3
setne al
test eax, eax
je 0x4044d8
push 0x80
call fcn.0041bdc4
add esp, 4
test eax, eax
je 0x404407
mov ecx, 0x20
lea esi, [ebp - 0x1c8]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, eax
jmp 0x404409
xor esi, esi
mov eax, dword [ebx + 4]
lea edx, [ebp - 0x1d8]
mov dword [ebp - 0x1d8], esi
cmp edx, eax
jae 0x404485
mov edx, dword [ebx]
lea ecx, [ebp - 0x1d8]
cmp edx, ecx
ja 0x404485
mov esi, ecx
mov ecx, dword [ebx + 8]
sub esi, edx
sar esi, 2
cmp eax, ecx
jne 0x404473
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x4048cc
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0x404473
mov edx, ecx
shr edx, 1
mov edi, 0x3fffffff
sub edi, edx
cmp edi, ecx
jae 0x404463
xor ecx, ecx
jmp 0x404465
add ecx, edx
cmp ecx, eax
jae 0x40446b
mov ecx, eax
push ecx
mov ecx, ebx
call fcn.0040e760
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
lea ecx, [edx + esi*4]
test eax, eax
je 0x4044d4
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x4044d4
mov ecx, dword [ebx + 8]
cmp eax, ecx
jne 0x4044cb
mov edx, dword [ebx]
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x4048cc
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0x4044cb
mov edx, ecx
shr edx, 1
mov edi, 0x3fffffff
sub edi, edx
cmp edi, ecx
jae 0x4044bb
xor ecx, ecx
jmp 0x4044bd
add ecx, edx
cmp ecx, eax
jae 0x4044c3
mov ecx, eax
push ecx
mov ecx, ebx
call fcn.0040e760
mov eax, dword [ebx + 4]
test eax, eax
je 0x4044d4
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 0x404503
mov eax, dword [ebp - 0x12c]
push eax
call fcn.0041b244
add esp, 4
test esi, esi
jne 0x404225
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 0x40453d
mov ecx, dword [ebp - 0x148]
push ecx
call fcn.0041b244
add esp, 4
test esi, esi
jne 0x4040e0
mov ecx, 0x43f74c
call fcn.004199c0
test byte [0x43f7a0], 1
mov esi, 0x43f76c
jne 0x40465c
or dword [0x43f7a0], 1
push 1
mov ecx, 0x43f758
mov byte [ebp - 4], 3
call fcn.00419960
xor edi, edi
push 0x30
mov byte [ebp - 4], 4
mov dword [0x43f764], edi
call fcn.0041bdc4
add esp, 4
cmp eax, edi
je 0x404909
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.00419960
push 0x30
mov byte [ebp - 4], 6
mov dword [0x43f778], edi
call fcn.0041bdc4
add esp, 4
cmp eax, edi
je 0x4048d6
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.00401e40
push 0x433c00
mov dword [0x43f79c], edi
call fcn.0041c004
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.004199b0
test byte [0x43f7a0], 1
mov bl, 8
mov byte [ebp - 4], bl
jne 0x40477e
or dword [0x43f7a0], 1
push 1
mov ecx, 0x43f758
mov byte [ebp - 4], 9
call fcn.00419960
push 0x30
mov byte [ebp - 4], 0xa
mov dword [0x43f764], edi
call fcn.0041bdc4
add esp, 4
cmp eax, edi
je 0x40496f
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.00419960
push 0x30
mov byte [ebp - 4], 0xc
mov dword [0x43f778], edi
call fcn.0041bdc4
add esp, 4
cmp eax, edi
je 0x40493c
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.00401e40
push 0x433c00
mov dword [0x43f79c], edi
call fcn.0041c004
add esp, 4
mov byte [ebp - 4], bl
mov ecx, 0x43f758
call fcn.00406b00
test byte [0x43f7a0], 1
jne 0x40488c
or dword [0x43f7a0], 1
push 1
mov ecx, 0x43f758
mov byte [ebp - 4], 0xe
call fcn.00419960
push 0x30
mov byte [ebp - 4], 0xf
mov dword [0x43f764], edi
call fcn.0041bdc4
add esp, 4
cmp eax, edi
je 0x4049b0
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.00419960
push 0x30
mov byte [ebp - 4], 0x11
mov dword [0x43f778], edi
call fcn.0041bdc4
add esp, 4
cmp eax, edi
je 0x4049a2
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.00401e40
push 0x433c00
mov dword [0x43f79c], edi
call fcn.0041c004
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.004033a0
lea eax, [ebp - 0x1f0]
push eax
mov ecx, 0x43f75c
call fcn.00403810
mov ecx, 0x43f758
xor esi, esi
mov byte [ebp - 4], 0
call fcn.004199c0
jmp 0x404008
push str.vector_T__too_long
call fcn.00419b3c
lea eax, [ebp - 0x1dc]
push eax
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x1dc], edi
call fcn.0041b156
push 0x439efc
lea ecx, [ebp - 0x228]
push ecx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.0041be44
lea edx, [ebp - 0x1d8]
push edx
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x1d8], edi
call fcn.0041b156
push 0x439efc
lea eax, [ebp - 0x240]
push eax
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.0041be44
lea edx, [ebp - 0x1d0]
push edx
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x1d0], edi
call fcn.0041b156
push 0x439efc
lea eax, [ebp - 0x210]
push eax
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.0041be44
mov dword [ebp - 0x1cc], edi
lea ecx, [ebp - 0x1cc]
push ecx
lea ecx, [ebp - 0x204]
call fcn.0041b156
push 0x439efc
lea edx, [ebp - 0x204]
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
push edx
call fcn.0041be44
mov dword [ebp - 0x1d0], edi
lea ecx, [ebp - 0x1d0]
jmp 0x40497b
lea eax, [ebp - 0x1cc]
push eax
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x1cc], edi
call fcn.0041b156
push 0x439efc
lea ecx, [ebp - 0x210]
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
push ecx
jmp 0x40499d
lea eax, [ebp - 0x1f8]
push eax
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x1f8], ebx
call fcn.0041b156
push 0x439efc
lea ecx, [ebp - 0x234]
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
push ecx
jmp 0x40499d