Function at 0x180010110
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x900]
sub rsp, 0xa00
mov rax, qword [0x180065038]
xor rax, rsp
mov qword [rbp + 0x8f0], rax
mov rbx, r8
mov r12, rdx
mov rdi, rcx
mov qword [rbp - 0x78], rcx
mov qword [rbp - 0x30], r9
mov r13, qword [rbp + 0x960]
xor esi, esi
test rdx, rdx
je 0x18001061b
test rbx, rbx
js 0x18001061b
test r9, r9
jle 0x18001061b
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov r8d, 0x93
lea rdx, str.SELECT_ID_SEPARATED_COUNTER_ID_OPERATION_NUMBERING_ID_CREATION_DATE_REF_ID_VALUE_USAGE_DATE_STATUS_VALUE_CODE_FROM_ORG_COUNTER_VALUE_WHERE_VALUE_
lea rcx, [rbp - 0x50]
call fcn.18001e4c0
nop
test rbx, rbx
jle 0x1800103c7
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.18001fd60
nop
mov r8, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
sub rax, r8
lea r15d, [rsi + 0x1a]
lea r14, str._AND_SEPARATED_COUNTER_ID
cmp rax, r15
jb 0x180010251
lea rax, [r8 + 0x1a]
mov qword [rsp + 0x50], rax
lea rbx, [rsp + 0x40]
cmp rcx, 0x10
cmovae rbx, qword [rsp + 0x40]
lea rax, [0x18005c7c2]
cmp rax, rbx
jbe 0x180010210
lea rax, [rbx + r8]
cmp r14, rax
ja 0x180010210
cmp rbx, r14
ja 0x180010208
mov edi, esi
jmp 0x180010213
mov rdi, rbx
sub rdi, r14
jmp 0x180010213
mov rdi, r15
lea rcx, [rbx + 0x1a]
inc r8
mov rdx, rbx
call fcn.1800283c0
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call fcn.1800283c0
lea rcx, [rbx + rdi]
sub r15, rdi
lea rdx, [r14 + 0x1a]
add rdx, rdi
mov r8, r15
call fcn.1800283c0
lea rax, [rsp + 0x40]
mov rdi, qword [rbp - 0x78]
jmp 0x180010268
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
mov rdx, r15
lea rcx, [rsp + 0x40]
call fcn.18001d170
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 1
lea rdx, [0x18005c7a4]
lea rcx, [rsp + 0x60]
call fcn.18001fb90
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp - 0x70]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rdx, rcx
movq r8, xmm1
lea rcx, [rbp - 0x50]
call fcn.18001fb90
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x180010338
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010332
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180010650
call fcn.180026340
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x180010375
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010370
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180010656
call fcn.180026340
movdqa xmm0, xmmword [0x18005e420]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1800103dd
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800103c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001065c
call fcn.180026340
jmp 0x1800103dd
mov r8d, 0x21
lea rdx, str.AND_SEPARATED_COUNTER_ID_IS_NULL
lea rcx, [rbp - 0x50]
call fcn.18001fb90
mov dword [rbp - 0x28], 0x244
lea rax, [rbp - 0x30]
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x18], 8
mov qword [rbp - 0x10], rsi
mov dword [rbp], 0x244
mov qword [rbp + 8], r13
mov dword [rbp + 0x10], 8
mov qword [rbp + 0x18], rsi
mov dword [rbp + 0x20], 0x244
lea rax, [r13 + 8]
mov qword [rbp + 0x28], rax
mov dword [rbp + 0x30], 8
mov qword [rbp + 0x38], rsi
mov dword [rbp + 0x40], 0x244
lea rax, [r13 + 0x10]
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x50], 8
mov qword [rbp + 0x58], rsi
mov dword [rbp + 0x60], 0x244
lea rax, [r13 + 0x18]
mov qword [rbp + 0x68], rax
mov dword [rbp + 0x70], 8
mov qword [rbp + 0x78], rsi
mov dword [rbp + 0x80], 0x244
lea rax, [r13 + 0x30]
mov qword [rbp + 0x88], rax
mov dword [rbp + 0x90], 8
mov qword [rbp + 0x98], rsi
mov dword [rbp + 0xa0], 0x244
lea rax, [r13 + 0x20]
mov qword [rbp + 0xa8], rax
mov dword [rbp + 0xb0], 8
mov qword [rbp + 0xb8], rsi
mov dword [rbp + 0xc0], 0x244
lea rax, [r13 + 0x28]
mov qword [rbp + 0xc8], rax
mov dword [rbp + 0xd0], 8
mov qword [rbp + 0xd8], rsi
mov dword [rbp + 0xe0], 0x1f0
lea rax, [r13 + 0x38]
mov qword [rbp + 0xe8], rax
mov dword [rbp + 0xf0], 4
mov qword [rbp + 0xf8], rsi
mov dword [rbp + 0x100], 0x1c4
lea rax, [r13 + 0x3c]
mov qword [rbp + 0x108], rax
mov dword [rbp + 0x110], 0x64
mov qword [rbp + 0x118], rsi
mov rax, qword [r12]
mov rcx, r12
call qword [rax]
mov rcx, rax
mov rax, qword [rax]
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rdx, qword [rbp - 0x50]
mov dword [rsp + 0x28], 9
lea r8, [rbp]
mov qword [rsp + 0x20], r8
mov r9d, 1
lea r8, [rbp - 0x28]
call qword [rax + 0x48]
test al, al
jne 0x1800105b9
mov rbx, qword [rdi + 0x10]
lea rax, str.failed_query_to_get_counter_value_using_ref_id
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x876
lea rax, str.COrganizationManagerBase::getCounterValueWithValueInfo
mov qword [rsp + 0x20], rax
lea r9, str._s:_d__s.
mov edx, 0x7d0
lea r8d, [rdx - 1]
lea rcx, [rbp + 0x120]
call fcn.18001f990
mov rax, qword [rbx]
xor r9d, r9d
lea r8, [rbp + 0x120]
lea edx, [r9 + 3]
mov rcx, rbx
call qword [rax + 0x1a8]
mov esi, 0xfffffff9
jmp 0x1800105e0
mov rax, qword [r12]
mov rcx, r12
call qword [rax]
mov rcx, rax
mov rax, qword [rax]
xor edx, edx
call qword [rax + 0x50]
mov rax, qword [r12]
mov rcx, r12
call qword [rax]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x60]
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x180010617
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010612
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001064a
call fcn.180026340
mov eax, esi
jmp 0x180010620
mov eax, 0xfffffff8
mov rcx, qword [rbp + 0x8f0]
xor rcx, rsp
call fcn.180026320
mov rbx, qword [rsp + 0xa50]
add rsp, 0xa00
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.18002ce64
nop
call fcn.18002ce64
nop
call fcn.18002ce64
nop
call fcn.18002ce64
int3