Function at 0x422ba0
Capabilities:
Get hostname
Get mac address on windows
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47f0e6
mov eax, dword fs:[0]
push eax
mov eax, 0x39d4
call fcn.00452710
mov eax, dword [0x4985a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x39e0], ecx
mov dword [ebp - 0x28a8], 8
mov dword [ebp - 0x28a4], 0xff
lea eax, [ebp - 0x28a8]
push eax
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, dword [ebp - 0x39e0]
call fcn.0043a237
push 0
call fcn.0043b345
add esp, 4
mov byte [ebp - 0x39b4], 0
push 0x3ff
push 0
lea ecx, [ebp - 0x39b3]
push ecx
call fcn.0044f3f0
add esp, 0xc
push 0x4887c0
call fcn.0044d9fc
add esp, 4
mov word [ebp - 0x39c0], ax
mov dword [ebp - 0x39d0], 0xd13bd2c0
lea edx, [ebp - 0x39d0]
push edx
mov ecx, dword [ebp - 0x39e0]
add ecx, 0xa4
call fcn.004164c0
push 0x400
lea eax, [ebp - 0x39b4]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
jne 0x422c7c
xor eax, eax
jmp 0x422efe
lea ecx, [ebp - 0x39b4]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x39bc], eax
cmp dword [ebp - 0x39bc], 0
jne 0x422c9f
xor eax, eax
jmp 0x422efe
mov dword [ebp - 0x39b8], 1
mov dword [ebp - 0x39c4], 0
jmp 0x422cc4
mov edx, dword [ebp - 0x39c4]
add edx, 1
mov dword [ebp - 0x39c4], edx
mov eax, dword [ebp - 0x39bc]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x39c4]
cmp dword [ecx + edx*4], 0
je 0x422d17
mov eax, dword [ebp - 0x39bc]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x39c4]
mov eax, dword [ecx + edx*4]
mov ecx, dword [eax]
mov dword [ebp - 0x39c8], ecx
mov edx, dword [ebp - 0x39c8]
push edx
mov ecx, dword [ebp - 0x39e0]
call fcn.004229e0
test eax, eax
je 0x422d15
mov dword [ebp - 0x39b8], 1
jmp 0x422d17
jmp 0x422cb5
cmp dword [ebp - 0x39b8], 0
jne 0x422d27
xor eax, eax
jmp 0x422efe
lea ecx, [ebp - 0x35b4]
call fcn.00416540
mov dword [ebp - 4], 0
lea eax, [ebp - 0x35b4]
push eax
push 0x3a
push str.12:34:56:ab:cd:ef
call fcn.0042c430
add esp, 0xc
lea ecx, [ebp - 0x35b4]
call fcn.004165d0
cmp eax, 6
je 0x422d86
mov dword [ebp - 0x39d4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x35b4]
call fcn.004165b0
mov eax, dword [ebp - 0x39d4]
jmp 0x422efe
mov dword [ebp - 0x39cc], 0
jmp 0x422da1
mov ecx, dword [ebp - 0x39cc]
add ecx, 1
mov dword [ebp - 0x39cc], ecx
cmp dword [ebp - 0x39cc], 6
jge 0x422ddb
mov edx, dword [ebp - 0x39cc]
push edx
lea ecx, [ebp - 0x35b4]
call fcn.004165f0
mov ecx, eax
call fcn.00402510
push eax
call fcn.0042c930
add esp, 4
mov ecx, dword [ebp - 0x39cc]
mov byte [ebp + ecx - 0x289c], al
jmp 0x422d92
mov byte [ebp - 0x2896], 0
mov byte [ebp - 0x2895], 0
lea edx, [ebp - 0x289c]
push edx
mov ecx, dword [ebp - 0x39e0]
add ecx, 0xbc
call fcn.00422fc0
mov dword [ebp - 0x3598], 0x2880
lea eax, [ebp - 0x3598]
push eax
lea ecx, [ebp - 0x2894]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x359c], eax
cmp dword [ebp - 0x359c], 0
je 0x422e54
mov dword [ebp - 0x39d8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x35b4]
call fcn.004165b0
mov eax, dword [ebp - 0x39d8]
jmp 0x422efe
mov dword [ebp - 0x10], 0
lea edx, [ebp - 0x2894]
mov dword [ebp - 0x28a0], edx
mov eax, dword [ebp - 0x28a0]
add eax, 0x194
push eax
mov ecx, dword [ebp - 0x39e0]
call fcn.00422a40
test eax, eax
je 0x422e8b
mov dword [ebp - 0x10], 1
jmp 0x422ea2
mov ecx, dword [ebp - 0x28a0]
mov edx, dword [ecx]
mov dword [ebp - 0x28a0], edx
cmp dword [ebp - 0x28a0], 0
jne 0x422e67
push 0
lea ecx, [ebp - 0x3594]
call fcn.00402d90
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x39e0]
lea ecx, [ebp - 0x3594]
mov dword [eax + 0x20], ecx
lea ecx, [ebp - 0x3594]
call fcn.0042e903
mov dword [ebp - 0x39dc], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3594]
call fcn.00403060
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x35b4]
call fcn.004165b0
mov eax, dword [ebp - 0x39dc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044cd51
mov esp, ebp
pop ebp
ret