Function at 0x300028b0
Capabilities:
Create thread
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x480
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0
push 0
push 2
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov dword [ebp - 0x58], eax
push 4
push 0x1000
mov edx, dword [ebp - 0x3c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x30002ed1
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x48]
push edx
push 0
push 0
push 2
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x2c], eax
jmp 0x3000293f
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 0
je 0x30002dd5
mov eax, dword [ebp - 0x4c]
add eax, 1
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], 0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x18], edx
jmp 0x3000296d
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x30002dd0
mov edx, dword [ebp - 0x50]
add edx, 1
mov dword [ebp - 0x50], edx
lea eax, [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0xc
push ecx
call fcn.300044c0
add esp, 8
push 0x30018254
lea edx, [ebp - 0x84]
push edx
call fcn.30007060
add esp, 8
mov ecx, 1
imul edx, ecx, 0
lea ecx, [ebp + edx - 0x84]
cmp eax, ecx
je 0x300029f1
push str.172.16.
lea edx, [ebp - 0x84]
push edx
call fcn.30007060
add esp, 8
test eax, eax
jne 0x300029f1
push str.192.168.
lea eax, [ebp - 0x84]
push eax
call fcn.30007060
add esp, 8
test eax, eax
je 0x30002dcb
xorps xmm0, xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x34], 0xffffffff
lea ecx, [ebp - 0x84]
push ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x30002a1e
or eax, 0xffffffff
jmp 0x30002ee7
lea edx, [ebp - 0x34]
mov dword [ebp - 4], edx
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + 0x2c]
push edx
call fcn.30001ce0
add esp, 8
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x30], eax
mov ecx, 1
imul edx, ecx, 3
mov eax, dword [ebp - 0x30]
movzx ecx, byte [eax + edx]
mov eax, 0xff
sub eax, ecx
cdq
add eax, dword [ebp - 0xc]
adc edx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov edx, 1
shl edx, 1
mov eax, dword [ebp - 0x30]
movzx ecx, byte [eax + edx]
mov eax, 0xff
sub eax, ecx
shl eax, 8
cdq
add eax, dword [ebp - 0xc]
adc edx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 0x30]
movzx ecx, byte [eax + edx]
mov eax, 0xff
sub eax, ecx
shl eax, 8
shl eax, 8
cdq
add eax, dword [ebp - 0xc]
adc edx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + eax]
mov eax, 0xff
sub eax, edx
shl eax, 8
shl eax, 8
shl eax, 8
cdq
add eax, dword [ebp - 0xc]
adc edx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
cmp dword [ebp + 8], 0
je 0x30002af7
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
add ecx, dword [ebp - 0xc]
mov edx, dword [eax + 4]
adc edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
cmp dword [ebp - 8], 0
ja 0x30002b06
cmp dword [ebp - 0xc], 0xff
jb 0x30002b15
mov ecx, 1
imul edx, ecx, 3
mov eax, dword [ebp - 4]
mov byte [eax + edx], 0
cmp dword [ebp - 8], 0
ja 0x30002b24
cmp dword [ebp - 0xc], 0xffff
jb 0x30002b41
mov ecx, 1
imul edx, ecx, 3
mov eax, dword [ebp - 4]
mov byte [eax + edx], 0
mov ecx, 1
shl ecx, 1
mov edx, dword [ebp - 4]
mov byte [edx + ecx], 0
cmp dword [ebp - 8], 0
ja 0x30002b50
cmp dword [ebp - 0xc], 0xffffff
jb 0x30002b7c
mov eax, 1
imul ecx, eax, 3
mov edx, dword [ebp - 4]
mov byte [edx + ecx], 0
mov eax, 1
shl eax, 1
mov ecx, dword [ebp - 4]
mov byte [ecx + eax], 0
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 4]
mov byte [eax + edx], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x40], 0
jmp 0x30002baa
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
cdq
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
mov edx, dword [ebp - 0x60]
cmp edx, dword [ebp - 8]
ja 0x30002dcb
jb 0x30002bce
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0xc]
ja 0x30002dcb
mov ecx, 4
shl ecx, 0
cmp dword [ebp + ecx - 0x28], 0xff
jbe 0x30002c7a
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + eax - 0x28]
add ecx, 1
mov edx, 4
imul eax, edx, 0
mov dword [ebp + eax - 0x28], ecx
mov ecx, 4
imul edx, ecx, 3
mov dword [ebp + edx - 0x28], 0
mov eax, 4
shl eax, 1
mov dword [ebp + eax - 0x28], 0
mov ecx, 4
shl ecx, 0
mov dword [ebp + ecx - 0x28], 0
mov edx, 1
imul eax, edx, 3
mov ecx, dword [ebp - 4]
mov byte [ecx + eax], 0
mov edx, 1
shl edx, 1
mov eax, dword [ebp - 4]
mov byte [eax + edx], 0
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 4]
mov byte [edx + ecx], 0
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 4]
movzx eax, byte [edx + ecx]
add eax, 1
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp - 4]
mov byte [ecx + edx], al
mov edx, 4
shl edx, 1
cmp dword [ebp + edx - 0x28], 0xff
jbe 0x30002d02
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + eax - 0x28]
add ecx, 1
mov edx, 4
shl edx, 0
mov dword [ebp + edx - 0x28], ecx
mov eax, 4
imul ecx, eax, 3
mov dword [ebp + ecx - 0x28], 0
mov edx, 4
shl edx, 1
mov dword [ebp + edx - 0x28], 0
mov eax, 1
imul ecx, eax, 3
mov edx, dword [ebp - 4]
mov byte [edx + ecx], 0
mov eax, 1
shl eax, 1
mov ecx, dword [ebp - 4]
mov byte [ecx + eax], 0
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + edx]
add ecx, 1
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 4]
mov byte [eax + edx], cl
mov ecx, 4
imul edx, ecx, 3
cmp dword [ebp + edx - 0x28], 0xff
jbe 0x30002d6a
mov eax, 4
shl eax, 1
mov ecx, dword [ebp + eax - 0x28]
add ecx, 1
mov edx, 4
shl edx, 1
mov dword [ebp + edx - 0x28], ecx
mov eax, 4
imul ecx, eax, 3
mov dword [ebp + ecx - 0x28], 0
mov edx, 1
imul eax, edx, 3
mov ecx, dword [ebp - 4]
mov byte [ecx + eax], 0
mov edx, 1
shl edx, 1
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + edx]
add ecx, 1
mov edx, 1
shl edx, 1
mov eax, dword [ebp - 4]
mov byte [eax + edx], cl
mov ecx, 1
imul edx, ecx, 3
mov eax, dword [ebp - 4]
mov cl, byte [eax + edx]
add cl, 1
mov edx, 1
imul eax, edx, 3
mov edx, dword [ebp - 4]
mov byte [edx + eax], cl
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ebp + ecx - 0x28]
add edx, 1
mov eax, 4
imul ecx, eax, 3
mov dword [ebp + ecx - 0x28], edx
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp + 0xc]
lea ecx, [eax + edx*8]
test ecx, ecx
je 0x30002dc6
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x34]
mov dword [eax + edx*8], ecx
mov edx, dword [ebp - 0x38]
add edx, 1
mov dword [ebp - 0x38], edx
jmp 0x30002ba1
jmp 0x30002964
jmp 0x30002936
cmp dword [ebp + 0xc], 0
je 0x30002ed1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
jmp 0x30002df8
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cdq
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x68]
cmp eax, dword [edx + 4]
ja 0x30002ead
jb 0x30002e27
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x6c]
cmp edx, dword [ecx]
jae 0x30002ead
mov eax, dword [ebp - 0x10]
cdq
mov ecx, 0xff
idiv ecx
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0xfe
jne 0x30002e60
push 0x1b58
push 1
lea edx, [ebp - 0x480]
push edx
push 0xff
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x14], 0
jmp 0x30002ea8
push 0
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + eax*8]
push edx
push 0x30003bf0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x14]
mov dword [ebp + ecx*4 - 0x480], eax
lea edx, [ebp - 0x480]
test edx, edx
jne 0x30002e9f
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + eax*8 + 4], 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
jmp 0x30002def
push 0x1b58
push 1
lea eax, [ebp - 0x480]
push eax
push 0xff
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x8000
push 0
mov ecx, dword [ebp - 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, 1
mov esp, ebp
pop ebp
ret