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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x98
mov rsi, qword [rcx + 0x10]
xor eax, eax
mov r15, rdx
mov qword [rsp + 0x58], rax
mov rdi, rcx
mov dword [rsp + 0x4c], eax
xor r9d, r9d
mov dword [rsp + 0x50], eax
lea edx, [rax + 0x11]
mov qword [rsp + 0x80], rsi
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov rcx, rsi
mov r13b, al
mov r14d, eax
call fcn.1800315fc
mov rbx, qword [r15 + 0x20]
lea r10d, [r14 + 1]
mov rcx, qword [rsp + 0x100]
xor r12d, r12d
mov r8, qword [rsp + 0xf0]
movabs r11, 0x8000000000000000
mov dword [rsp + 0x68], eax
movsxd rax, dword [r15 + 0x14]
xor r15d, r15d
mov rdx, qword [rcx + 0x48]
lea ecx, [r14 + 3]
mov r9, qword [r8 + 0x20]
shl rax, 6
add rax, rbx
mov dword [rsp + 0xe0], r12d
mov qword [rsp + 0x60], r9
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x40], rdx
cmp rbx, rax
jae 0x1800724ce
jmp 0x18007239c
mov r14, qword [rsp + 0x58]
cmp qword [rdx], 0
mov rbp, qword [rbx]
jne 0x1800723e7
test byte [rbx + 0x12], 2
jne 0x1800723e7
test byte [rbp + 4], r10b
jne 0x1800723e7
mov r8d, dword [r8 + 0x44]
mov edx, ecx
mov rcx, rbp
call fcn.180043a9c
test eax, eax
je 0x1800723e7
mov rcx, qword [rdi]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
call fcn.180042c4c
mov r8, rax
mov rdx, r14
mov rcx, rdi
call fcn.1800427a0
mov qword [rsp + 0x58], rax
mov r8, qword [rsp + 0xf8]
mov rcx, rbx
mov rdx, qword [rsp + 0xf0]
call fcn.180072268
test eax, eax
je 0x18007249a
movsxd rcx, dword [rbx + 0x28]
mov r14d, 1
mov ebp, r14d
movabs rax, 0x8000000000000000
shl rbp, cl
cmp ecx, 0x40
cmovge rbp, rax
test r13b, r13b
jne 0x180072458
mov rax, rcx
lea rdx, str.automatic_index_on__s__s_
mov rcx, qword [rsp + 0x60]
shl rax, 5
mov r9, qword [rcx + 8]
mov r8, qword [rcx]
mov ecx, 0x11c
mov r9, qword [rax + r9]
call fcn.180018220
mov r13b, r14b
mov rdx, qword [rsp + 0x40]
test r15, rbp
jne 0x18007249f
mov rcx, qword [rdi]
lea r14d, [r12 + 1]
mov r8d, r14d
call fcn.180072d70
test eax, eax
jne 0x180072993
mov rdx, qword [rsp + 0x40]
or r15, rbp
movsxd rcx, r12d
mov r12d, r14d
mov dword [rsp + 0xe0], r14d
mov rax, qword [rdx + 0x38]
mov qword [rax + rcx*8], rbx
jmp 0x18007249f
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0xf0]
mov ecx, 3
add rbx, 0x40
lea r10d, [rcx - 2]
cmp rbx, qword [rsp + 0x70]
jb 0x180072397
mov r9, qword [rsp + 0x60]
movabs r11, 0x8000000000000000
not r15
mov word [rdx + 0x2c], r12w
or r15, r11
mov word [rdx + 0x18], r12w
mov dword [rdx + 0x28], 0x4241
mov ebp, 0x3f
and r15, qword [r8 + 0x58]
xor ecx, ecx
mov qword [rsp + 0x88], r15
cmp bp, word [r9 + 0x46]
jge 0x180072507
mov edx, ebp
mov dword [rsp + 0x48], edx
jmp 0x180072514
movsx edx, word [r9 + 0x46]
mov dword [rsp + 0x48], edx
test edx, edx
jle 0x18007252e
mov eax, ecx
bt r15, rax
jae 0x18007251f
add r12d, r10d
add ecx, r10d
cmp ecx, edx
jl 0x180072514
mov dword [rsp + 0xe0], r12d
test qword [r8 + 0x58], r11
je 0x180072548
movsx eax, word [r9 + 0x46]
add r12d, 0xffffffc1
add r12d, eax
mov dword [rsp + 0xe0], r12d
mov rcx, qword [rdi]
lea edx, [r10 + r12]
lea r9, [rsp + 0x78]
xor r8d, r8d
call fcn.1800504dc
mov r14, rax
test rax, rax
je 0x180072993
mov rax, qword [rsp + 0x40]
xor r13d, r13d
mov rbx, qword [rsp + 0xe8]
mov r10, qword [rsp + 0x60]
and qword [rsp + 0x78], r13
mov qword [rax + 0x20], r14
lea rax, str.auto_index
mov qword [r14], rax
mov qword [r14 + 0x18], r10
mov rbx, qword [rbx + 0x20]
cmp rbx, qword [rsp + 0x70]
jae 0x180072664
mov rbp, qword [rsp + 0x78]
xor r12d, r12d
mov r15, qword [rsp + 0x70]
xor esi, esi
mov r8, qword [rsp + 0xf8]
mov rcx, rbx
mov rdx, qword [rsp + 0xf0]
call fcn.180072268
test eax, eax
je 0x180072635
mov ecx, dword [rbx + 0x28]
mov eax, 1
shl rax, cl
cmp ecx, 0x40
movabs rcx, 0x8000000000000000
cmovge rax, rcx
test rbp, rax
jne 0x180072635
mov rdx, qword [rbx]
or rbp, rax
mov rcx, qword [r14 + 8]
movzx eax, word [rbx + 0x28]
mov word [rsi + rcx], ax
mov rcx, rdi
mov r8, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x10]
call fcn.180041ff0
test rax, rax
je 0x18007261b
mov rcx, qword [rax]
jmp 0x180072622
lea rcx, [0x1800eccf4]
mov rax, qword [r14 + 0x40]
inc r13d
add rsi, 2
mov qword [r12 + rax], rcx
add r12, 8
add rbx, 0x40
cmp rbx, r15
jb 0x1800725b2
mov rsi, qword [rsp + 0x80]
mov ebp, 0x3f
mov r15, qword [rsp + 0x88]
mov r12d, dword [rsp + 0xe0]
mov r10, qword [rsp + 0x60]
mov r9d, dword [rsp + 0x48]
lea rbx, [0x1800eccf4]
xor ecx, ecx
lea r11d, [rcx + 1]
test r9d, r9d
jle 0x1800726b5
movsxd rax, r13d
mov rdx, rax
shl rdx, 3
lea r8, [rax + rax]
mov eax, ecx
bt r15, rax
jae 0x1800726ad
mov rax, qword [r14 + 8]
add r13d, r11d
mov word [r8 + rax], cx
add r8, 2
mov rax, qword [r14 + 0x40]
mov qword [rdx + rax], rbx
add rdx, 8
add ecx, r11d
cmp ecx, r9d
jl 0x180072689
mov rax, qword [rsp + 0xf0]
movabs rcx, 0x8000000000000000
test qword [rax + 0x58], rcx
je 0x180072709
cmp bp, word [r10 + 0x46]
jge 0x180072709
movsxd rax, r13d
mov rcx, rax
shl rcx, 3
lea rdx, [rax + rax]
mov rax, qword [r14 + 8]
add r13d, r11d
mov word [rdx + rax], bp
add ebp, r11d
mov rax, qword [r14 + 0x40]
lea rdx, [rdx + 2]
mov qword [rcx + rax], rbx
lea rcx, [rcx + 8]
movsx eax, word [r10 + 0x46]
cmp ebp, eax
jl 0x1800726e2
mov rax, qword [r14 + 8]
lea r9d, [r12 + 1]
and dword [rsp + 0x20], 0
or edx, 0xffffffff
movsxd rcx, r13d
mov word [rax + rcx*2], dx
mov edx, reloc.ODBC32.dll_SQLExecDirectW
mov rax, qword [r14 + 0x40]
mov qword [rax + rcx*8], rbx
mov rcx, rsi
mov eax, dword [rdi + 0x34]
mov rbx, qword [rsp + 0x100]
mov dword [rbx + 8], eax
add dword [rdi + 0x34], r11d
mov r8d, dword [rbx + 8]
call fcn.1800315fc
mov rdx, r14
mov rcx, rdi
call fcn.180031f78
movzx eax, byte [rbx + 0x2c]
xor r9d, r9d
and dword [rsp + 0x20], 0
mov rcx, rsi
imul r15, rax, 0x70
mov rax, qword [rsp + 0xe8]
mov rax, qword [rax]
mov r12, qword [rax + 8]
mov eax, 0x10
test byte [r15 + r12 + 0x48], al
je 0x1800727c8
mov ebx, dword [r15 + r12 + 0x3c]
lea edx, [rax + 0x36]
xor r8d, r8d
call fcn.1800315fc
mov ecx, dword [r15 + r12 + 0x38]
xor r9d, r9d
mov dword [rsp + 0x20], ecx
mov r8d, ebx
mov rcx, rsi
mov dword [rsp + 0x50], eax
lea edx, [r9 + 0xd]
call fcn.1800315fc
and dword [rsp + 0x20], 0
mov r8d, ebx
xor r9d, r9d
mov rcx, rsi
lea edx, [r9 + 0xe]
jmp 0x1800727d1
mov r8d, dword [rbx + 4]
mov edx, reloc.WLDAP32.dll_Ordinal_36
call fcn.1800315fc
mov ebp, eax
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x18007280a
dec dword [rdi + 0x44]
mov r9d, 0x10
mov ecx, dword [rdi + 0x44]
mov rdx, rax
mov dword [rsp + 0x4c], ecx
mov r8d, ecx
mov rcx, rdi
call fcn.1800470fc
mov rax, qword [rsp + 0x40]
bts dword [rax + 0x28], 0x11
mov al, byte [rdi + 0x1f]
test al, al
jne 0x180072819
inc dword [rdi + 0x38]
mov ebx, dword [rdi + 0x38]
jmp 0x180072828
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov ebx, dword [rdi + rax*4 + 0xbc]
and dword [rsp + 0x38], 0
mov r9d, ebx
mov rcx, qword [rsp + 0x100]
mov rdx, r14
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov r8d, dword [rcx + 4]
mov rcx, rdi
call fcn.1800542c4
and dword [rsp + 0x20], 0
mov r14d, eax
mov rax, qword [rsp + 0x100]
mov r9d, ebx
mov edx, Ordinal_133
mov rcx, rsi
mov r8d, dword [rax + 8]
call fcn.1800315fc
movsxd rcx, dword [rsi + 0x90]
test ecx, ecx
jle 0x18007289d
lea r8, [rcx + rcx*2]
mov eax, 0x10
mov rcx, qword [rsi + 0x88]
mov word [rcx + r8*8 - 0x16], ax
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1800728b3
mov edx, dword [rsp + 0x4c]
mov rcx, rsi
call fcn.1800319f0
mov eax, 0x10
mov rcx, rsi
test byte [r15 + r12 + 0x48], al
je 0x180072914
mov edx, dword [rsp + 0x50]
lea r9d, [r14 + r13]
call fcn.180031fa4
mov rcx, qword [rsp + 0x100]
mov edx, ebp
mov dword [rax + 8], r9d
mov eax, dword [rcx + 8]
mov r8d, dword [rcx + 4]
mov rcx, rdi
mov r9d, dword [r15 + r12 + 0x40]
mov dword [rsp + 0x20], eax
call fcn.1800721c4
and dword [rsp + 0x20], 0
xor r8d, r8d
mov r9d, ebp
mov rcx, rsi
lea edx, [r8 + 0xb]
call fcn.1800315fc
and dword [r15 + r12 + 0x48], 0xffffffef
jmp 0x180072933
mov rax, qword [rsp + 0x100]
lea r9d, [rbp + 1]
and dword [rsp + 0x20], 0
mov edx, 5
mov r8d, dword [rax + 4]
call fcn.1800315fc
movsxd rax, dword [rsi + 0x90]
test eax, eax
jle 0x180072953
lea rcx, [rax + rax*2]
mov edx, 3
mov rax, qword [rsi + 0x88]
mov word [rax + rcx*8 - 0x16], dx
mov edx, ebp
mov rcx, rsi
call fcn.180031fa4
mov ecx, dword [rsi + 0x90]
mov dword [rax + 8], ecx
test ebx, ebx
je 0x18007297e
cmp byte [rdi + 0x1f], 8
jae 0x18007297e
movzx eax, byte [rdi + 0x1f]
mov dword [rdi + rax*4 + 0xbc], ebx
inc byte [rdi + 0x1f]
mov edx, dword [rsp + 0x68]
mov rcx, rsi
call fcn.180031fa4
mov ecx, dword [rsi + 0x90]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1800729a8
mov rcx, qword [rdi]
mov rdx, rax
call fcn.180042a88
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret