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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x9c0
mov rbx, rcx
xor ecx, ecx
or r12d, 0xffffffff
mov rdi, qword [rbx]
mov r15, r8
mov rbp, rdx
mov r14d, dword [rdi + 0x80]
mov dword [rsp + 0xa08], ecx
cmp dword [rdi + 0xc8], ecx
jne 0x140081d11
mov dword [rdi + 0x160], ecx
lea rax, [rsp + 0x50]
mov dword [rbx + 0x18], ecx
mov qword [rbx + 0x128], rdx
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x998]
mov qword [rsp + 0x48], rbx
mov word [rsp + 0x50], cx
mov word [rsp + 0x52], cx
mov qword [rsp + 0x9b0], rax
mov rax, qword [rdi + 0x128]
mov qword [rbx + 0xa0], rax
mov qword [rdi + 0x128], rbx
lea rdx, [rsp + 0xa00]
mov rcx, rbp
call fcn.14008164c
sub r14d, eax
mov r13d, eax
js 0x140081ef8
mov esi, dword [rsp + 0xa00]
cmp esi, 0x9f
jl 0x140081e94
mov eax, dword [rdi + 0x160]
test eax, eax
jne 0x140081eef
mov eax, dword [rsp + 0xa00]
cmp eax, 0xb1
jne 0x140081dac
movsxd rax, r13d
add rbp, rax
jmp 0x140081d59
cmp byte [rbp], 0
jne 0x140081dde
xor r13d, r13d
cmp r12d, 1
jne 0x140081dcb
mov esi, r13d
mov dword [rsp + 0xa00], r13d
jmp 0x140081e94
cmp r12d, r13d
je 0x140081f02
mov esi, 1
jmp 0x140081e8d
cmp eax, 0x9f
jne 0x140081e29
lea rax, [rbp + 6]
lea rcx, [rsp + 0xa18]
mov qword [rsp + 0xa18], rax
call fcn.1400815d4
mov r12d, 0x3b
cmp eax, r12d
je 0x140081e0e
mov esi, r12d
jmp 0x140081e8d
lea rcx, [rsp + 0xa18]
call fcn.1400815d4
mov esi, 0x9f
cmp eax, 0x18
cmovne esi, r12d
jmp 0x140081e8d
cmp eax, 0xa0
jne 0x140081e5e
lea rax, [rbp + 4]
mov qword [rsp + 0x28], rax
cmp r12d, 0x17
jne 0x140081e88
lea rcx, [rsp + 0x28]
call fcn.1400815d4
cmp eax, 0x16
je 0x140081e57
lea ecx, [r12 + 0x24]
cmp eax, ecx
jne 0x140081e88
mov esi, 0xa0
jmp 0x140081e8d
cmp eax, 0xa1
jne 0x140081ed8
lea rax, [rbp + 6]
mov qword [rsp + 0x20], rax
cmp r12d, 0x17
jne 0x140081e88
lea rcx, [rsp + 0x20]
call fcn.1400815d4
mov esi, 0xa1
cmp eax, 0x16
je 0x140081e8d
mov esi, 0x3b
mov dword [rsp + 0xa00], esi
mov qword [rbx + 0xf0], rbp
mov dword [rbx + 0xf8], r13d
movdqu xmm0, xmmword [rbx + 0xf0]
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0x40]
mov edx, esi
movdqu xmmword [rsp + 0x30], xmm0
call fcn.14008127c
movsxd rax, r13d
xor r13d, r13d
add rbp, rax
mov r12d, esi
cmp dword [rbx + 0x18], r13d
jne 0x140081f02
jmp 0x140081d59
lea rdx, str.unrecognized_token:___.s_
mov r9, rbp
mov r8d, r13d
mov rcx, rbx
call fcn.1400191b8
jmp 0x140081eff
mov dword [rbx + 0x18], 9
jmp 0x140081eff
mov dword [rbx + 0x18], SQLAllocHandle
xor r13d, r13d
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
cmp rcx, rax
jbe 0x140081f3e
mov rax, rcx
sub rcx, 0x18
mov qword [rsp + 0x40], rcx
movzx edx, word [rax + 2]
lea r8, [rax + 8]
lea rcx, [rsp + 0x40]
call fcn.14007dfdc
mov rcx, qword [rsp + 0x40]
lea r11, [rsp + 0x50]
cmp rcx, r11
ja 0x140081f11
cmp byte [rdi + 0x61], r13b
je 0x140081f4b
mov dword [rbx + 0x18], 7
mov ecx, dword [rbx + 0x18]
cmp ecx, r13d
je 0x140081f79
cmp ecx, 0x65
je 0x140081f79
cmp qword [rbx + 8], r13
jne 0x140081f79
call fcn.14008335c
lea rdx, [0x1400f38e8]
mov rcx, rdi
mov r8, rax
call fcn.140018698
mov qword [rbx + 8], rax
mov r8, qword [rbx + 8]
cmp r8, r13
je 0x140081fa6
mov r9, qword [rbx + 0x128]
mov ecx, dword [rbx + 0x18]
lea rdx, str._s_in___s_
mov qword [r15], r8
call fcn.1400187fc
mov qword [rbx + 8], r13
mov esi, 1
jmp 0x140081fad
mov esi, dword [rsp + 0xa08]
mov rcx, qword [rbx + 0x10]
mov qword [rbx + 0x128], rbp
cmp rcx, r13
je 0x140081fd2
cmp dword [rbx + 0x30], r13d
jle 0x140081fd2
cmp byte [rbx + 0x1e], r13b
jne 0x140081fd2
call fcn.1400348b0
mov qword [rbx + 0x10], r13
mov rcx, qword [rbx + 0x160]
call fcn.140016950
or ebp, 0xffffffff
cmp byte [rbx + 0x104], r13b
jne 0x14008200c
mov rdx, qword [rbx + reloc.WLDAP32.dll_Ordinal_304]
cmp rdx, r13
je 0x14008200c
cmp qword [rdi + 0x298], r13
jne 0x140082004
add dword [rdx + 0x3c], ebp
jne 0x14008200c
mov rcx, rdi
call fcn.14004e45c
cmp byte [rbx + 0x104], 2
jae 0x140082024
mov rdx, qword [rbx + 0x140]
mov rcx, rdi
call fcn.14006bfac
mov rdx, qword [rbx + 0x180]
cmp rdx, r13
je 0x140082038
mov rcx, rdi
call fcn.140054184
mov rdx, qword [rbx + 0x118]
cmp rdx, r13
je 0x14008205f
jmp 0x140082057
mov rdx, qword [rbx + 0x88]
mov rax, qword [rdx]
mov qword [rbx + 0x88], rax
mov rcx, rdi
call fcn.1400169a8
cmp qword [rbx + 0x88], r13
jne 0x140082046
jmp 0x140082092
mov rdx, qword [rbx + 0x168]
mov rax, qword [rdx + 0x78]
mov qword [rbx + 0x168], rax
cmp qword [rdi + 0x298], r13
jne 0x14008208a
add dword [rdx + 0x3c], ebp
jne 0x140082092
mov rcx, rdi
call fcn.14004e45c
cmp qword [rbx + 0x168], r13
jne 0x14008206a
mov rcx, qword [rbx + 0xa0]
mov eax, esi
mov qword [rdi + 0x128], rcx
mov qword [rbx + 0xa0], r13
mov rbx, qword [rsp + 0xa10]
add rsp, 0x9c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret