Function at 0x41ddd0
Capabilities:
Get mac address on windows
Get networking parameters
Initialize winsock library
Resolve dns

Disassembly:
push 0x1d8
mov eax, 0x439569
call fcn.004220d8
mov esi, dword [ebp + 8]
xor ebx, ebx
push str.000000000000
mov dword [ebp - 0x1e4], esi
mov dword [ebp - 0x1d4], ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov dword [ebp - 0x1e0], edi
cmp edi, ebx
jne 0x41de11
push 0x8007000e
call fcn.00401000
lea eax, [ebp - 0x1bc]
push eax
push 2
mov dword [ebp - 4], ebx
call dword [sym.imp.WSOCK32.dll_WSAStartup]
cmp eax, ebx
je 0x41de2e
mov dword [esi], edi
jmp 0x41e183
lea eax, [ebp - 0x1dc]
push eax
push ebx
mov dword [ebp - 0x1d0], ebx
mov dword [ebp - 0x1dc], 0x248
call sub.IPHLPAPI.DLL_GetNetworkParams
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
cmp eax, 0x6f
jne 0x41de96
push ebx
push ebx
call edi
push eax
call esi
push dword [ebp - 0x1dc]
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x1d0], eax
cmp eax, ebx
jne 0x41de96
call dword [sym.imp.WSOCK32.dll_WSACleanup]
mov eax, dword [ebp - 0x1e0]
mov esi, dword [ebp - 0x1e4]
mov dword [esi], eax
jmp 0x41e183
lea eax, [ebp - 0x1dc]
push eax
push dword [ebp - 0x1d0]
call sub.IPHLPAPI.DLL_GetNetworkParams
cmp eax, ebx
je 0x41deba
push dword [ebp - 0x1d0]
push ebx
call edi
push eax
call esi
jmp 0x41de7d
mov dword [ebp - 0x1d8], ebx
push dword [ebp - 0x1d0]
mov byte [ebp - 4], 1
call fcn.00421060
mov dword [ebp - 0x1d4], eax
inc eax
push eax
call fcn.00420d5d
push dword [ebp - 0x1d4]
mov dword [ebp - 0x1d8], eax
push dword [ebp - 0x1d0]
push eax
call fcn.004214a0
mov eax, dword [ebp - 0x1d4]
mov ecx, dword [ebp - 0x1d8]
add esp, 0x14
mov byte [eax + ecx], bl
cmp dword [ebp - 0x1d0], ebx
je 0x41df1a
push dword [ebp - 0x1d0]
push ebx
call edi
push eax
call esi
mov dword [ebp - 0x1d0], ebx
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1d8], ebx
je 0x41df94
push dword [ebp - 0x1d8]
call fcn.00421060
pop ecx
test eax, eax
je 0x41df94
push dword [ebp - 0x1d8]
call dword [sym.imp.WSOCK32.dll_gethostbyname]
cmp eax, ebx
je 0x41df94
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp - 0x1c8]
push eax
call fcn.004214a0
push 0x14
call fcn.00420d5d
add esp, 0x10
push dword [ebp - 0x1c8]
mov dword [ebp - 0x1d0], eax
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
push eax
push 0x43b8d0
push 0x14
push dword [ebp - 0x1d0]
call fcn.00421bf1
add esp, 0x10
push dword [ebp - 0x1d8]
call fcn.00421357
mov eax, 0x288
push eax
mov dword [ebp - 0x1d8], ebx
mov dword [ebp - 0x1dc], eax
call fcn.00422d40
mov esi, eax
pop ecx
pop ecx
mov dword [ebp - 0x1d4], esi
cmp esi, ebx
jne 0x41dff0
call dword [sym.imp.WSOCK32.dll_WSACleanup]
mov esi, dword [ebp - 0x1e4]
push dword [ebp - 0x1d0]
mov dword [esi], ebx
call fcn.00421357
push ebx
call fcn.00421357
pop ecx
pop ecx
push dword [ebp - 0x1e0]
jmp 0x41e184
lea eax, [ebp - 0x1dc]
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x41e01f
push esi
call fcn.004210eb
push dword [ebp - 0x1dc]
call fcn.00422d40
pop ecx
pop ecx
mov dword [ebp - 0x1d4], eax
cmp eax, ebx
je 0x41dfc4
mov esi, dword [ebp - 0x1d4]
lea eax, [ebp - 0x1dc]
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x41e148
mov byte [ebp - 0x18], bl
lea edi, [ebp - 0x17]
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, esi
push 7
lea eax, [edi + 0x194]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004214a0
add esp, 0xc
mov byte [ebp - 0x12], bl
cmp edi, ebx
je 0x41e0d2
cmp dword [ebp - 0x1d0], ebx
je 0x41e0d2
lea edi, [esi + 0x1ac]
push 0x10
lea eax, [edi + 4]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004214a0
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x1d0]
mov byte [ebp - 0x1c], bl
call fcn.00424b70
add esp, 0x14
test eax, eax
je 0x41e09d
mov edi, dword [edi]
cmp edi, ebx
jne 0x41e06f
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x1d0]
call fcn.00424b70
pop ecx
pop ecx
test eax, eax
je 0x41e0ba
mov esi, dword [esi]
cmp esi, ebx
jne 0x41e061
jmp 0x41e0d2
push 7
add esi, 0x194
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.004214a0
add esp, 0xc
mov byte [ebp - 0x12], bl
movzx eax, byte [ebp - 0x13]
push eax
movzx eax, byte [ebp - 0x14]
push eax
movzx eax, byte [ebp - 0x15]
push eax
movzx eax, byte [ebp - 0x16]
push eax
movzx eax, byte [ebp - 0x17]
push eax
movzx eax, byte [ebp - 0x18]
push eax
push str._02x_02x_02x_02x_02x_02x
lea eax, [ebp - 0x1cc]
push 0xd
push eax
call fcn.00421bf1
add esp, 0x24
lea eax, [ebp - 0x1cc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x41e122
xor eax, eax
jmp 0x41e13c
lea eax, [esi + esi]
call fcn.004230b0
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x1cc]
push ecx
push eax
call fcn.004058d7
push eax
lea ecx, [ebp - 0x1e0]
call fcn.0040e8d5
cmp dword [ebp - 0x1d4], ebx
je 0x41e15c
push dword [ebp - 0x1d4]
call fcn.004210eb
pop ecx
call dword [sym.imp.WSOCK32.dll_WSACleanup]
mov eax, dword [ebp - 0x1e0]
mov esi, dword [ebp - 0x1e4]
push dword [ebp - 0x1d0]
mov dword [esi], eax
call fcn.00421357
push ebx
call fcn.00421357
pop ecx
pop ecx
push ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, esi
lea esp, [ebp - 0x1f4]
call fcn.0042215b
ret 8