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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xc8
mov rax, qword [0x140132020]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rax, qword [rdx]
xor r9d, r9d
mov rbx, qword [rcx + 0x10]
mov rsi, rcx
mov rcx, qword [rcx]
mov rdi, rdx
mov r14, qword [rdx + 0x20]
mov r15d, dword [rax]
mov rax, qword [rdx + 0x48]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], r8
mov dword [rsp + 0x50], r9d
mov dword [rsp + 0x54], r9d
cmp byte [rcx + 0xa9], r9b
jne 0x14007f179
cmp byte [rsi + 0x1da], r9b
jne 0x14007f179
mov r10, qword [rcx + 0x190]
test r10, r10
je 0x14007f179
mov rax, qword [rsi + 0x218]
lea edx, [r9 + 0x21]
mov rcx, qword [rcx + 0x198]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r9
call r10
mov ebp, eax
cmp eax, 1
jne 0x14007f153
lea rdx, str.not_authorized
mov rcx, rsi
call fcn.140009e20
mov dword [rsi + 0x18], 0x17
jmp 0x14007f171
test eax, 0xfffffffd
je 0x14007f171
lea rdx, str.authorizer_malfunction
mov rcx, rsi
mov ebp, 1
call fcn.140009e20
mov dword [rsi + 0x18], ebp
test ebp, ebp
jne 0x14007f8a7
mov qword [rsp + 0x118], r12
mov rcx, rbx
mov qword [rsp + 0xc0], r13
call fcn.14002cb60
mov r8d, eax
mov rdx, rdi
mov rcx, rsi
mov r13d, eax
call fcn.14007ea60
mov rax, qword [rdi + 0x58]
xor r10d, r10d
mov r9, qword [rdi + 0x40]
mov edx, r10d
mov qword [rsp + 0x78], rax
mov rax, qword [rdi + 0x60]
mov qword [rsp + 0x80], rax
mov eax, dword [rdi + 0x10]
mov dword [rsp + 0x64], eax
mov eax, dword [rdi + 0x14]
mov qword [rdi + 0x10], r10
mov qword [rdi + 0x60], r10
mov qword [rdi + 0x58], r10
movsxd r8, dword [r14]
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x58], r9
test r8, r8
jle 0x14007f21b
mov ecx, r10d
lea rax, [r14 + 0x48]
nop
test byte [rax], 0x20
jne 0x14007f208
inc edx
inc rcx
add rax, 0x78
cmp rcx, r8
jl 0x14007f1f0
mov r8d, r10d
jmp 0x14007f21e
movsxd rax, edx
imul rcx, rax, 0x78
mov r8d, dword [rcx + r14 + 0x50]
mov dword [rsp + 0x50], r8d
jmp 0x14007f21e
mov r8d, edx
mov ebp, dword [rsi + 0x34]
lea eax, [rbp + 1]
mov dword [rsi + 0x34], eax
cmp byte [rdi + 8], 0x73
jne 0x14007f248
test r9, r9
mov dword [rsp + 0x54], eax
mov ecx, 6
mov edx, 8
cmovne ecx, edx
inc eax
mov dword [rsi + 0x34], eax
jmp 0x14007f258
test r9, r9
mov ecx, 5
mov eax, 7
cmovne ecx, eax
inc dword [rsi + 0x38]
mov r12d, dword [rsi + 0x38]
mov byte [rsp + 0x88], cl
mov dword [rsp + 0x98], ebp
mov qword [rsp + 0x90], r10
mov qword [rsp + 0x9c], r10
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x14007f2ac
mov r9d, r12d
mov dword [rsp + 0x20], r15d
mov edx, 0x6e
mov rcx, rbx
call fcn.14002c4b0
mov r9, qword [rsp + 0x58]
xor r10d, r10d
jmp 0x14007f2dc
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x6e
mov byte [rax + rcx*8 + 3], r10b
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r10
test r9, r9
je 0x14007f3dd
mov rdx, rdi
mov rcx, rsi
call fcn.14007eeb0
mov r15, qword [rsp + 0x58]
xor r9d, r9d
mov rcx, qword [rbx + 0x18]
mov r14, rax
movsxd rdx, dword [rbx + 0xb8]
mov r8d, dword [r15]
add r8d, 2
cmp dword [rcx + 0x3c], edx
jg 0x14007f32e
mov dword [rsp + 0x20], r9d
mov edx, 0x6b
mov r9d, r8d
mov rcx, rbx
mov r8d, ebp
call fcn.14002c4b0
mov edx, eax
jmp 0x14007f35d
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x6b
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov rcx, qword [rbx]
cmp byte [rcx + 0x55], 0
je 0x14007f383
mov r8, r14
mov edx, 0xfffffffa
call fcn.14002d250
xor r10d, r10d
mov qword [rsp + 0xa8], r15
jmp 0x14007f43e
test edx, edx
jns 0x14007f38f
mov edx, dword [rbx + 0xb8]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x14007f3c3
mov r9d, 0xfffffffa
mov r8, r14
mov rcx, rbx
call fcn.14002d570
xor r10d, r10d
mov qword [rsp + 0xa8], r15
jmp 0x14007f43e
test r14, r14
je 0x14007f3d0
mov qword [rdx + 0x10], r14
mov byte [rdx + 1], 0xfa
mov qword [rsp + 0xa8], r15
xor r10d, r10d
jmp 0x14007f43e
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x14007f40a
mov r9d, r15d
mov dword [rsp + 0x20], r10d
mov r8d, ebp
mov edx, 0x6b
mov rcx, rbx
call fcn.14002c4b0
xor r10d, r10d
jmp 0x14007f439
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x6b
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], r10
mov r15, qword [rsp + 0x58]
mov edx, dword [rsp + 0x54]
test edx, edx
je 0x14007f4ad
mov rax, qword [rbx + 0x18]
movsxd r9, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], r9d
jg 0x14007f476
xor r9d, r9d
mov dword [rsp + 0x20], r10d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x6b]
call fcn.14002c4b0
mov r9d, eax
xor r10d, r10d
jmp 0x14007f4a5
lea rcx, [r9 + r9*2]
lea eax, [r9 + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x6b
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r10
mov dword [rdi + 0x18], r9d
or dword [rdi + 0xc], 0x20
mov r14, qword [rsp + 0x68]
lea r8, [rsp + 0x88]
mov qword [rdi + 0x40], r10
mov rdx, r14
mov rcx, rsi
mov qword [r14 + 0x50], r10
call fcn.140085830
mov qword [r14 + 0x50], rdi
test eax, eax
jne 0x14007f86d
mov rax, qword [rbx + 0x18]
movsxd r14, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], r14d
jg 0x14007f50d
xor r9d, r9d
mov r8d, ebp
mov dword [rsp + 0x20], r9d
mov edx, 0x39
mov r9d, r13d
mov rcx, rbx
call fcn.14002c4b0
mov r14d, eax
xor r8d, r8d
jmp 0x14007f540
lea rcx, [r14 + r14*2]
xor r8d, r8d
lea eax, [r14 + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x39
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x14007f56e
xor r9d, r9d
mov dword [rsp + 0x20], r8d
mov r8d, dword [rsp + 0x50]
mov rcx, rbx
lea edx, [r9 + 0x7c]
call fcn.14002c4b0
xor r8d, r8d
jmp 0x14007f5a0
mov edx, dword [rsp + 0x50]
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x7c
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r8
movsxd rcx, dword [rbx + 0xb8]
mov rax, qword [rbx + 0x18]
test r15, r15
je 0x14007f5fc
mov edx, dword [r15]
inc edx
cmp dword [rax + 0x3c], ecx
jg 0x14007f5d7
mov r9d, edx
mov dword [rsp + 0x20], r12d
mov edx, 0x60
mov r8d, ebp
mov rcx, rbx
call fcn.14002c4b0
xor r12d, r12d
jmp 0x14007f650
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8 + 0xc], r12d
xor r12d, r12d
mov word [rax + rcx*8], 0x60
mov dword [rax + rcx*8 + 8], edx
jmp 0x14007f642
cmp dword [rax + 0x3c], ecx
jg 0x14007f61e
mov dword [rsp + 0x20], r8d
mov r9d, r12d
mov r8d, ebp
mov edx, 0x7a
mov rcx, rbx
call fcn.14002c4b0
xor r12d, r12d
jmp 0x14007f650
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8 + 8], r12d
xor r12d, r12d
mov dword [rax + rcx*8 + 0xc], r12d
mov word [rax + rcx*8], 0x7a
mov qword [rax + rcx*8 + 0x10], r12
mov dword [rax + rcx*8 + 4], ebp
mov byte [rax + rcx*8 + 3], 0
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x14007f679
xor r9d, r9d
mov dword [rsp + 0x20], r12d
mov r8d, ebp
mov rcx, rbx
lea edx, [r9 + 0x75]
call fcn.14002c4b0
jmp 0x14007f6a7
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x75
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebp
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r12
mov rcx, rbx
call fcn.14002cb60
mov r8d, dword [rsp + 0x60]
mov ebp, eax
test r8d, r8d
jle 0x14007f717
mov rcx, qword [rbx + 0x18]
movsxd rdx, dword [rbx + 0xb8]
cmp dword [rcx + 0x3c], edx
jg 0x14007f6e5
mov r9d, eax
mov dword [rsp + 0x20], 1
mov edx, 0x42
mov rcx, rbx
call fcn.14002c4b0
jmp 0x14007f717
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x42
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], 1
mov qword [rax + rcx*8 + 0x10], r12
mov rax, qword [rsp + 0x70]
mov rdx, rdi
mov r9d, dword [rsp + 0x50]
mov rcx, rsi
mov r8, qword [rdi]
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x38], ebp
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call fcn.14007b2b0
mov edx, dword [rsp + 0x64]
test edx, edx
je 0x14007f7a8
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x14007f779
mov r8d, edx
mov dword [rsp + 0x20], r12d
mov edx, 0x44
mov r9d, r13d
mov rcx, rbx
call fcn.14002c4b0
jmp 0x14007f7a8
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x44
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r12
mov rax, qword [rbx + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x14007f7c3
mov eax, dword [rbx + 0xb8]
not ebp
movsxd rcx, ebp
mov dword [rdx + rcx*4], eax
test byte [rdi + 0xc], 8
mov rcx, rsi
je 0x14007f7da
lea rdx, str.recursive_aggregate_queries_not_supported
call fcn.140009e20
jmp 0x14007f7f7
lea r8, [rsp + 0x88]
mov qword [rdi + 0x48], r12
mov rdx, rdi
call fcn.140085830
mov rax, qword [rsp + 0x68]
mov qword [rdi + 0x48], rax
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x14007f820
xor r8d, r8d
mov dword [rsp + 0x20], r12d
mov r9d, r14d
mov rcx, rbx
lea edx, [r8 + 0xd]
call fcn.14002c4b0
jmp 0x14007f850
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0xd
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r12
mov rax, qword [rbx + 0x18]
mov r8, qword [rax + 0x58]
test r8, r8
je 0x14007f86d
mov eax, dword [rbx + 0xb8]
not r13d
movsxd rdx, r13d
mov dword [r8 + rdx*4], eax
mov rdx, qword [rdi + 0x40]
mov r13, qword [rsp + 0xc0]
mov r12, qword [rsp + 0x118]
test rdx, rdx
je 0x14007f88e
mov rcx, qword [rsi]
call fcn.140046bb0
mov rax, qword [rsp + 0x78]
mov qword [rdi + 0x58], rax
mov rax, qword [rsp + 0x80]
mov qword [rdi + 0x60], rax
mov qword [rdi + 0x40], r15
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400d6240
add rsp, 0xc8
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret