Function at 0x1400be180
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x1e0
mov rax, qword [0x1401c6138]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
test cl, 2
je 0x1400be221
call fcn.1400be540
mov rdi, rax
test rax, rax
je 0x1400be217
mov ecx, 0xb
call fcn.14012a720
mov rdx, rax
mov rcx, rdi
mov rbx, rax
mov dword [rax + 7], 0x707574
mov dword [rax + 3], 0x72617453
mov word [rax + 1], 0x4153
mov byte [rax], 0x57
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov rdi, rax
call fcn.14012a718
test rdi, rdi
je 0x1400be217
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call rdi
test eax, eax
jne 0x1400be217
movzx eax, word [rsp + 0x30]
cmp al, 2
jne 0x1400be212
shr ax, 8
cmp al, 2
je 0x1400be221
call fcn.1400be8d0
mov eax, 2
jmp 0x1400be4b2
call fcn.1401012e0
test eax, eax
jne 0x1400be4b2
mov qword [rsp + 0x1f8], rsi
lea rcx, [0x14018fbf0]
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x1400be259
mov qword [0x1401c7370], rsi
jmp 0x1400be3d2
lea rdx, str.LoadLibraryExA
mov qword [rsp + 0x1f0], rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rbx, str.iphlpapi.dll
mov rbp, rax
mov rcx, rbx
lea rdx, [0x14018fc10]
call fcn.14015be0c
test rax, rax
je 0x1400be2b4
mov rcx, rbx
test rbp, rbp
je 0x1400be2a7
xor edx, edx
lea r8d, [rdx + 8]
call rbp
mov rsi, rax
jmp 0x1400be399
call fcn.1400be730
mov rsi, rax
jmp 0x1400be399
test rbp, rbp
je 0x1400be2e3
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400be2e3
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call rbp
mov rsi, rax
jmp 0x1400be399
xor edx, edx
mov qword [rsp + 0x200], r14
xor ecx, ecx
call fcn.1400be650
mov r14d, eax
test eax, eax
je 0x1400be391
lea ecx, [rax + 1]
add rcx, 0xc
call qword [fcn.14012a720]
mov rdi, rax
test rax, rax
je 0x1400be388
mov edx, r14d
mov rcx, rax
call fcn.1400be650
test eax, eax
je 0x1400be388
mov rcx, 0xffffffffffffffff
mov rax, rcx
nop dword [rax]
cmp byte [rdi + rax + 1], sil
lea rax, [rax + 1]
jne 0x1400be330
mov edx, 0x5c
mov word [rax + rdi], dx
inc rcx
cmp byte [rdi + rcx], sil
jne 0x1400be344
mov rdx, rdi
sub rdx, rbx
add rdx, rcx
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rdx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x1400be360
mov rcx, rdi
test rbp, rbp
je 0x1400be380
xor edx, edx
lea r8d, [rdx + 8]
call rbp
jmp 0x1400be385
call fcn.1400be730
mov rsi, rax
mov rcx, rdi
call qword [fcn.14012a718]
mov r14, qword [rsp + 0x200]
mov rbp, qword [rsp + 0x1f0]
mov qword [0x1401c7370], rsi
test rsi, rsi
je 0x1400be3d2
lea rdx, str.if_nametoindex
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1401c7368]
test rax, rax
cmovne rcx, rax
mov qword [0x1401c7368], rcx
xor edx, edx
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.1400ffed0
test al, al
mov ecx, 0x1a
setne byte [0x1401c8f20]
call fcn.14012a720
mov ecx, 0xd
mov rsi, rax
mov dword [rax + 0xe], 0x72466563
mov word [rax + 3], 0x7972
mov word [rax + 0x15], 0x6e65
mov dword [rax + 9], 0x616d726f
mov dword [rax + 5], 0x66726550
mov word [rax + 0x12], 0x7165
mov word [rax + 0x18], 0x79
mov word [rax], 0x7551
mov byte [rax + 2], 0x65
mov byte [rax + 0x17], 0x63
mov byte [rax + 0xd], 0x6e
mov byte [rax + 0x14], 0x75
call fcn.14012a720
mov rcx, rax
mov rdi, rax
mov dword [rax + 4], 0x32336c65
mov dword [rax], 0x6e72654b
mov word [rax + 8], 0x642e
mov word [rax + 0xb], 0x6c
mov byte [rax + 0xa], 0x6c
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rdi
mov rbx, rax
call fcn.14012a718
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rsi
mov rbx, rax
call fcn.14012a718
mov rsi, qword [rsp + 0x1f8]
test rbx, rbx
je 0x1400be4b0
lea rcx, [0x1401c8f28]
call rbx
xor eax, eax
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140118e10
mov rbx, qword [rsp + 0x208]
add rsp, 0x1e0
pop rdi
ret