Function at 0x14007f8bc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x8b0]
sub rsp, 0x9b0
mov rbx, rcx
or r15d, 0xffffffff
xor ecx, ecx
mov r14, rdx
mov dword [rbp + 0x8f8], ecx
mov rdi, qword [rbx]
mov r13d, dword [rdi + 0x80]
cmp dword [rdi + 0xc8], ecx
jne 0x14007f90a
mov dword [rdi + 0x160], ecx
lea rax, [rsp + 0x40]
mov dword [rbx + 0x18], ecx
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x888]
mov qword [rbp + 0x8a0], rax
mov qword [rbx + 0x128], r14
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], ecx
mov rax, qword [rdi + 0x128]
mov qword [rbx + 0xa0], rax
mov qword [rdi + 0x128], rbx
lea rdx, [rbp + 0x8f0]
mov rcx, r14
call fcn.14007f244
sub r13d, eax
mov r12d, eax
js 0x14007fae3
mov esi, dword [rbp + 0x8f0]
cmp esi, 0x9f
jl 0x14007fa80
mov eax, dword [rdi + 0x160]
test eax, eax
jne 0x14007fada
mov eax, dword [rbp + 0x8f0]
cmp eax, 0xb1
jne 0x14007f99a
movsxd rax, r12d
add r14, rax
jmp 0x14007f94a
cmp byte [r14], 0
jne 0x14007f9c4
xor r12d, r12d
cmp r15d, 1
jne 0x14007f9b1
mov esi, r12d
jmp 0x14007fa7a
test r15d, r15d
je 0x14007faed
mov esi, 1
jmp 0x14007fa7a
cmp eax, 0x9f
jne 0x14007fa0f
lea rax, [r14 + 6]
lea rcx, [rbp + 0x8f0]
mov qword [rbp + 0x8f0], rax
call fcn.14007f1d0
mov r15d, 0x3b
cmp eax, r15d
je 0x14007f9f5
mov esi, r15d
jmp 0x14007fa7a
lea rcx, [rbp + 0x8f0]
call fcn.14007f1d0
cmp eax, 0x18
mov esi, 0x9f
cmovne esi, r15d
jmp 0x14007fa7a
cmp eax, 0xa0
jne 0x14007fa47
lea rax, [r14 + 4]
mov qword [rbp + 0x8f0], rax
cmp r15d, 0x17
jne 0x14007fa75
lea rcx, [rbp + 0x8f0]
call fcn.14007f1d0
cmp eax, 0x16
je 0x14007fa40
lea ecx, [r15 + 0x24]
cmp eax, ecx
jne 0x14007fa75
mov esi, 0xa0
jmp 0x14007fa7a
cmp eax, 0xa1
jne 0x14007fac3
lea rax, [r14 + 6]
mov qword [rbp + 0x8f0], rax
cmp r15d, 0x17
jne 0x14007fa75
lea rcx, [rbp + 0x8f0]
call fcn.14007f1d0
mov esi, 0xa1
cmp eax, 0x16
je 0x14007fa7a
mov esi, 0x3b
mov dword [rbp + 0x8f0], esi
mov qword [rbx + 0xf0], r14
lea r8, [rsp + 0x20]
mov dword [rbx + 0xf8], r12d
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rbx + 0xf0]
mov edx, esi
movdqu xmmword [rsp + 0x20], xmm0
call fcn.14007ee84
movsxd rax, r12d
mov r15d, esi
add r14, rax
xor r12d, r12d
cmp dword [rbx + 0x18], r12d
jne 0x14007faed
jmp 0x14007f94a
mov r9, r14
lea rdx, str.unrecognized_tOKEn:___.s_
mov r8d, r12d
mov rcx, rbx
call fcn.140017964
jmp 0x14007faea
mov dword [rbx + 0x18], 9
jmp 0x14007faea
mov dword [rbx + 0x18], SQLAllocHandle
xor r12d, r12d
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x40]
cmp rcx, rax
jbe 0x14007fb2c
mov rax, rcx
add rax, 0xffffffffffffffe8
lea r8, [rcx + 8]
mov qword [rsp + 0x30], rax
movzx edx, word [rcx + 2]
lea rcx, [rsp + 0x30]
call fcn.14007bda4
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov rax, rcx
cmp rcx, rdx
ja 0x14007faff
cmp byte [rdi + 0x61], r12b
je 0x14007fb39
mov dword [rbx + 0x18], 7
mov ecx, dword [rbx + 0x18]
test ecx, ecx
je 0x14007fb66
cmp ecx, 0x65
je 0x14007fb66
cmp qword [rbx + 8], r12
jne 0x14007fb66
call fcn.14008100c
mov r8, rax
lea rdx, [0x140104530]
mov rcx, rdi
call fcn.140016e18
mov qword [rbx + 8], rax
mov r8, qword [rbx + 8]
test r8, r8
je 0x14007fb9a
mov rax, qword [rbp + 0x900]
lea rdx, str._s_in___s_
mov r9, qword [rbx + 0x128]
mov ecx, dword [rbx + 0x18]
mov qword [rax], r8
call fcn.140016f88
mov qword [rbx + 8], r12
mov esi, 1
jmp 0x14007fba0
mov esi, dword [rbp + 0x8f8]
mov rcx, qword [rbx + 0x10]
mov qword [rbx + 0x128], r14
test rcx, rcx
je 0x14007fbc5
cmp dword [rbx + 0x30], r12d
jle 0x14007fbc5
cmp byte [rbx + 0x1e], r12b
jne 0x14007fbc5
call fcn.140033190
mov qword [rbx + 0x10], r12
mov rcx, qword [rbx + 0x160]
call fcn.140014fb8
or r14d, 0xffffffff
cmp byte [rbx + 0x104], r12b
jne 0x14007fc01
mov rdx, qword [rbx + reloc.WLDAP32.dll_Ordinal_304]
test rdx, rdx
je 0x14007fc01
cmp qword [rdi + 0x298], r12
jne 0x14007fbf9
add dword [rdx + 0x3c], r14d
jne 0x14007fc01
mov rcx, rdi
call fcn.14004c75c
cmp byte [rbx + 0x104], 2
jae 0x14007fc19
mov rdx, qword [rbx + 0x140]
mov rcx, rdi
call fcn.14006a34c
mov rdx, qword [rbx + 0x180]
test rdx, rdx
je 0x14007fc2d
mov rcx, rdi
call fcn.140052414
mov rdx, qword [rbx + 0x118]
test rdx, rdx
je 0x14007fc50
jmp 0x14007fc48
mov rax, qword [rcx]
mov rdx, rcx
mov qword [rbx + 0x88], rax
mov rcx, rdi
call fcn.140015038
mov rcx, qword [rbx + 0x88]
test rcx, rcx
jne 0x14007fc3b
jmp 0x14007fc83
mov rax, qword [rcx + 0x78]
mov qword [rbx + 0x168], rax
cmp qword [rdi + 0x298], r12
jne 0x14007fc78
add dword [rcx + 0x3c], r14d
jne 0x14007fc83
mov rdx, rcx
mov rcx, rdi
call fcn.14004c75c
mov rcx, qword [rbx + 0x168]
test rcx, rcx
jne 0x14007fc5e
mov rcx, qword [rbx + 0xa0]
mov eax, esi
mov qword [rdi + 0x128], rcx
mov qword [rbx + 0xa0], r12
mov rbx, qword [rsp + 0xa08]
add rsp, 0x9b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret