Function at 0x412a30
Capabilities:
Get local ipv4 addresses
Get mac address on windows
Initialize winsock library

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439178
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x208
mov eax, dword [0x450068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x210]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x412aa5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, str.WSAStartup
mov ecx, eax
call fcn.004111b0
mov eax, 1
jmp 0x412cef
push 0x2c
lea eax, [ebp - 0x70]
mov dword [ebp - 0x214], 0
push 0
push eax
call fcn.0041d060
add esp, 0xc
lea eax, [ebp - 0x70]
push str.0.0.0.0
push 0x16
push eax
call fcn.00413080
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
lea eax, [ebp - 0x214]
add esp, 0xc
push eax
push 0
push 0
push 0x10
push 0
call esi
push ecx
push dword [ebp - 0x214]
xorps xmm0, xmm0
mov dword [ebp - 0x74], 0
lea ecx, [ebp - 0x7c]
movq qword [ebp - 0x7c], xmm0
call fcn.00410c20
lea eax, [ebp - 0x214]
mov dword [ebp - 4], 0
push eax
push dword [ebp - 0x7c]
push 0
push 0x10
push 0
call esi
test eax, eax
je 0x412b74
mov edx, 0x449628
mov ecx, eax
call fcn.004111b0
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 0x7c]
test ecx, ecx
je 0x412b6a
mov edx, dword [ebp - 0x74]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x412b60
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412d0d
push edx
push ecx
call fcn.0041aec9
add esp, 8
mov eax, 1
jmp 0x412cef
mov esi, dword [ebp - 0x7c]
mov dword [ebp - 0x218], esi
test esi, esi
je 0x412ca7
cmp edi, 3
je 0x412b9b
mov edx, edi
mov ecx, esi
call fcn.00412d20
test al, al
je 0x412c96
test edi, edi
je 0x412baf
push dword [esi + 0x24]
push str._nAdapter:__s_n
call fcn.00401b90
add esp, 8
mov esi, dword [esi + 0x10]
test esi, esi
je 0x412c90
nop word [eax + eax]
mov eax, dword [esi + 0xc]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x18], 0
cmp word [eax], 2
jne 0x412c58
push 0x15
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea eax, [ebp - 0x2c]
push 0x16
push eax
call fcn.00423b0a
add esp, 0x10
mov byte [ebp - 0x17], 0
test edi, edi
je 0x412c65
movzx eax, byte [esi + 0x2c]
mov ecx, 0x20
sub ecx, eax
mov dword [ebp - 0x34], 0
or eax, 0xffffffff
mov word [ebp - 0x30], 0
shl eax, cl
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x44], xmm0
call dword [sym.imp.WS2_32.dll_htonl]
push 0x15
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea eax, [ebp - 0x44]
push 0x16
push eax
call fcn.00423b0a
lea eax, [ebp - 0x44]
mov byte [ebp - 0x2f], 0
push eax
lea eax, [ebp - 0x2c]
push eax
push str.__IPv4_Address:__S_n__Subnet_Mask:__S_n
call fcn.00401b90
add esp, 0x1c
mov esi, dword [esi + 8]
test esi, esi
jne 0x412bc0
jmp 0x412c90
lea eax, [ebp - 0x2c]
push eax
push 0x448e68
lea eax, [ebp - 0x70]
push 0x16
push eax
call fcn.00413080
push 8
lea eax, [ebp - 0x2c]
push str.169.254.
push eax
call fcn.00423b20
add esp, 0x1c
test eax, eax
jne 0x412cab
mov esi, dword [ebp - 0x218]
mov esi, dword [esi + 8]
mov dword [ebp - 0x218], esi
test esi, esi
jne 0x412b85
test edi, edi
jne 0x412cb7
lea eax, [ebp - 0x70]
push eax
call fcn.00401b90
add esp, 4
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 0x7c]
test ecx, ecx
je 0x412ced
mov edx, dword [ebp - 0x74]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x412ce3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412d12
push edx
push ecx
call fcn.0041aec9
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041aaeb
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00422e9e
call fcn.00422e9e
int3