Function at 0x140003ab0
Capabilities:
Get hostname
Get networking parameters

Disassembly:
test ecx, ecx
je 0x140003d52
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x158]
sub rsp, 0x250
mov rax, qword [0x140009008]
xor rax, rsp
mov qword [rbp + 0x140], rax
xor esi, esi
mov dword [rsp + 0x30], 0xff
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
lea r14d, [rsi + 1]
mov ecx, r14d
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetComputerNameExW]
nop dword [rax + rax]
test eax, eax
jne 0x140003b1b
mov word [rsp + 0x40], si
mov ecx, r14d
call fcn.1400058f8
mov rcx, rax
lea r8, [rsp + 0x40]
mov edx, 0x2711
call fcn.140004f30
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], 0xff
lea rdx, [rsp + 0x40]
mov ecx, 2
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetComputerNameExW]
nop dword [rax + rax]
test eax, eax
jne 0x140003b61
mov word [rsp + 0x40], si
mov ecx, r14d
call fcn.1400058f8
mov rcx, rax
lea r8, [rsp + 0x40]
mov edx, 0x2712
call fcn.140004f30
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.IPHLPAPI.DLL_GetNetworkParams]
nop dword [rax + rax]
cmp eax, 0x6f
jne 0x140003d27
mov ebx, dword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x140003d27
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.IPHLPAPI.DLL_GetNetworkParams]
nop dword [rax + rax]
test eax, eax
jne 0x140003c6a
mov edx, dword [rdi + 0x140]
lea r8, [0x140006e58]
mov rax, r8
mov ecx, esi
cmp dword [rax], edx
je 0x140003c0c
add ecx, r14d
add rax, 8
cmp ecx, 4
jb 0x140003bf5
mov ebx, 0x2713
jmp 0x140003c13
mov eax, ecx
mov ebx, dword [r8 + rax*8 + 4]
mov ecx, r14d
call fcn.1400058f8
mov rcx, rax
mov edx, ebx
call fcn.140004f30
mov ebx, dword [rdi + 0x248]
mov ecx, r14d
call fcn.1400058f8
mov rcx, rax
lea edx, [rbx + 0x272e]
call fcn.140004f30
mov ecx, r14d
cmp dword [rdi + 0x24c], esi
je 0x140003c58
call fcn.1400058f8
mov edx, 0x2739
jmp 0x140003c62
call fcn.1400058f8
mov edx, 0x2738
mov rcx, rax
call fcn.140004f30
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
xor r8d, r8d
xor edx, edx
mov ecx, 0x10003
call qword [sym.imp.DNSAPI.dll_DnsQueryConfigAllocEx]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x140003d27
mov ebx, esi
cmp dword [rax + 8], esi
jbe 0x140003d13
lea rax, [rsp + 0x40]
mov r8d, ebx
mov dword [rsp + 0x28], 0xff
or r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
mov r8, qword [rdi + r8*8 + 0x10]
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_MultiByteToWideChar]
nop dword [rax + rax]
mov dword [rsp + 0x30], eax
test eax, eax
je 0x140003d0b
mov ecx, r14d
call fcn.1400058f8
lea r8, [rsp + 0x40]
mov rcx, rax
mov edx, 0x2742
test ebx, ebx
je 0x140003d06
mov edx, 0x274c
call fcn.140004f30
add ebx, r14d
cmp ebx, dword [rdi + 8]
jb 0x140003caf
mov edx, 0x10003
mov rcx, rdi
call qword [sym.imp.DNSAPI.dll_DnsFreeConfigStructure]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1400052f0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret