Function at 0x18001b3f0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rdi
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1800eb210]
xor edi, edi
movsxd rbx, ecx
mov r14, r8
mov r13d, edi
test rax, rax
jne 0x18001b436
xor edx, edx
lea rcx, [0x1800c7c20]
call fcn.18001d740
mov qword [0x1800eb210], rax
test rax, rax
je 0x18001b73c
cmp qword [0x1800eb218], rdi
jne 0x18001b466
lea rdx, [0x1800c7da0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800eb218], rax
test rax, rax
je 0x18001b73c
mov rax, qword [0x1800eb210]
cmp qword [0x1800eb220], rdi
jne 0x18001b496
lea rdx, [0x1800c7dc0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800eb220], rax
test rax, rax
je 0x18001b73c
mov rax, qword [0x1800eb210]
cmp qword [0x1800eb230], rdi
jne 0x18001b4c6
lea rdx, [0x1800c7c40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800eb230], rax
test rax, rax
je 0x18001b73c
mov rax, qword [0x1800eb210]
cmp qword [0x1800eb228], rdi
jne 0x18001b4f6
lea rdx, [0x1800c7de0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800eb228], rax
test rax, rax
je 0x18001b73c
mov rax, qword [0x1800eb210]
cmp qword [0x1800eb240], rdi
jne 0x18001b51f
lea rdx, [0x1800c7c70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800eb240], rax
test rax, rax
je 0x18001b73c
mov r9d, 6
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [0x1800eb218]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x18001b73c
xorps xmm0, xmm0
mov qword [rsp + 0x80], rbp
movups xmmword [r14], xmm0
mov qword [rsp + 0x48], rsi
mov r8, r14
movups xmmword [r14 + 0x10], xmm0
xor edx, edx
mov dword [r14], 0x20
mov rcx, rax
mov qword [rsp + 0x40], r12
call qword [0x1800eb220]
test eax, eax
je 0x18001b703
mov r12, rbx
mov ebx, 1
nop dword [rax]
nop word [rax + rax]
mov dword [rsp + 0x98], edi
mov rsi, rdi
mov ebp, edi
cmp r12, 1
jae 0x18001b6d6
xor r9d, r9d
lea rax, [rsp + 0x98]
mov qword [rsp + 0x30], rax
mov rdx, r14
mov dword [rsp + 0x28], edi
mov rcx, r15
mov qword [rsp + 0x20], rdi
lea r8d, [r9 + 2]
call qword [0x1800eb230]
mov eax, dword [rsp + 0x98]
test eax, eax
je 0x18001b6c8
lea ebx, [rax + 4]
mov ecx, 0x40
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x18001b6c3
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], ebx
mov rdx, r14
mov rcx, r15
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 2]
call qword [0x1800eb230]
test eax, eax
je 0x18001b6c3
cmp word [rsi], 0
mov rdi, rsi
je 0x18001b6b3
lea rax, str.PCIVEN_10DECC_0300
mov rbx, qword [rax + r12*8]
cmp word [rbx], 0
je 0x18001b682
mov rdx, rbx
mov rcx, rdi
call fcn.18006a1b4
test rax, rax
jne 0x18001b67c
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x18001b660
lea rbx, [rbx + rax*2]
add rbx, 2
cmp word [rbx], 0
jne 0x18001b641
jmp 0x18001b682
cmp word [rbx], 0
jne 0x18001b6b3
mov rax, 0xffffffffffffffff
nop dword [rax]
cmp word [rdi + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x18001b690
lea rdi, [rdi + rax*2]
add rdi, 2
cmp word [rdi], 0
jne 0x18001b630
mov ebx, 1
xor edi, edi
jmp 0x18001b6c8
cmp word [rdi], 0
mov ebx, 1
cmovne ebp, ebx
xor edi, edi
jmp 0x18001b6c8
mov ebx, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp ebp, 1
je 0x18001b72d
xorps xmm0, xmm0
inc r13d
movups xmmword [r14], xmm0
mov r8, r14
mov edx, r13d
movups xmmword [r14 + 0x10], xmm0
mov rcx, r15
mov dword [r14], 0x20
call qword [0x1800eb220]
test eax, eax
jne 0x18001b590
mov rcx, r15
call qword [0x1800eb240]
xor eax, eax
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x80]
mov r12, qword [rsp + 0x40]
add rsp, 0x50
pop r15
pop r14
pop r13
pop rdi
pop rbx
ret
mov rcx, qword [rsp + 0x88]
mov eax, ebx
mov qword [rcx], r15
jmp 0x18001b70e
xor eax, eax
add rsp, 0x50
pop r15
pop r14
pop r13
pop rdi
pop rbx
ret