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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
mov eax, dword [0x58c758]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x70c
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.004b0ac0
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 0x12c]
mov dword [edx], 0
mov dword [ebp - 0xc], 0xff
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x30a
push ecx
push 1
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov dword [ebp - 0xc], 0xff
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
add eax, 0x50a
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov byte [ebp - 0x125], 0
mov dword [ebp - 0x138], 0
lea ecx, [ebp - 0x138]
push ecx
push 0
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp dword [ebp - 0x138], 0
jne 0x41b6c3
xor al, al
jmp 0x41bab0
mov edx, dword [ebp - 0x138]
push edx
call fcn.004b52d3
add esp, 4
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
jne 0x41b6e8
xor al, al
jmp 0x41bab0
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x11c], eax
lea ecx, [ebp - 0x138]
push ecx
mov edx, dword [ebp - 0x11c]
push edx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
je 0x41b72c
mov eax, dword [ebp - 0x124]
push eax
call fcn.004b2096
add esp, 4
mov al, 1
jmp 0x41bab0
mov dword [ebp - 8], 0
mov byte [ebp - 0x131], 0
mov byte [ebp - 1], 0
mov dword [ebp - 0x120], 0
mov byte [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x17], ecx
mov byte [ebp - 0x13], cl
mov byte [ebp - 0x118], 0
push 0xff
push 0
lea edx, [ebp - 0x117]
push edx
call fcn.004b0ac0
add esp, 0xc
jmp 0x41b781
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax]
mov dword [ebp - 0x11c], ecx
cmp dword [ebp - 0x11c], 0
je 0x41ba11
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x11c]
cmp dword [eax + 0x1a0], 0x18
jne 0x41b7a8
jmp 0x41b773
mov ecx, dword [ebp - 0x11c]
cmp dword [ecx + 0x190], 6
jne 0x41b8d5
mov edx, dword [ebp - 0x120]
add edx, 1
mov dword [ebp - 0x120], edx
cmp dword [ebp - 0x120], 1
jne 0x41b80e
push 6
mov eax, dword [ebp - 0x11c]
add eax, 0x194
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.004b1320
add esp, 0xc
push 0xff
mov edx, dword [ebp - 0x11c]
add edx, 0x10c
push edx
lea eax, [ebp - 0x118]
push eax
call fcn.004b5160
add esp, 0xc
movzx ecx, byte [ebp - 0x131]
test ecx, ecx
jne 0x41b8d5
mov edx, dword [ebp - 0x11c]
add edx, 0x194
push edx
mov eax, dword [ebp - 0x11c]
add eax, 0x10c
push eax
call fcn.0041b3d0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x41b8d5
mov byte [ebp - 0x131], 1
push 6
mov edx, dword [ebp - 0x11c]
add edx, 0x194
push edx
mov eax, dword [ebp + 8]
add eax, 4
push eax
call fcn.004b1320
add esp, 0xc
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 9]
push edx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 8]
push ecx
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 7]
push eax
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 6]
push edx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 5]
push ecx
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 4]
push eax
push str._02x_02x_02x_02x_02x_02x
mov ecx, dword [ebp + 8]
add ecx, 0xa
push ecx
call fcn.00401ba0
add esp, 0x20
push 0xff
mov edx, dword [ebp - 0x11c]
add edx, 0x10c
push edx
mov eax, dword [ebp + 8]
add eax, 0x20a
push eax
call fcn.004b5160
add esp, 0xc
mov ecx, dword [ebp - 0x11c]
add ecx, 0x1b0
push ecx
call fcn.0041b2b0
add esp, 4
test eax, eax
jne 0x41b8f3
jmp 0x41b773
mov edx, dword [ebp - 0x11c]
add edx, 0x1b0
push edx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x11c]
add eax, 0x1d8
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x140], eax
mov ecx, dword [ebp - 0x13c]
push ecx
call fcn.0041b310
add esp, 4
test eax, eax
jne 0x41b93c
jmp 0x41b773
movzx edx, byte [ebp - 0x125]
test edx, edx
jne 0x41b976
mov eax, dword [ebp - 0x13c]
push eax
call fcn.0041b310
add esp, 4
cmp eax, 2
jne 0x41b976
mov ecx, dword [ebp - 0x140]
push ecx
call fcn.0041b310
add esp, 4
cmp eax, 2
jne 0x41b976
mov byte [ebp - 0x125], 1
mov edx, dword [ebp - 0x12c]
cmp dword [edx], 0
jne 0x41b9c0
cmp dword [ebp - 0x13c], 0
je 0x41b9c0
mov eax, dword [ebp - 0x11c]
add eax, 0x194
push eax
mov ecx, dword [ebp - 0x11c]
add ecx, 0x10c
push ecx
call fcn.0041b520
add esp, 8
movzx edx, al
test edx, edx
je 0x41b9c0
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x13c]
mov dword [eax], ecx
movzx edx, byte [ebp - 1]
test edx, edx
jne 0x41ba0c
mov eax, dword [ebp - 0x13c]
push eax
call fcn.0041b310
add esp, 4
cmp eax, 1
jne 0x41ba0c
mov ecx, dword [ebp - 0x11c]
cmp dword [ecx + 0x1a0], 0x17
je 0x41ba0c
mov edx, dword [ebp - 0x11c]
cmp dword [edx + 0x1a0], 0x1c
je 0x41ba0c
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x13c]
mov dword [eax], ecx
mov byte [ebp - 1], 1
jmp 0x41b773
movzx edx, byte [ebp - 0x131]
test edx, edx
jne 0x41ba93
push 6
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
add ecx, 4
push ecx
call fcn.004b1320
add esp, 0xc
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 9]
push eax
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 8]
push edx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 7]
push ecx
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 6]
push eax
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 5]
push edx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 4]
push ecx
push str._02x_02x_02x_02x_02x_02x
mov edx, dword [ebp + 8]
add edx, 0xa
push edx
call fcn.00401ba0
add esp, 0x20
push 0xff
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x20a
push ecx
call fcn.004b5160
add esp, 0xc
mov edx, dword [ebp - 0x124]
push edx
call fcn.004b2096
add esp, 4
movzx eax, byte [ebp - 0x125]
neg eax
sbb eax, eax
add eax, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b0a79
mov esp, ebp
pop ebp
ret