Function at 0x1400db6c0
Capabilities:
Link many functions at runtime

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x60
mov qword [r11 - 0x30], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rax, qword [0x140200d38]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov qword [r11 - 0x28], rcx
xor ebp, ebp
mov dword [rsp + 0x24], ebp
mov qword [rcx], rbp
mov qword [rcx + 8], rbp
mov dword [rsp + 0x24], 1
cmp byte [0x14020cfe0], bpl
jne 0x1400db86b
lea rcx, str.wlanapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
je 0x1400db85e
lea rdx, str.WlanOpenHandle
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14020cfe8], rax
lea rdx, str.WlanCloseHandle
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14020cff0], rax
lea rdx, str.WlanEnumInterfaces
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14020cff8], rax
lea rdx, str.WlanQueryInterface
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14020d000], rax
lea rdx, str.WlanGetNetworkBssList
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14020d008], rax
lea rdx, str.WlanScan
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14020d010], rax
lea rdx, str.WlanGetProfile
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14020d018], rax
lea rdx, str.WlanConnect
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14020d020], rax
lea rdx, str.WlanFreeMemory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14020d028], rax
cmp qword [0x14020cfe8], rbp
je 0x1400db852
cmp qword [0x14020cff0], rbp
je 0x1400db852
cmp qword [0x14020cff8], rbp
je 0x1400db852
cmp qword [0x14020d000], rbp
je 0x1400db852
cmp qword [0x14020d008], rbp
je 0x1400db852
cmp qword [0x14020d010], rbp
je 0x1400db852
cmp qword [0x14020d018], rbp
je 0x1400db852
cmp qword [0x14020d020], rbp
je 0x1400db852
test rax, rax
je 0x1400db852
mov byte [0x14020cfe0], 1
jmp 0x1400db86b
mov byte [0x14020cfe0], 0
jmp 0x1400db946
cmp byte [0x14020cfe0], 0
je 0x1400db946
mov ecx, 8
call fcn.1401218b0
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1400db884
mov qword [rax], rbp
jmp 0x1400db887
mov rax, rbp
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
movzx r8d, byte [rsp + 0x20]
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400db1e0
mov rax, qword [rsp + 0x28]
mov qword [rbx], rax
mov rdi, qword [rbx + 8]
mov rax, qword [rsp + 0x30]
mov qword [rbx + 8], rax
mov esi, 0xffffffff
test rdi, rdi
je 0x1400db8eb
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400db8eb
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x1400db8eb
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp byte [0x14020cfe0], 0
je 0x1400db90f
mov dword [rsp + 0x48], ebp
mov r9, qword [rbx]
lea r8, [rsp + 0x48]
xor edx, edx
lea ecx, [rdx + 2]
call qword [0x14020cfe8]
test eax, eax
je 0x1400db946
mov qword [rbx], rbp
mov rdi, qword [rbx + 8]
mov qword [rbx + 8], rbp
test rdi, rdi
je 0x1400db946
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400db946
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x1400db946
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140121cc0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret