Function at 0x140063fe0
Capabilities:
Link many functions at runtime

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4a0
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x14035d8c0]
xor rax, rsp
mov qword [rsp + 0x498], rax
mov rsi, rcx
mov qword [rsp + 0x50], rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
lea rcx, [r11 - 0x50]
call fcn.14000a1bc
nop
mov byte [rsp + 0x470], bl
lea r8d, [rbx + 0x19]
lea rdx, str.srl::SetupLib::Initialize
lea rcx, [rsp + 0x478]
call fcn.140009e14
nop
call fcn.140022850
cmp dword [rax + 8], 4
jl 0x14006406f
mov byte [rsp + 0x470], 1
lea rcx, [rsp + 0x470]
call fcn.140018900
nop
cmp byte [rsi + 0x28], 0
jne 0x140064d3c
lea rcx, str.setupapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsi + 0x30], rax
test rax, rax
je 0x14006476d
lea rdx, str.SetupDiGetClassDevsW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x38], rax
lea rdx, str.SetupDiEnumDeviceInfo
mov rcx, qword [rsi + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x40], rax
lea rdx, str.SetupDiGetDeviceRegistryPropertyW
mov rcx, qword [rsi + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x48], rax
lea rdx, str.SetupDiGetDeviceInstanceIdW
mov rcx, qword [rsi + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x50], rax
lea rdx, str.SetupFindFirstLineW
mov rcx, qword [rsi + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x58], rax
lea rdx, str.SetupFindNextLine
mov rcx, qword [rsi + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x60], rax
lea rdx, str.SetupGetLineTextW
mov rcx, qword [rsi + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x68], rax
lea rdx, str.SetupOpenInfFileW
mov rcx, qword [rsi + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x70], rax
lea rdx, str.SetupCloseInfFile
mov rcx, qword [rsi + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x78], rax
lea rdx, str.SetupDiOpenDevRegKey
mov rcx, qword [rsi + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x80], rax
lea rdx, str.SetupDiDestroyDeviceInfoList
mov rcx, qword [rsi + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x88], rax
cmp qword [rsi + 0x38], 0
je 0x1400641d6
cmp qword [rsi + 0x40], 0
je 0x1400641d6
cmp qword [rsi + 0x48], 0
je 0x1400641d6
cmp qword [rsi + 0x50], 0
je 0x1400641d6
cmp qword [rsi + 0x58], 0
je 0x1400641d6
cmp qword [rsi + 0x60], 0
je 0x1400641d6
cmp qword [rsi + 0x68], 0
je 0x1400641d6
cmp qword [rsi + 0x70], 0
je 0x1400641d6
cmp qword [rsi + 0x78], 0
je 0x1400641d6
cmp qword [rsi + 0x80], 0
je 0x1400641d6
test rax, rax
je 0x1400641d6
mov byte [rsi + 0x28], 1
jmp 0x140064d3c
call fcn.140022850
cmp dword [rax + 8], 1
jl 0x140064d3c
call fcn.140022850
mov r13, rax
lea rcx, [rsp + 0x220]
call fcn.14001bb00
nop
lea rcx, [rsp + 0x450]
call fcn.14000a1bc
nop
mov r8d, 3
lea rdx, [0x1402f2560]
lea rcx, [rsp + 0x450]
call fcn.140009e14
lea rcx, [rsp + 0x3e0]
call fcn.14000a1bc
nop
mov r14d, ebx
mov dword [rsp + 0x34], ebx
mov r12d, 4
lea r15d, [r12 - 2]
cmp r14d, dword [r13 + 0x10]
jge 0x1400642d7
cmp r14d, 0xa
jge 0x1400642d7
mov rcx, qword [rsp + 0x3f0]
mov rdx, qword [rsp + 0x3f8]
mov rax, rdx
sub rax, rcx
cmp rax, r15
jb 0x1400642ae
lea rdi, [rcx + 2]
mov qword [rsp + 0x3f0], rdi
lea rbx, [rsp + 0x3e0]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x3e0]
lea rcx, [rbx + rcx*2]
mov r8, r12
lea rdx, [0x1402f2528]
call fcn.14022fb50
xor eax, eax
mov word [rbx + rdi*2], ax
jmp 0x1400642ca
mov qword [rsp + 0x20], r15
lea r9, [0x1402f2528]
mov rdx, r15
lea rcx, [rsp + 0x3e0]
call fcn.1400236a0
inc r14d
mov dword [rsp + 0x34], r14d
jmp 0x140064243
lea rcx, [rsp + 0x430]
call fcn.14000a1bc
nop
lea rcx, [rsp + 0x410]
call fcn.14000a1bc
nop
lea r8, [rsp + 0x410]
lea rdx, [rsp + 0x430]
mov rcx, r13
call fcn.140022980
lea r14, [rsp + 0x3e0]
cmp qword [rsp + 0x3f8], 8
cmovae r14, qword [rsp + 0x3e0]
mov edx, 0x2040
lea rcx, [rsp + 0x1c0]
call fcn.14022dc44
mov rcx, qword [rsp + 0x230]
movsxd rdx, dword [rcx + 4]
lea rcx, [rsp + 0x230]
add rcx, rdx
mov edx, dword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x430]
cmp qword [rsp + 0x448], 8
cmovae rdx, qword [rsp + 0x430]
mov r8, qword [rsp + 0x440]
lea rcx, [rsp + 0x230]
call fcn.140019270
mov rbx, rax
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rsp + 0x1d0]
call fcn.14022dc44
mov rdi, rax
lea rdx, [0x1402f2080]
mov rcx, rbx
call fcn.140018e90
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov edx, dword [rdi + 8]
call qword [rdi]
mov edx, 6
lea rcx, [rsp + 0x1e0]
call fcn.14022dc6c
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
mov eax, 0x30
mov word [rcx + rbx + 0x58], ax
lea edx, [rax - 0x2d]
lea rcx, [rsp + 0x1f0]
call fcn.14022dc58
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x410]
cmp qword [rsp + 0x428], 8
cmovae rdx, qword [rsp + 0x410]
mov r8, qword [rsp + 0x420]
mov rcx, rbx
call fcn.140019270
mov rbx, rax
mov edx, 5
lea rcx, [rsp + 0x200]
call fcn.14022dc6c
mov rdi, rax
lea rdx, [0x1402f2080]
mov rcx, rbx
call fcn.140018e90
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rdi + 8]
call qword [rdi]
mov rcx, qword [rbx]
movsxd rdx, dword [rcx + 4]
mov eax, 0x20
mov word [rdx + rbx + 0x58], ax
lea edx, [rax + 0x20]
lea rcx, [rsp + 0x210]
call fcn.14022dc44
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov edx, dword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x450]
cmp qword [rsp + 0x468], 8
cmovae rdx, qword [rsp + 0x450]
mov r8, qword [rsp + 0x460]
mov rcx, rbx
call fcn.140019270
lea rdx, [0x1402f2578]
mov rcx, rax
call fcn.140018e90
mov rcx, rax
mov rdx, r14
call fcn.140018e90
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14036cfc0], eax
jle 0x140064540
lea rcx, [0x14036cfc0]
call fcn.14022b958
cmp dword [0x14036cfc0], 0xffffffff
jne 0x140064540
lea rbx, [0x14036cfc8]
mov rcx, rbx
call fcn.14000a1bc
lea rcx, [0x14027e7a0]
call fcn.14022b460
lea rcx, [0x14036cfc0]
call fcn.14022b8f8
jmp 0x140064547
lea rbx, [0x14036cfc8]
lea rcx, [rsp + 0x3c0]
call fcn.140009da0
xor r14d, r14d
mov qword [rsp + 0x3d0], r14
mov qword [rsp + 0x3d8], 7
mov word [rsp + 0x3c0], r14w
mov dword [rsp + 0x30], r15d
mov rdx, qword [rsp + 0x2a8]
test dl, 2
jne 0x1400645d7
mov rax, qword [rsp + 0x278]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400645d7
mov rax, qword [rsp + 0x258]
mov rdx, qword [rax]
mov qword [rsp + 0x48], rcx
lea r8, [rsp + 0x2a0]
lea rax, [rsp + 0x48]
cmp rcx, qword [rsp + 0x2a0]
cmovae r8, rax
mov r8, qword [r8]
sub r8, rdx
sar r8, 1
lea rcx, [rsp + 0x3c0]
call fcn.140009e14
jmp 0x14006461b
test dl, 4
jne 0x14006461b
mov rax, qword [rsp + 0x270]
mov rcx, qword [rax]
test rcx, rcx
je 0x14006461b
mov rax, qword [rsp + 0x250]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x288]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
lea rcx, [rsp + 0x3c0]
call fcn.140009e14
and r15d, 0xfffffffd
mov dword [rsp + 0x30], r15d
mov edi, 1
mov dword [rsp + 0x30], edi
mov rdx, qword [0x14036cfe0]
cmp rdx, 8
jb 0x140064683
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0x400], rdx
mov rcx, qword [0x14036cfc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006467e
add rdx, 0x27
mov qword [rsp + 0x400], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140064d84
call fcn.1400045a8
mov qword [0x14036cfd8], r14
mov qword [0x14036cfe0], 7
mov word [0x14036cfc8], r14w
movups xmm0, xmmword [rsp + 0x3c0]
movups xmmword [0x14036cfc8], xmm0
movups xmm1, xmmword [rsp + 0x3d0]
movups xmmword [0x14036cfd8], xmm1
mov qword [rsp + 0x3d0], r14
mov qword [rsp + 0x3d8], 7
mov word [rsp + 0x3c0], r14w
and edi, 0xfffffffe
mov dword [rsp + 0x30], edi
lea rcx, [rsp + 0x3c0]
call fcn.140009bb8
nop
lea rcx, [rsp + 0x410]
call fcn.140009bb8
nop
lea rcx, [rsp + 0x430]
call fcn.140009bb8
nop
lea rcx, [rsp + 0x3e0]
call fcn.140009bb8
nop
lea rcx, [rsp + 0x450]
call fcn.140009bb8
nop
lea rcx, [rsp + 0x220]
call fcn.14001b7c0
call fcn.140022850
cmp qword [0x14036cfe0], 8
cmovae rbx, qword [0x14036cfc8]
mov r8, qword [0x14036cfd8]
mov rdx, rbx
mov rcx, rax
call fcn.140019270
lea rdx, str.Error_getting_proc_addresses_from_Setup_library.
mov rcx, rax
call fcn.140018e90
jmp 0x140064d14
call fcn.140022850
cmp dword [rax + 8], 1
jl 0x140064d3c
call fcn.140022850
mov r13, rax
lea rcx, [rsp + 0xc0]
call fcn.14001bb00
nop
lea rcx, [rsp + 0x3a0]
call fcn.14000a1bc
nop
mov r8d, 3
lea rdx, [0x1402f2560]
lea rcx, [rsp + 0x3a0]
call fcn.140009e14
lea rcx, [rsp + 0x340]
call fcn.14000a1bc
nop
mov r14d, ebx
mov dword [rsp + 0x38], ebx
mov r12d, 4
lea r15d, [r12 - 2]
nop word [rax + rax]
cmp r14d, dword [r13 + 0x10]
jge 0x140064874
cmp r14d, 0xa
jge 0x140064874
mov rcx, qword [rsp + 0x350]
mov rdx, qword [rsp + 0x358]
mov rax, rdx
sub rax, rcx
cmp rax, r15
jb 0x14006484b
lea rdi, [rcx + 2]
mov qword [rsp + 0x350], rdi
lea rbx, [rsp + 0x340]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x340]
lea rcx, [rbx + rcx*2]
mov r8, r12
lea rdx, [0x1402f2528]
call fcn.14022fb50
xor eax, eax
mov word [rbx + rdi*2], ax
jmp 0x140064867
mov qword [rsp + 0x20], r15
lea r9, [0x1402f2528]
mov rdx, r15
lea rcx, [rsp + 0x340]
call fcn.1400236a0
inc r14d
mov dword [rsp + 0x38], r14d
jmp 0x1400647e0
lea rcx, [rsp + 0x380]
call fcn.14000a1bc
nop
lea rcx, [rsp + 0x360]
call fcn.14000a1bc
nop
lea r8, [rsp + 0x360]
lea rdx, [rsp + 0x380]
mov rcx, r13
call fcn.140022980
lea r14, [rsp + 0x340]
cmp qword [rsp + 0x358], 8
cmovae r14, qword [rsp + 0x340]
mov edx, 0x2040
lea rcx, [rsp + 0x80]
call fcn.14022dc44
mov rcx, qword [rsp + 0xd0]
movsxd rdx, dword [rcx + 4]
lea rcx, [rsp + 0xd0]
add rcx, rdx
mov edx, dword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x380]
cmp qword [rsp + 0x398], 8
cmovae rdx, qword [rsp + 0x380]
mov r8, qword [rsp + 0x390]
lea rcx, [rsp + 0xd0]
call fcn.140019270
mov rbx, rax
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rsp + 0x90]
call fcn.14022dc44
mov rdi, rax
lea rdx, [0x1402f2080]
mov rcx, rbx
call fcn.140018e90
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov edx, dword [rdi + 8]
call qword [rdi]
mov edx, 6
lea rcx, [rsp + 0xa0]
call fcn.14022dc6c
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
mov eax, 0x30
mov word [rcx + rbx + 0x58], ax
lea edx, [rax - 0x2d]
lea rcx, [rsp + 0xb0]
call fcn.14022dc58
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x360]
cmp qword [rsp + 0x378], 8
cmovae rdx, qword [rsp + 0x360]
mov r8, qword [rsp + 0x370]
mov rcx, rbx
call fcn.140019270
mov rbx, rax
mov edx, 5
lea rcx, [rsp + 0x58]
call fcn.14022dc6c
mov rdi, rax
lea rdx, [0x1402f2080]
mov rcx, rbx
call fcn.140018e90
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rdi + 8]
call qword [rdi]
mov rcx, qword [rbx]
movsxd rdx, dword [rcx + 4]
mov eax, 0x20
mov word [rdx + rbx + 0x58], ax
lea edx, [rax + 0x20]
lea rcx, [rsp + 0x68]
call fcn.14022dc44
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov edx, dword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x3a0]
cmp qword [rsp + 0x3b8], 8
cmovae rdx, qword [rsp + 0x3a0]
mov r8, qword [rsp + 0x3b0]
mov rcx, rbx
call fcn.140019270
lea rdx, [0x1402f2578]
mov rcx, rax
call fcn.140018e90
mov rcx, rax
mov rdx, r14
call fcn.140018e90
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14036cfc0], eax
jle 0x140064ad7
lea rcx, [0x14036cfc0]
call fcn.14022b958
cmp dword [0x14036cfc0], 0xffffffff
jne 0x140064ad7
lea rbx, [0x14036cfc8]
mov rcx, rbx
call fcn.14000a1bc
lea rcx, [0x14027e7a0]
call fcn.14022b460
lea rcx, [0x14036cfc0]
call fcn.14022b8f8
jmp 0x140064ade
lea rbx, [0x14036cfc8]
lea rcx, [rsp + 0x320]
call fcn.140009da0
xor r14d, r14d
mov qword [rsp + 0x330], r14
mov qword [rsp + 0x338], 7
mov word [rsp + 0x320], r14w
mov edi, 8
mov dword [rsp + 0x30], edi
mov rdx, qword [rsp + 0x148]
test dl, 2
jne 0x140064b72
mov rax, qword [rsp + 0x118]
mov rcx, qword [rax]
test rcx, rcx
je 0x140064b72
mov rax, qword [rsp + 0xf8]
mov rdx, qword [rax]
mov qword [rsp + 0x40], rcx
lea r8, [rsp + 0x140]
lea rax, [rsp + 0x40]
cmp rcx, qword [rsp + 0x140]
cmovae r8, rax
mov r8, qword [r8]
sub r8, rdx
sar r8, 1
lea rcx, [rsp + 0x320]
call fcn.140009e14
jmp 0x140064bb6
test dl, 4
jne 0x140064bb6
mov rax, qword [rsp + 0x110]
mov rcx, qword [rax]
test rcx, rcx
je 0x140064bb6
mov rax, qword [rsp + 0xf0]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x128]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
lea rcx, [rsp + 0x320]
call fcn.140009e14
and edi, 0xfffffff7
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x30], r12d
mov rdx, qword [0x14036cfe0]
cmp rdx, 8
jb 0x140064c18
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0x408], rdx
mov rcx, qword [0x14036cfc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140064c13
add rdx, 0x27
mov qword [rsp + 0x408], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140064d8a
call fcn.1400045a8
mov qword [0x14036cfd8], r14
mov qword [0x14036cfe0], 7
mov word [0x14036cfc8], r14w
movups xmm0, xmmword [rsp + 0x320]
movups xmmword [0x14036cfc8], xmm0
movups xmm1, xmmword [rsp + 0x330]
movups xmmword [0x14036cfd8], xmm1
mov qword [rsp + 0x330], r14
mov qword [rsp + 0x338], 7
mov word [rsp + 0x320], r14w
and r12d, 0xfffffffb
mov dword [rsp + 0x30], r12d
lea rcx, [rsp + 0x320]
call fcn.140009bb8
nop
lea rcx, [rsp + 0x360]
call fcn.140009bb8
nop
lea rcx, [rsp + 0x380]
call fcn.140009bb8
nop
lea rcx, [rsp + 0x340]
call fcn.140009bb8
nop
lea rcx, [rsp + 0x3a0]
call fcn.140009bb8
nop
lea rcx, [rsp + 0xc0]
call fcn.14001b7c0
call fcn.140022850
cmp qword [0x14036cfe0], 8
cmovae rbx, qword [0x14036cfc8]
mov r8, qword [0x14036cfd8]
mov rdx, rbx
mov rcx, rax
call fcn.140019270
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rdx, str.Failure_to_load_setupapi.dll:
mov rcx, rbx
call fcn.140018e90
mov rcx, rax
mov edx, edi
call fcn.14001bc90
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
mov rbx, rax
mov dl, 0xa
add rcx, rax
call fcn.140019760
movzx edx, ax
mov rcx, rbx
call fcn.1400195a0
mov rcx, rbx
call fcn.14001a220
nop
jmp 0x140064d43
movzx ebx, byte [rsi + 0x28]
lea rcx, [rsp + 0x470]
call fcn.14001a370
movzx eax, bl
mov rcx, qword [rsp + 0x498]
xor rcx, rsp
call fcn.14022b1a0
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.1402325b4
nop
call fcn.1402325b4
int3