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

Disassembly:
mov qword [rsp + 0x18], r8
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x8c8]
sub rsp, 0x9c8
mov rbx, rcx
or r15d, 0xffffffff
xor ecx, ecx
mov r14, rdx
mov dword [rbp + 0x918], ecx
mov rdi, qword [rbx]
mov r13d, dword [rdi + 0x80]
cmp dword [rdi + 0xc8], ecx
jne 0x18007ea72
mov dword [rdi + 0x160], ecx
lea rax, [rsp + 0x50]
mov dword [rbx + 0x18], ecx
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x898]
mov qword [rbp + 0x8b0], rax
mov qword [rbx + 0x128], rdx
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], ecx
mov rax, qword [rdi + 0x128]
mov qword [rbx + 0xa0], rax
mov qword [rdi + 0x128], rbx
lea rdx, [rbp + 0x910]
mov rcx, r14
call fcn.18007e3f0
sub r13d, eax
mov r12d, eax
js 0x18007ec47
mov esi, dword [rbp + 0x910]
cmp esi, 0x9f
jl 0x18007ebe4
mov eax, dword [rdi + 0x160]
test eax, eax
jne 0x18007ec3e
mov eax, dword [rbp + 0x910]
cmp eax, 0xb1
jne 0x18007eb02
movsxd rax, r12d
add r14, rax
jmp 0x18007eab2
cmp byte [r14], 0
jne 0x18007eb33
xor r12d, r12d
cmp r15d, 1
jne 0x18007eb20
mov esi, r12d
mov dword [rbp + 0x910], r12d
jmp 0x18007ebe4
test r15d, r15d
je 0x18007ec71
mov esi, 1
jmp 0x18007ebde
cmp eax, 0x9f
jne 0x18007eb7b
lea rax, [r14 + 6]
lea rcx, [rbp + 0x928]
mov qword [rbp + 0x928], rax
call fcn.18007e37c
mov r15d, 0x3b
cmp eax, r15d
je 0x18007eb61
mov esi, r15d
jmp 0x18007ebde
lea rcx, [rbp + 0x928]
call fcn.18007e37c
cmp eax, 0x18
mov esi, 0x9f
cmovne esi, r15d
jmp 0x18007ebde
cmp eax, 0xa0
jne 0x18007ebaf
lea rax, [r14 + 4]
mov qword [rsp + 0x20], rax
cmp r15d, 0x17
jne 0x18007ebd9
lea rcx, [rsp + 0x20]
call fcn.18007e37c
cmp eax, 0x16
je 0x18007eba8
lea ecx, [r15 + 0x24]
cmp eax, ecx
jne 0x18007ebd9
mov esi, 0xa0
jmp 0x18007ebde
cmp eax, 0xa1
jne 0x18007ec27
lea rax, [r14 + 6]
mov qword [rsp + 0x28], rax
cmp r15d, 0x17
jne 0x18007ebd9
lea rcx, [rsp + 0x28]
call fcn.18007e37c
mov esi, 0xa1
cmp eax, 0x16
je 0x18007ebde
mov esi, 0x3b
mov dword [rbp + 0x910], esi
mov qword [rbx + 0xf0], r14
lea r8, [rsp + 0x30]
mov dword [rbx + 0xf8], r12d
lea rcx, [rsp + 0x40]
movups xmm0, xmmword [rbx + 0xf0]
mov edx, esi
movdqu xmmword [rsp + 0x30], xmm0
call fcn.18007e02c
movsxd rax, r12d
mov r15d, esi
add r14, rax
xor r12d, r12d
cmp dword [rbx + 0x18], r12d
jne 0x18007ec71
jmp 0x18007eab2
mov r9, r14
lea rdx, str.unrecognized_token:___.s_
mov r8d, r12d
mov rcx, rbx
call fcn.180018c50
jmp 0x18007ec4e
mov dword [rbx + 0x18], 9
jmp 0x18007ec4e
mov dword [rbx + 0x18], SQLAllocHandle
xor r12d, r12d
jmp 0x18007ec71
mov rax, rcx
sub rcx, 0x18
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x40]
movzx edx, word [rax + 2]
lea r8, [rax + 8]
call fcn.18007b4b8
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
cmp rcx, rax
ja 0x18007ec53
cmp byte [rdi + 0x61], r12b
je 0x18007ec8d
mov dword [rbx + 0x18], 7
mov ecx, dword [rbx + 0x18]
test ecx, ecx
je 0x18007ecba
cmp ecx, 0x65
je 0x18007ecba
cmp qword [rbx + 8], r12
jne 0x18007ecba
call fcn.180080130
mov r8, rax
lea rdx, [0x1801087a0]
mov rcx, rdi
call fcn.1800180b0
mov qword [rbx + 8], rax
mov r8, qword [rbx + 8]
test r8, r8
je 0x18007ecee
mov rax, qword [rbp + 0x920]
lea rdx, str._s_in___s_
mov r9, qword [rbx + 0x128]
mov ecx, dword [rbx + 0x18]
mov qword [rax], r8
call fcn.180018220
mov qword [rbx + 8], r12
mov esi, 1
jmp 0x18007ecf4
mov esi, dword [rbp + 0x918]
mov rcx, qword [rbx + 0x10]
mov qword [rbx + 0x128], r14
test rcx, rcx
je 0x18007ed19
cmp dword [rbx + 0x30], r12d
jle 0x18007ed19
cmp byte [rbx + 0x1e], r12b
jne 0x18007ed19
call fcn.180033b44
mov qword [rbx + 0x10], r12
mov rcx, qword [rbx + 0x160]
call fcn.1800163bc
or r14d, 0xffffffff
cmp byte [rbx + 0x104], r12b
jne 0x18007ed55
mov rdx, qword [rbx + reloc.WLDAP32.dll_Ordinal_304]
test rdx, rdx
je 0x18007ed55
cmp qword [rdi + 0x298], r12
jne 0x18007ed4d
add dword [rdx + 0x3c], r14d
jne 0x18007ed55
mov rcx, rdi
call fcn.18004cfa0
cmp byte [rbx + 0x104], 2
jae 0x18007ed6d
mov rdx, qword [rbx + 0x140]
mov rcx, rdi
call fcn.180069c0c
mov rdx, qword [rbx + 0x180]
test rdx, rdx
je 0x18007ed81
mov rcx, rdi
call fcn.1800529b4
mov rdx, qword [rbx + 0x118]
test rdx, rdx
je 0x18007eda8
jmp 0x18007eda0
mov rdx, qword [rbx + 0x88]
mov rax, qword [rdx]
mov qword [rbx + 0x88], rax
mov rcx, rdi
call fcn.180016414
cmp qword [rbx + 0x88], r12
jne 0x18007ed8f
jmp 0x18007eddc
mov rdx, qword [rbx + 0x168]
mov rax, qword [rdx + 0x78]
mov qword [rbx + 0x168], rax
cmp qword [rdi + 0x298], r12
jne 0x18007edd4
add dword [rdx + 0x3c], r14d
jne 0x18007eddc
mov rcx, rdi
call fcn.18004cfa0
cmp qword [rbx + 0x168], r12
jne 0x18007edb3
mov rcx, qword [rbx + 0xa0]
mov eax, esi
mov qword [rdi + 0x128], rcx
mov qword [rbx + 0xa0], r12
add rsp, 0x9c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret