Function at 0x1400eeb80
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x1401f3030]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor ebp, ebp
mov dword [rsp + 0x30], ebp
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rbp
mov qword [rcx + 8], rbp
mov dword [rsp + 0x30], 1
cmp byte [0x1401fefc0], bpl
jne 0x1400eed32
xor edx, edx
mov r8d, 0x800
lea rcx, str.wlanapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x1400eed25
lea rdx, str.WlanOpenHandle
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401fefc8], rax
lea rdx, str.WlanCloseHandle
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401fefd0], rax
lea rdx, str.WlanEnumInterfaces
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401fefd8], rax
lea rdx, str.WlanQueryInterface
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401fefe0], rax
lea rdx, str.WlanGetNetworkBssList
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401fefe8], rax
lea rdx, str.WlanScan
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401feff0], rax
lea rdx, str.WlanGetProfile
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401feff8], rax
lea rdx, str.WlanConnect
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401ff000], rax
lea rdx, str.WlanFreeMemory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401ff008], rax
cmp qword [0x1401fefc8], rbp
je 0x1400eed19
cmp qword [0x1401fefd0], rbp
je 0x1400eed19
cmp qword [0x1401fefd8], rbp
je 0x1400eed19
cmp qword [0x1401fefe0], rbp
je 0x1400eed19
cmp qword [0x1401fefe8], rbp
je 0x1400eed19
cmp qword [0x1401feff0], rbp
je 0x1400eed19
cmp qword [0x1401feff8], rbp
je 0x1400eed19
cmp qword [0x1401ff000], rbp
je 0x1400eed19
test rax, rax
je 0x1400eed19
mov byte [0x1401fefc0], 1
jmp 0x1400eed32
mov byte [0x1401fefc0], 0
jmp 0x1400eee4d
cmp byte [0x1401fefc0], 0
je 0x1400eee4d
mov ecx, 8
call fcn.140149158
mov rdi, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1400eed4e
mov qword [rax], rbp
jmp 0x1400eed51
mov rdi, rbp
mov qword [rsp + 0x40], rdi
mov ecx, SafeArrayCopy
call fcn.140149158
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1400eed8e
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rcx, vtable.std::_Ref_count_class_WLanAPI::WLanAPI_.0
mov qword [rax], rcx
mov qword [rax + 0x10], rdi
jmp 0x1400eed91
mov rax, rbp
mov qword [rbx], rdi
mov rdi, qword [rbx + 8]
mov qword [rbx + 8], rax
mov esi, 0xffffffff
test rdi, rdi
je 0x1400eeddd
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400eeddd
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x140026a06.0]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x1400eeddd
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [case.0x140026a06.0]
cmp byte [0x1401fefc0], 0
je 0x1400eee08
mov dword [rsp + 0x48], ebp
mov r9, qword [rbx]
lea r8, [rsp + 0x48]
xor edx, edx
lea ecx, [rdx + 2]
mov rax, qword [0x1401fefc8]
call qword [case.0x140026a06.0]
test eax, eax
je 0x1400eee4d
mov qword [rbx], rbp
mov rdi, qword [rbx + 8]
mov qword [rbx + 8], rbp
test rdi, rdi
je 0x1400eee4d
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400eee4d
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x140026a06.0]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x1400eee4d
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [case.0x140026a06.0]
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140149500
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