Function at 0x180023870
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1698]
mov eax, 0x1798
call fcn.180026e30
sub rsp, rax
mov rax, qword [0x180065038]
xor rax, rsp
mov qword [rbp + 0x1680], rax
mov r14, r9
mov rdi, rdx
mov rbx, rcx
mov qword [rbp - 0x48], r8
xor esi, esi
mov dword [rsp + 0x40], esi
test rdx, rdx
jne 0x18000d2b8
mov rbx, qword [rcx + 0x10]
lea rax, str.failed
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x668
lea rax, str.COrganizationManagerBase::getUnitNameWithParent
mov qword [rsp + 0x20], rax
lea r9, str._s:_d__s.
mov edx, 0x7d0
lea r8d, [rdx - 1]
lea rcx, [rbp + 0xeb0]
call fcn.18001f990
mov rax, qword [rbx]
xor r9d, r9d
lea r8, [rbp + 0xeb0]
lea edx, [rdi + 3]
mov rcx, rbx
call qword [rax + 0x1a8]
lea eax, [rdi - 8]
jmp 0x18000d635
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
mov qword [rbp - 0x50], rsi
lea rcx, [rbp + 0xc0]
call fcn.18001f860
mov dword [rbp - 0x80], 0x244
lea rax, [rbp - 0x48]
mov qword [rbp - 0x78], rax
mov dword [rbp - 0x70], 8
mov qword [rbp - 0x68], rsi
mov dword [rbp + 0xe70], 0x244
lea rax, [rbp + 0xe0]
mov qword [rbp + 0xe78], rax
mov dword [rbp + 0xe80], 8
mov qword [rbp + 0xe88], rsi
mov dword [rbp + 0xe90], 0x1c4
lea rax, [rbp + 0x132]
mov qword [rbp + 0xe98], rax
mov dword [rbp + 0xea0], 0x1f4
mov qword [rbp + 0xea8], rsi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov rcx, rax
mov rax, qword [rax]
mov dword [rsp + 0x28], 2
lea rdx, [rbp + 0xe70]
mov qword [rsp + 0x20], rdx
mov r9d, 1
lea r8, [rbp - 0x80]
lea rdx, str.SELECT_PARENT_ID__NAME__FROM_ORG_UNITS_WHERE_ID____
call qword [rax + 0x48]
movabs r15, 0x95f7cc72d1b887e9
test al, al
jne 0x18000d3e5
mov rbx, qword [rbx + 0x10]
lea rax, str.failed_query_for_get_organization_unit
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x679
lea rax, str.COrganizationManagerBase::getUnitNameWithParent
mov qword [rsp + 0x20], rax
lea r9, str._s:_d__s.
mov edx, 0x7d0
lea r8d, [rdx - 1]
lea rcx, [rbp + 0xeb0]
call fcn.18001f990
mov rax, qword [rbx]
mov r9, rdi
lea r8, [rbp + 0xeb0]
mov edx, 3
mov rcx, rbx
call qword [rax + 0x1a8]
mov esi, 0xfffffff9
jmp 0x18000d5dc
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov rcx, rax
mov rax, qword [rax]
xor edx, edx
call qword [rax + 0x50]
test al, al
jne 0x18000d406
mov esi, 0xfffffffd
jmp 0x18000d5dc
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x60]
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x40]
call fcn.180028b30
lea rcx, [rbp - 0x40]
call fcn.18001f6f0
nop
mov r8, qword [rbp + 0xe0]
test r8, r8
jle 0x18000d4c2
lea r9, [rbp - 0x60]
mov rdx, rdi
mov rcx, rbx
call fcn.18000d150
mov rcx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x60]
sub rcx, r8
mov rax, r15
imul rcx
add rdx, rcx
sar rdx, 0xb
mov rcx, rdx
shr rcx, 0x3f
add rcx, rdx
dec ecx
cmp ecx, 0xffffffff
jle 0x18000d4c2
movsxd rax, ecx
imul rbx, rax, 0xda8
lea edi, [rcx + 1]
nop word [rax + rax]
lea rdx, [r8 + 0x72]
add rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.180015ce0
mov rcx, rax
lea rdx, [0x18005bb00]
call fcn.180015ce0
add rbx, 0xfffffffffffff258
sub rdi, 1
je 0x18000d4c2
mov r8, qword [rbp - 0x60]
jmp 0x18000d490
lea rdx, [rbp + 0x132]
lea rcx, [rbp - 0x30]
call fcn.180015ce0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x18005e420]
movdqu xmmword [rsp + 0x58], xmm1
mov byte [rsp + 0x48], 0
mov dword [rsp + 0x40], 2
movups xmmword [rsp + 0x68], xmm0
mov rcx, qword [rbp + 0x48]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x18000d528
mov rax, qword [rbp + 0x18]
mov r8, qword [rax]
test r8, r8
je 0x18000d528
mov rax, qword [rbp - 8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x40]
cmovb r8, qword [rbp + 0x40]
sub r8, rdx
jmp 0x18000d559
test cl, 4
jne 0x18000d54f
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax]
test rcx, rcx
je 0x18000d54f
mov rax, qword [rbp - 0x10]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x28]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x18000d559
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x18000d569
lea rcx, [rsp + 0x48]
call fcn.18001d770
nop
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rdx, qword [rsp + 0x48]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x18000d581
mov rcx, r14
call fcn.18001d770
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x18000d5d2
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000d5cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000d65a
call fcn.180026340
nop
lea rcx, [rbp - 0x40]
call fcn.18001d9a0
nop
mov r8, qword [rbp - 0x60]
test r8, r8
je 0x18000d633
mov rcx, qword [rbp - 0x50]
sub rcx, r8
mov rax, r15
imul rcx
add rdx, rcx
sar rdx, 0xb
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0xda8
mov rax, r8
cmp rdx, 0x1000
jb 0x18000d62b
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000d654
mov rcx, r8
call fcn.180026340
mov eax, esi
mov rcx, qword [rbp + 0x1680]
xor rcx, rsp
call fcn.180026320
add rsp, 0x1798
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.18002ce64
nop
call fcn.18002ce64
nop
add rcx, 8
jmp 0x18000d210