Function at 0x1400819c0
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 0x140081a05
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.140081340
sub r14d, eax
mov r13d, eax
js 0x140081bec
mov esi, dword [rsp + 0xa00]
cmp esi, 0x9f
jl 0x140081b88
mov eax, dword [rdi + 0x160]
test eax, eax
jne 0x140081be3
mov eax, dword [rsp + 0xa00]
cmp eax, 0xb1
jne 0x140081aa0
movsxd rax, r13d
add rbp, rax
jmp 0x140081a4d
cmp byte [rbp], 0
jne 0x140081ad2
xor r13d, r13d
cmp r12d, 1
jne 0x140081abf
mov esi, r13d
mov dword [rsp + 0xa00], r13d
jmp 0x140081b88
cmp r12d, r13d
je 0x140081bf6
mov esi, 1
jmp 0x140081b81
cmp eax, 0x9f
jne 0x140081b1d
lea rax, [rbp + 6]
lea rcx, [rsp + 0xa18]
mov qword [rsp + 0xa18], rax
call fcn.1400812c8
mov r12d, 0x3b
cmp eax, r12d
je 0x140081b02
mov esi, r12d
jmp 0x140081b81
lea rcx, [rsp + 0xa18]
call fcn.1400812c8
mov esi, 0x9f
cmp eax, 0x18
cmovne esi, r12d
jmp 0x140081b81
cmp eax, 0xa0
jne 0x140081b52
lea rax, [rbp + 4]
mov qword [rsp + 0x28], rax
cmp r12d, 0x17
jne 0x140081b7c
lea rcx, [rsp + 0x28]
call fcn.1400812c8
cmp eax, 0x16
je 0x140081b4b
lea ecx, [r12 + 0x24]
cmp eax, ecx
jne 0x140081b7c
mov esi, 0xa0
jmp 0x140081b81
cmp eax, 0xa1
jne 0x140081bcc
lea rax, [rbp + 6]
mov qword [rsp + 0x20], rax
cmp r12d, 0x17
jne 0x140081b7c
lea rcx, [rsp + 0x20]
call fcn.1400812c8
mov esi, 0xa1
cmp eax, 0x16
je 0x140081b81
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.140080f70
movsxd rax, r13d
xor r13d, r13d
add rbp, rax
mov r12d, esi
cmp dword [rbx + 0x18], r13d
jne 0x140081bf6
jmp 0x140081a4d
lea rdx, str.unrecognized_token:___.s_
mov r9, rbp
mov r8d, r13d
mov rcx, rbx
call fcn.140018ea8
jmp 0x140081bf3
mov dword [rbx + 0x18], 9
jmp 0x140081bf3
mov dword [rbx + 0x18], SQLAllocHandle
xor r13d, r13d
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
cmp rcx, rax
jbe 0x140081c32
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.14007dcd0
mov rcx, qword [rsp + 0x40]
lea r11, [rsp + 0x50]
cmp rcx, r11
ja 0x140081c05
cmp byte [rdi + 0x61], r13b
je 0x140081c3f
mov dword [rbx + 0x18], 7
mov ecx, dword [rbx + 0x18]
cmp ecx, r13d
je 0x140081c6d
cmp ecx, 0x65
je 0x140081c6d
cmp qword [rbx + 8], r13
jne 0x140081c6d
call fcn.140083050
lea rdx, [0x1400f1278]
mov rcx, rdi
mov r8, rax
call fcn.140018388
mov qword [rbx + 8], rax
mov r8, qword [rbx + 8]
cmp r8, r13
je 0x140081c9a
mov r9, qword [rbx + 0x128]
mov ecx, dword [rbx + 0x18]
lea rdx, str._s_in___s_
mov qword [r15], r8
call fcn.1400184ec
mov qword [rbx + 8], r13
mov esi, 1
jmp 0x140081ca1
mov esi, dword [rsp + 0xa08]
mov rcx, qword [rbx + 0x10]
mov qword [rbx + 0x128], rbp
cmp rcx, r13
je 0x140081cc6
cmp dword [rbx + 0x30], r13d
jle 0x140081cc6
cmp byte [rbx + 0x1e], r13b
jne 0x140081cc6
call fcn.1400345a4
mov qword [rbx + 0x10], r13
mov rcx, qword [rbx + 0x160]
call fcn.140016640
or ebp, 0xffffffff
cmp byte [rbx + 0x104], r13b
jne 0x140081d00
mov rdx, qword [rbx + reloc.WLDAP32.dll_Ordinal_304]
cmp rdx, r13
je 0x140081d00
cmp qword [rdi + 0x298], r13
jne 0x140081cf8
add dword [rdx + 0x3c], ebp
jne 0x140081d00
mov rcx, rdi
call fcn.14004e150
cmp byte [rbx + 0x104], 2
jae 0x140081d18
mov rdx, qword [rbx + 0x140]
mov rcx, rdi
call fcn.14006bca0
mov rdx, qword [rbx + 0x180]
cmp rdx, r13
je 0x140081d2c
mov rcx, rdi
call fcn.140053e78
mov rdx, qword [rbx + 0x118]
cmp rdx, r13
je 0x140081d53
jmp 0x140081d4b
mov rdx, qword [rbx + 0x88]
mov rax, qword [rdx]
mov qword [rbx + 0x88], rax
mov rcx, rdi
call fcn.140016698
cmp qword [rbx + 0x88], r13
jne 0x140081d3a
jmp 0x140081d86
mov rdx, qword [rbx + 0x168]
mov rax, qword [rdx + 0x78]
mov qword [rbx + 0x168], rax
cmp qword [rdi + 0x298], r13
jne 0x140081d7e
add dword [rdx + 0x3c], ebp
jne 0x140081d86
mov rcx, rdi
call fcn.14004e150
cmp qword [rbx + 0x168], r13
jne 0x140081d5e
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