Function at 0x14004bb84
Capabilities:
Initialize winsock library
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x1d0
mov rax, qword [0x1400d9180]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
lea rax, vtable.CMSBTStack.0
xor edi, edi
mov rbx, rcx
mov qword [rcx], rax
mov dword [rcx + 0xe0], edi
mov qword [rcx + 0xd8], rdi
call fcn.14004ba84
test eax, eax
je 0x14004bf7e
lea rdx, [rsp + 0x20]
mov ecx, 0x101
call qword [sym.imp.WS2_32.dll_WSAStartup]
lea rcx, [0x1400b5320]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx + 0xd8], rax
test rax, rax
jne 0x14004bc09
lea rcx, str.irprops.cpl
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx + 0xd8], rax
mov rcx, qword [rbx + 0xd8]
test rcx, rcx
je 0x14004bf5d
lea rdx, [0x1400b52f0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0xd8]
lea rdx, str.BluetoothFindNextRadio
mov qword [rbx + 8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0xd8]
lea rdx, [0x1400b52c0]
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0xd8]
lea rdx, str.BluetoothIsDiscoverable
mov qword [rbx + 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0xd8]
lea rdx, str.BluetoothEnableDiscovery
mov qword [rbx + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0xd8]
lea rdx, str.BluetoothEnableIncomingConnections
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0xd8]
lea rdx, str.BluetoothIsConnectable
mov qword [rbx + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0xd8]
lea rdx, [0x1400b5228]
mov qword [rbx + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0xd8]
lea rdx, [0x1400b5210]
mov qword [rbx + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0xd8]
lea rdx, [0x1400b51f0]
mov qword [rbx + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0xd8]
lea rdx, str.BluetoothUpdateDeviceRecord
mov qword [rbx + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0xd8]
lea rdx, str.BluetoothGetDeviceInfo
mov qword [rbx + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0xd8]
lea rdx, str.BluetoothRegisterForAuthentication
mov qword [rbx + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0xd8]
lea rdx, str.BluetoothUnregisterAuthentication
mov qword [rbx + 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0xd8]
lea rdx, str.BluetoothSendAuthenticationResponse
mov qword [rbx + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0xd8]
lea rdx, str.BluetoothAuthenticateDevice
mov qword [rbx + 0x78], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0xd8]
lea rdx, str.BluetoothRemoveDevice
mov qword [rbx + 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0xd8]
lea rdx, str.BluetoothSelectDevices
mov qword [rbx + 0x88], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0xd8]
lea rdx, str.BluetoothSelectDevicesFree
mov qword [rbx + 0x90], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0xd8]
lea rdx, str.BluetoothSetServiceState
mov qword [rbx + 0x98], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0xd8]
mov qword [rbx + 0xa0], rax
lea rdx, [0x1400b5088]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0xd8]
lea rdx, [0x1400b5070]
mov qword [rbx + 0xa8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0xd8]
lea rdx, str.BluetoothIsVersionAvailable
mov qword [rbx + 0xb0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0xd8]
lea rdx, str.BluetoothAuthenticateDeviceEx
mov qword [rbx + 0xb8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0xd8]
lea rdx, str.BluetoothRegisterForAuthenticationEx
mov qword [rbx + 0xc0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0xd8]
lea rdx, str.BluetoothSendAuthenticationResponseEx
mov qword [rbx + 0xc8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0xd0], rax
cmp qword [rbx + 8], rdi
je 0x14004bf55
cmp qword [rbx + 0x10], rdi
je 0x14004bf55
cmp qword [rbx + 0x18], rdi
je 0x14004bf55
cmp qword [rbx + 0x20], rdi
je 0x14004bf55
cmp qword [rbx + 0x28], rdi
je 0x14004bf55
cmp qword [rbx + 0x30], rdi
je 0x14004bf55
cmp qword [rbx + 0x38], rdi
je 0x14004bf55
cmp qword [rbx + 0x40], rdi
je 0x14004bf55
cmp qword [rbx + 0x48], rdi
je 0x14004bf55
cmp qword [rbx + 0x50], rdi
je 0x14004bf55
cmp qword [rbx + 0x58], rdi
je 0x14004bf55
cmp qword [rbx + 0x60], rdi
je 0x14004bf55
cmp qword [rbx + 0x68], rdi
je 0x14004bf55
cmp qword [rbx + 0x70], rdi
je 0x14004bf55
cmp qword [rbx + 0x78], rdi
je 0x14004bf55
cmp qword [rbx + 0x80], rdi
je 0x14004bf55
cmp qword [rbx + 0x88], rdi
je 0x14004bf55
cmp qword [rbx + 0x90], rdi
je 0x14004bf55
cmp qword [rbx + 0x98], rdi
je 0x14004bf55
cmp qword [rbx + 0xa0], rdi
je 0x14004bf55
cmp qword [rbx + 0xa8], rdi
je 0x14004bf55
mov eax, 1
cmp qword [rbx + 0xb0], rdi
jne 0x14004bf57
mov eax, edi
mov dword [rbx + 0xe0], eax
cmp dword [rbx + 0xe0], edi
jne 0x14004bf7e
mov rcx, qword [rbx + 0xd8]
test rcx, rcx
je 0x14004bf7e
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx + 0xd8], rdi
mov rax, rbx
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.14005ba20
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1d0
pop rdi
ret