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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446828
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x45b970]
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
call fcn.00410a21
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40dfc5
push 0x80004005
call fcn.00401880
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 4], 0
call fcn.00410a21
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40dff5
push 0x80004005
call fcn.00401880
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 1
push 0x288
mov dword [ebp - 0x24], 0x288
call fcn.0042f3f2
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
test esi, esi
je 0x40e682
lea ecx, [ebp - 0x24]
push ecx
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x40e057
push esi
call fcn.0042f315
mov edx, dword [ebp - 0x24]
push edx
call fcn.0042f3f2
mov esi, eax
add esp, 8
mov dword [ebp - 0x28], eax
test esi, esi
je 0x40e682
lea ecx, [ebp - 0x24]
push ecx
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x40e682
mov dword [ebp - 0x1c], esi
call fcn.00410a21
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40e086
push 0x80004005
call fcn.00401880
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 2
call fcn.00410a21
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40e0b3
push 0x80004005
call fcn.00401880
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 3
call fcn.00410a21
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40e0e0
push 0x80004005
call fcn.00401880
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 4
call fcn.00410a21
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40e10d
push 0x80004005
call fcn.00401880
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x58], eax
test esi, esi
je 0x40e5e9
lea esi, [ebp - 0x48]
call fcn.0040e730
mov ebx, dword [ebp - 0x1c]
mov byte [ebp - 4], 6
mov ecx, dword [ebx + 4]
push ecx
lea edx, [ebp - 0x18]
push 0x44eb34
push edx
call fcn.00401500
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x34]
call fcn.004017b0
add ebx, 8
jne 0x40e15f
xor edx, edx
xor eax, eax
jmp 0x40e1b6
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jg 0x40e19a
lea eax, [edi + edi]
call fcn.00434f70
mov esi, esp
test esi, esi
je 0x40e19a
push edi
push esi
push 0xffffffffffffffff
xor ecx, ecx
push ebx
push ecx
push 3
mov word [esi], cx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
jmp 0x40e19c
xor eax, eax
mov edx, eax
test edx, edx
je 0x40e1b6
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e1a7
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x30]
call fcn.00401700
mov ebx, dword [ebp - 0x1c]
add ebx, 0x10c
jne 0x40e1d1
xor edx, edx
xor eax, eax
jmp 0x40e22f
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jg 0x40e20c
lea eax, [edi + edi]
call fcn.00434f70
mov esi, esp
test esi, esi
je 0x40e20c
push edi
push esi
push 0xffffffffffffffff
xor edx, edx
push ebx
push edx
push 3
mov word [esi], dx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
jmp 0x40e20e
xor eax, eax
mov edx, eax
test edx, edx
je 0x40e22f
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e220
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x38]
call fcn.00401700
lea ecx, [ebp - 0x20]
call fcn.00401520
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x190]
xor esi, esi
test eax, eax
jbe 0x40e29e
dec eax
cmp esi, eax
jne 0x40e269
movzx eax, byte [ebx + esi + 0x194]
push eax
push str._.2X
lea ecx, [ebp - 0x18]
push ecx
jmp 0x40e27b
movzx edx, byte [ebx + esi + 0x194]
push edx
push str._.2X_
lea eax, [ebp - 0x18]
push eax
call fcn.00401500
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax - 0xc]
add esp, 0xc
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.00404e60
mov eax, dword [ebx + 0x190]
inc esi
cmp esi, eax
jb 0x40e250
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x44]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x40e2f7
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40e2ea
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40e2ea
push eax
call fcn.004018b0
mov dword [ebp - 0x4c], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40e2df
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp - 0x4c]
add ecx, 0x10
mov dword [ebp - 0x44], ecx
jmp 0x40e2f7
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x44]
call fcn.00401700
mov eax, dword [ebx + 0x1a0]
lea ecx, [eax - 1]
cmp ecx, 0x1b
ja case.0x40e310.2
movzx edx, byte [ecx + 0x40e708]
jmp dword [edx*4 + 0x40e6e8]
push 2
push 0x450dbc
lea ecx, [ebp - 0x18]
call fcn.00401700
jmp 0x40e3a0
push 3
push 0x450dc4
lea ecx, [ebp - 0x18]
call fcn.00401700
jmp 0x40e3a0
push 3
push 0x450dcc
lea ecx, [ebp - 0x18]
call fcn.00401700
jmp 0x40e3a0
push 4
push str.FDDI
lea ecx, [ebp - 0x18]
call fcn.00401700
jmp 0x40e3a0
push 3
push 0x450de0
lea ecx, [ebp - 0x18]
call fcn.00401700
jmp 0x40e3a0
push 2
push 0x450de8
lea ecx, [ebp - 0x18]
call fcn.00401700
jmp 0x40e3a0
push 4
push str.Slip
lea ecx, [ebp - 0x18]
call fcn.00401700
jmp 0x40e3a0
push eax
lea eax, [ebp - 0x18]
push 0x450dfc
push eax
call fcn.00401500
add esp, 0xc
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x40e3f8
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40e3eb
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40e3eb
push eax
call fcn.004018b0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40e3e0
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x1c]
jmp 0x40e3f8
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00401700
add ebx, 0x1b0
jne 0x40e406
xor edx, edx
xor eax, eax
jmp 0x40e45f
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jg 0x40e441
lea eax, [edi + edi]
call fcn.00434f70
mov esi, esp
test esi, esi
je 0x40e441
push edi
push esi
push 0xffffffffffffffff
xor ecx, ecx
push ebx
push ecx
push 3
mov word [esi], cx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
jmp 0x40e443
xor eax, eax
mov edx, eax
test edx, edx
je 0x40e45f
mov eax, edx
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e450
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x48]
call fcn.00401700
mov ebx, dword [ebp - 0x1c]
add ebx, 0x1c0
jne 0x40e47a
xor edx, edx
xor eax, eax
jmp 0x40e4d1
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jg 0x40e4b5
lea eax, [edi + edi]
call fcn.00434f70
mov esi, esp
test esi, esi
je 0x40e4b5
push edi
push esi
push 0xffffffffffffffff
xor edx, edx
push ebx
push edx
push 3
mov word [esi], dx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
jmp 0x40e4b7
xor eax, eax
mov edx, eax
test edx, edx
je 0x40e4d1
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e4c2
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x40]
call fcn.00401700
mov ebx, dword [ebp - 0x1c]
add ebx, 0x1d8
jne 0x40e4ec
xor edx, edx
xor eax, eax
jmp 0x40e543
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jg 0x40e527
lea eax, [edi + edi]
call fcn.00434f70
mov esi, esp
test esi, esi
je 0x40e527
push edi
push esi
push 0xffffffffffffffff
xor eax, eax
push ebx
push eax
push 3
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
jmp 0x40e529
xor eax, eax
mov edx, eax
test edx, edx
je 0x40e543
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e534
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x3c]
call fcn.00401700
mov edi, dword [ebp + 8]
mov esi, dword [edi + 8]
test esi, esi
jl 0x40e6e2
lea eax, [esi + 1]
call fcn.0040f010
shl esi, 5
add esi, dword [edi + 4]
lea ecx, [ebp - 0x48]
push ecx
mov ecx, esi
call fcn.004017b0
lea edx, [ebp - 0x44]
lea ecx, [esi + 4]
push edx
call fcn.004017b0
lea eax, [ebp - 0x40]
lea ecx, [esi + 8]
push eax
call fcn.004017b0
lea edx, [ebp - 0x3c]
lea ecx, [esi + 0xc]
push edx
call fcn.004017b0
lea eax, [ebp - 0x38]
lea ecx, [esi + 0x10]
push eax
call fcn.004017b0
lea edx, [ebp - 0x34]
lea ecx, [esi + 0x14]
push edx
call fcn.004017b0
lea eax, [ebp - 0x30]
lea ecx, [esi + 0x18]
push eax
call fcn.004017b0
lea edx, [ebp - 0x2c]
lea ecx, [esi + 0x1c]
push edx
call fcn.004017b0
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
lea eax, [ebp - 0x48]
mov dword [ebp - 0x1c], esi
call fcn.0040e850
test esi, esi
jne 0x40e124
mov ebx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e60c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e62f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e652
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e675
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x40e682
push esi
call fcn.0042f315
add esp, 4
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e6a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [ebp - 4], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e6c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esp, [ebp - 0x6c]
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.0042e9e7
mov esp, ebp
pop ebp
ret 4
call fcn.00410942
nop
pop ss
jecxz 4253483
add byte [eax], ch
jecxz 0x40e72f
add byte [ecx], bh
jecxz 0x40e733
add byte [edx - 0x1d], cl
inc eax
add byte [ebx - 0x1d], bl
inc eax
add byte [ebx + 0x40], ch
add byte [ebp - 0x1d], bh
inc eax
add byte [esi + 0x40e3], cl
pop es
pop es
pop es
pop es
add dword [edi], eax
pop es
add al, byte [edi]
pop es
pop es
pop es
pop es
add eax, dword [edi]
pop es
pop es
pop es
pop es
pop es
pop es
add al, 5
pop es
pop es
pop es
push es
int3
int3
int3
add byte [eax], al