joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180005f40
Capabilities:
Reference sql statements

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x890
mov rax, qword [0x180065038]
xor rax, rsp
mov qword [rsp + 0x880], rax
mov dword [rsp + 0x70], 0x244
lea rax, [r11 + 0x28]
mov qword [rsp + 0x78], r8
mov rbx, rcx
xor ecx, ecx
mov dword [rsp + 0x80], 8
mov qword [r11 - 0x820], rcx
mov rsi, r9
mov dword [rsp + 0x90], 0x244
mov rdi, rdx
mov qword [r11 - 0x810], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
mov rax, qword [rdx]
mov dword [rsp + 0xa0], 8
mov qword [rsp + 0x60], rcx
mov qword [r11 - 0x800], rcx
mov qword [rsp + 0x58], rcx
mov rcx, rdx
mov dword [rsp + 0x40], 0x244
mov dword [rsp + 0x50], 8
call qword [rax]
mov dword [rsp + 0x28], 1
lea r8, [rsp + 0x70]
mov r9d, 2
lea rdx, str.SELECT_COUNT___FROM_ORG_UNITS_u_JOIN_ORG_ORGANIZATION_UNIT_ou_ON_ou.UNIT_ID__u.ID__WHERE_u.PARENT_ID__and_ou.ORG_ID_
mov rcx, qword [rax]
mov r10, qword [rcx + 0x48]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call r10
test al, al
jne 0x180006076
mov rbx, qword [rbx + 0x10]
lea rax, str.failed_query_for_get_units_count
mov qword [rsp + 0x30], rax
lea r9, str._s:_d__s.
mov edx, 0x7d0
mov dword [rsp + 0x28], 0x168
lea rax, str.COrganizationManagerBase::getUnitsOfParentCount
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
lea r8d, [rdx - 1]
call fcn.18001f990
mov rax, qword [rbx]
lea r8, [rsp + 0xb0]
mov r9, rdi
mov edx, 3
mov rcx, rbx
call qword [rax + 0x1a8]
mov eax, 0xfffffff9
jmp 0x1800060a3
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
xor edx, edx
mov rcx, rax
mov r8, qword [rax]
call qword [r8 + 0x50]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x60]
mov eax, dword [rsp + 0x60]
mov dword [rsi], eax
xor eax, eax
mov rcx, qword [rsp + 0x880]
xor rcx, rsp
call fcn.180026320
add rsp, 0x890
pop rdi
pop rsi
pop rbx
ret
Function at 0x180009550
Capabilities:
Reference sql statements

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x850
mov rax, qword [0x180065038]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
jne 0x1800095db
mov rbx, qword [rcx + 0x10]
lea rax, str.failed
mov qword [rsp + 0x30], rax
lea r9, str._s:_d__s.
mov edx, 0x7d0
mov dword [rsp + 0x28], 0x3be
lea rax, str.COrganizationManagerBase::getOrganizationsCount
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r8d, [rdx - 1]
call fcn.18001f990
mov rax, qword [rbx]
lea r8, [rsp + 0x70]
xor r9d, r9d
mov rcx, rbx
lea edx, [r9 + 3]
call qword [rax + 0x1a8]
mov eax, 0xfffffff8
jmp 0x1800096c3
xor ecx, ecx
mov dword [rsp + 0x48], 0x244
lea rax, [rsp + 0x40]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rdx]
mov qword [rsp + 0x60], rcx
mov rcx, rbx
mov dword [rsp + 0x58], 8
call qword [rax]
mov dword [rsp + 0x28], 1
lea rdx, str.SELECT_COUNT___FROM_ORG_INFO_WHERE_PARENT_ID__0
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rax]
mov r10, qword [rcx + 0x48]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call r10
test al, al
jne 0x180009696
mov rbx, qword [rdi + 0x10]
lea rax, str.failed_query_for_select_Organization
mov qword [rsp + 0x30], rax
lea r9, str._s:_d__s.
mov edx, 0x7d0
mov dword [rsp + 0x28], 0x3c5
lea rax, str.COrganizationManagerBase::getOrganizationsCount
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r8d, [rdx - 1]
call fcn.18001f990
mov rax, qword [rbx]
lea r8, [rsp + 0x70]
xor r9d, r9d
mov rcx, rbx
lea edx, [r9 + 3]
call qword [rax + 0x1a8]
mov eax, 0xfffffff9
jmp 0x1800096c3
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
xor edx, edx
mov rcx, rax
mov r8, qword [rax]
call qword [r8 + 0x50]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x60]
mov eax, dword [rsp + 0x40]
mov dword [rsi], eax
xor eax, eax
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.180026320
add rsp, 0x850
pop rdi
pop rsi
pop rbx
ret
Function at 0x18000a380
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x2f]
sub rsp, 0xf0
mov rax, qword [0x180065038]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rbx, rdx
mov rsi, rcx
test r9, r9
jne 0x18000a3bc
xor al, al
jmp 0x18000a555
lea rax, [rbp + 0x6f]
mov qword [rbp - 0x39], rax
mov dword [rbp - 0x41], 0x244
mov dword [rbp - 0x31], 8
xor r14d, r14d
mov qword [rbp - 0x29], r14
lea rax, [rbp + 0x77]
mov qword [rbp - 0x19], rax
mov dword [rbp - 0x21], 0x244
mov dword [rbp - 0x11], 8
mov qword [rbp - 9], r14
lea edi, [r14 + 2]
mov qword [rbp - 0x71], r14
mov dword [rsp + 0x30], 0x244
lea rax, [rbp - 0x71]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], 8
mov qword [rbp - 0x79], r14
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x59], xmm1
xor r8d, r8d
lea rdx, [0x18005d450]
lea rcx, [rbp - 0x69]
call fcn.18001e4c0
nop
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x18000a479
mov qword [rbp + 7], rcx
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x18000a450
mov dword [rbp + 0xf], eax
mov dword [rbp - 1], 0x1c4
mov qword [rbp + 0x17], r14
mov edi, 3
lea rdx, str.SELECT_COUNT___FROM_ORG_UNITS_u_JOIN_ORG_ORGANIZATION_UNIT_ou_ON_ou.UNIT_ID__u.ID_WHERE_u.ID___AND_ou.ORG_ID__AND_u.NAME__
lea r8d, [rdi + 0x7d]
jmp 0x18000a486
lea rdx, str.SELECT_COUNT___FROM_ORG_UNITS_u_JOIN_ORG_ORGANIZATION_UNIT_ou_ON_ou.UNIT_ID__u.ID_WHERE_u.ID___AND_ou.ORG_ID_
mov r8d, 0x72
lea rcx, [rbp - 0x69]
call fcn.18001d770
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov rcx, qword [rax]
mov r10, qword [rcx + 0x48]
lea rdx, [rbp - 0x69]
cmp qword [rbp - 0x51], 0x10
cmovae rdx, qword [rbp - 0x69]
mov dword [rsp + 0x28], 1
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
mov r9d, edi
lea r8, [rbp - 0x41]
mov rcx, rax
call r10
test al, al
jne 0x18000a4eb
mov rcx, qword [rsi + 0x10]
mov rax, qword [rcx]
mov r9, rbx
lea r8, str.failed_query_for_select_personnel
mov edx, 1
call qword [rax + 0x1a8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov rdx, qword [rax]
mov r8, qword [rdx + 0x50]
xor edx, edx
mov rcx, rax
call r8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x60]
cmp qword [rbp - 0x71], 0
setg bl
mov rdx, qword [rbp - 0x51]
cmp rdx, 0x10
jb 0x18000a552
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000a54d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000a56f
call fcn.180026340
movzx eax, bl
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.180026320
add rsp, 0xf0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.18002ce64
int3
add rcx, 8
jmp 0x18000a380
Function at 0x18000aec0
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x3b0]
sub rsp, 0x4b0
mov rax, qword [0x180065038]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov rdi, r8
mov rbx, rdx
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x78], r9
xor esi, esi
xorps xmm0, xmm0
test r8, r8
jne 0x18000af21
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rsi
mov qword [rdx + 0x18], rsi
lea rdx, [0x18005d450]
mov rcx, rbx
call fcn.18001e4c0
jmp 0x18000b063
movdqa xmmword [rbp + 0x380], xmm0
mov qword [rbp + 0x390], rsi
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x80], xmm1
mov qword [rbp - 0x70], rsi
xor edx, edx
mov r8d, 0x3e8
lea rcx, [rbp - 0x68]
call fcn.180028b30
mov rcx, qword [rbp + 0x388]
cmp qword [rbp + 0x380], rcx
cmovne rcx, qword [rbp + 0x380]
mov qword [rbp + 0x388], rcx
mov dword [rsp + 0x58], 0x244
lea rax, [rsp + 0x78]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 8
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x38], 0x1c4
lea rax, [rbp - 0x68]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x3e8
mov qword [rsp + 0x50], rsi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov rcx, qword [rax]
mov r10, qword [rcx + 0x48]
mov dword [rsp + 0x28], 1
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
mov r9d, 1
lea r8, [rsp + 0x58]
lea rdx, str.SELECT_NAME_FROM_ORG_SKILL_WHERE_ID____
mov rcx, rax
call r10
test al, al
jne 0x18000affe
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
xor r8d, r8d
lea rdx, [0x18005d450]
jmp 0x18000b04e
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov rdx, qword [rax]
mov r8, qword [rdx + 0x50]
xor edx, edx
mov rcx, rax
call r8
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x60]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
lea rax, [rbp - 0x68]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x18000b040
lea rdx, [rbp - 0x68]
mov rcx, rbx
call fcn.18001e4c0
nop
lea rcx, [rbp + 0x380]
call fcn.18001d560
mov rax, rbx
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.180026320
mov rbx, qword [rsp + 0x4d0]
add rsp, 0x4b0
pop rdi
pop rsi
pop rbp
ret
Function at 0x18000cee0
Capabilities:
Reference sql statements

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x950
mov rax, qword [0x180065038]
xor rax, rsp
mov qword [rsp + 0x930], rax
mov qword [rsp + 0x80], r8
mov rbx, r9
mov rdi, rdx
mov r14, rcx
test rdx, rdx
je 0x18000d0e9
cmp dword [rsp + 0x990], 0
je 0x18000d0e9
test rbx, rbx
je 0x18000d0e9
xor edx, edx
mov qword [rsp + 0x948], rbp
mov r8d, 0xc8
lea rcx, [rsp + 0x90]
call fcn.180028b30
lea rax, [rsp + 0x80]
mov dword [rsp + 0x60], 0x244
mov qword [rsp + 0x68], rax
xor ebp, ebp
lea rax, [rsp + 0x90]
mov dword [rsp + 0x70], 8
mov qword [rsp + 0x48], rax
mov rcx, rdi
mov rax, qword [rdi]
mov qword [rsp + 0x78], rbp
mov dword [rsp + 0x40], 0x1c4
mov dword [rsp + 0x50], 0xc8
mov qword [rsp + 0x58], rbp
call qword [rax]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x28], 1
mov rcx, rax
mov qword [rsp + 0x20], rdx
lea r9d, [rbp + 1]
mov rax, qword [rax]
lea r8, [rsp + 0x60]
lea rdx, str.SELECT_NAME_FROM_ORG_POSITION_WHERE_ID____
call qword [rax + 0x48]
test al, al
jne 0x18000d04f
mov rbx, qword [r14 + 0x10]
lea rax, str.failed_query_for_get_positions
mov qword [rsp + 0x30], rax
lea r9, str._s:_d__s.
mov edx, 0x7d0
mov dword [rsp + 0x28], 0x642
lea rax, str.COrganizationManagerBase::getPositionName
lea rcx, [rsp + 0x160]
mov qword [rsp + 0x20], rax
lea r8d, [rdx - 1]
call fcn.18001f990
mov rax, qword [rbx]
lea r8, [rsp + 0x160]
mov r9, rdi
lea edx, [rbp + 3]
mov rcx, rbx
call qword [rax + 0x1a8]
lea eax, [rbp - 7]
mov rbp, qword [rsp + 0x948]
mov rcx, qword [rsp + 0x930]
xor rcx, rsp
call fcn.180026320
add rsp, 0x950
pop r14
pop rdi
pop rbx
ret
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov rcx, rax
xor edx, edx
mov rax, qword [rax]
call qword [rax + 0x50]
test al, al
jne 0x18000d06d
mov ebp, 0xfffffffd
jmp 0x18000d0d1
movsxd rdx, dword [rsp + 0x990]
lea rcx, [rsp + 0x90]
dec rdx
add rdx, rbx
cmp rbx, rdx
jae 0x18000d0a4
nop dword [rax + rax]
movzx eax, byte [rcx]
mov byte [rbx], al
test al, al
je 0x18000d0d1
inc rbx
inc rcx
cmp rbx, rdx
jb 0x18000d090
movzx eax, byte [rcx]
lea rdx, [0x18005e2f0]
cmp byte [rax + rdx], bpl
jmp 0x18000d0cc
movzx ecx, byte [rbx - 1]
lea rbx, [rbx - 1]
cmp byte [rcx + rdx], bpl
jl 0x18000d0c0
mov byte [rbx], bpl
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx]
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x60]
mov eax, ebp
jmp 0x18000d02b
mov rbx, qword [rcx + 0x10]
lea rax, str.failed
mov qword [rsp + 0x30], rax
lea r9, str._s:_d__s.
mov edx, 0x7d0
mov dword [rsp + 0x28], 0x634
lea rax, str.COrganizationManagerBase::getPositionName
lea rcx, [rsp + 0x160]
mov qword [rsp + 0x20], rax
lea r8d, [rdx - 1]
call fcn.18001f990
mov rax, qword [rbx]
lea r8, [rsp + 0x160]
xor r9d, r9d
mov rcx, rbx
lea edx, [r9 + 3]
call qword [rax + 0x1a8]
mov eax, 0xfffffff8
jmp 0x18000d033
add rcx, 8
jmp 0x18000cee0
Function at 0x180020610
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f]
sub rsp, 0xc0
mov rax, qword [0x180065038]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov qword [rbp - 0x19], r8
mov rbx, rdx
mov qword [rbp - 0x11], r9
test r8, r8
je 0x180020788
test r9, r9
je 0x180020788
mov eax, dword [rbp + 0x7f]
test eax, eax
je 0x180020788
xor edx, edx
mov dword [rbp - 1], 0x244
mov dword [rbp - 0x21], edx
lea rcx, [rbp - 0x19]
mov qword [rbp + 7], rcx
lea rcx, [rbp - 0x11]
mov qword [rbp + 0x27], rcx
lea rcx, [rbp - 0x21]
mov qword [rbp - 0x39], rcx
mov dword [rbp + 0xf], 8
mov qword [rbp + 0x17], rdx
mov dword [rbp + 0x1f], 0x244
mov dword [rbp + 0x2f], 8
mov qword [rbp + 0x37], rdx
mov dword [rbp - 0x41], 0x1f0
mov dword [rbp - 0x31], 4
mov qword [rbp - 0x29], rdx
cmp eax, 4
jne 0x180020784
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov dword [rsp + 0x28], 1
lea r8, [rbp - 1]
mov r9d, 2
lea rdx, str.SELECT_COUNT___FROM_ORG_UNITS_WHERE_INSURANCE_ACC__AND_ORGANIZATIN_ID_
mov rcx, qword [rax]
mov r10, qword [rcx + 0x48]
lea rcx, [rbp - 0x41]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call r10
test al, al
je 0x180020788
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
xor edx, edx
mov rcx, rax
mov r8, qword [rax]
call qword [r8 + 0x50]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x60]
cmp dword [rbp - 0x21], 0
jg 0x180020788
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov dword [rsp + 0x28], 1
lea r8, [rbp - 1]
mov r9d, 2
lea rdx, str.SELECT_COUNT___FROM_ORG_UNITS_WHERE_TAX_ACC__AND_ORGANIZATIN_ID_
mov rcx, qword [rax]
mov r10, qword [rcx + 0x48]
lea rcx, [rbp - 0x41]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call r10
test al, al
je 0x180020788
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
xor edx, edx
mov rcx, rax
mov r8, qword [rax]
call qword [r8 + 0x50]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x60]
cmp dword [rbp - 0x21], 0
jg 0x180020788
xor al, al
jmp 0x18002078a
mov al, 1
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.180026320
mov rbx, qword [rsp + 0xd0]
add rsp, 0xc0
pop rbp
ret
Function at 0x180022360
Capabilities:
Reference sql statements

Disassembly:
add rcx, 8
jmp fcn.180004500
Function at 0x180022380
Capabilities:
Reference sql statements

Disassembly:
add rcx, 8
jmp fcn.180005390

Function at 0x180022390
Capabilities:
Reference sql statements

Disassembly:
add rcx, 8
jmp fcn.180005f40

Function at 0x1800223a0
Capabilities:
Reference sql statements

Disassembly:
add rcx, 8
jmp fcn.180009550

Function at 0x1800223b0
Capabilities:
Reference sql statements

Disassembly:
add rcx, 8
jmp fcn.1800096e0
Function at 0x180022510
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x2f]
sub rsp, 0xf0
mov rax, qword [0x180065038]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rbx, rdx
mov rsi, rcx
test r9, r9
jne 0x18000a3bc
xor al, al
jmp 0x18000a555
lea rax, [rbp + 0x6f]
mov qword [rbp - 0x39], rax
mov dword [rbp - 0x41], 0x244
mov dword [rbp - 0x31], 8
xor r14d, r14d
mov qword [rbp - 0x29], r14
lea rax, [rbp + 0x77]
mov qword [rbp - 0x19], rax
mov dword [rbp - 0x21], 0x244
mov dword [rbp - 0x11], 8
mov qword [rbp - 9], r14
lea edi, [r14 + 2]
mov qword [rbp - 0x71], r14
mov dword [rsp + 0x30], 0x244
lea rax, [rbp - 0x71]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], 8
mov qword [rbp - 0x79], r14
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x59], xmm1
xor r8d, r8d
lea rdx, [0x18005d450]
lea rcx, [rbp - 0x69]
call fcn.18001e4c0
nop
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x18000a479
mov qword [rbp + 7], rcx
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x18000a450
mov dword [rbp + 0xf], eax
mov dword [rbp - 1], 0x1c4
mov qword [rbp + 0x17], r14
mov edi, 3
lea rdx, str.SELECT_COUNT___FROM_ORG_UNITS_u_JOIN_ORG_ORGANIZATION_UNIT_ou_ON_ou.UNIT_ID__u.ID_WHERE_u.ID___AND_ou.ORG_ID__AND_u.NAME__
lea r8d, [rdi + 0x7d]
jmp 0x18000a486
lea rdx, str.SELECT_COUNT___FROM_ORG_UNITS_u_JOIN_ORG_ORGANIZATION_UNIT_ou_ON_ou.UNIT_ID__u.ID_WHERE_u.ID___AND_ou.ORG_ID_
mov r8d, 0x72
lea rcx, [rbp - 0x69]
call fcn.18001d770
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov rcx, qword [rax]
mov r10, qword [rcx + 0x48]
lea rdx, [rbp - 0x69]
cmp qword [rbp - 0x51], 0x10
cmovae rdx, qword [rbp - 0x69]
mov dword [rsp + 0x28], 1
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
mov r9d, edi
lea r8, [rbp - 0x41]
mov rcx, rax
call r10
test al, al
jne 0x18000a4eb
mov rcx, qword [rsi + 0x10]
mov rax, qword [rcx]
mov r9, rbx
lea r8, str.failed_query_for_select_personnel
mov edx, 1
call qword [rax + 0x1a8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov rdx, qword [rax]
mov r8, qword [rdx + 0x50]
xor edx, edx
mov rcx, rax
call r8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x60]
cmp qword [rbp - 0x71], 0
setg bl
mov rdx, qword [rbp - 0x51]
cmp rdx, 0x10
jb 0x18000a552
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000a54d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000a56f
call fcn.180026340
movzx eax, bl
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.180026320
add rsp, 0xf0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.18002ce64
int3
add rcx, 8
jmp 0x18000a380
Function at 0x180022520
Capabilities:
Reference sql statements

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x950
mov rax, qword [0x180065038]
xor rax, rsp
mov qword [rsp + 0x930], rax
mov qword [rsp + 0x40], r8
mov rbx, r9
mov rdi, rdx
mov rbp, rcx
test r8, r8
jne 0x180022557
xor eax, eax
jmp 0x1800226eb
mov qword [rsp + 0x948], rsi
mov esi, dword [rsp + 0x990]
dec esi
cmp esi, 0xc6
ja 0x1800226e1
xor edx, edx
lea rcx, [rsp + 0x90]
mov r8d, 0xc8
call fcn.180028b30
lea rax, [rsp + 0x40]
mov dword [rsp + 0x68], 0x244
mov qword [rsp + 0x70], rax
mov rcx, rdi
lea rax, [rsp + 0x90]
mov dword [rsp + 0x78], 8
mov qword [rsp + 0x50], rax
mov rax, qword [rdi]
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x48], 0x1c4
mov dword [rsp + 0x58], 0xc8
mov qword [rsp + 0x60], 0
call qword [rax]
mov dword [rsp + 0x28], 1
lea r8, [rsp + 0x68]
mov r9d, 1
lea rdx, str.SELECT_NAME_FROM_ORG_INFO_WHERE_ID_
mov rcx, qword [rax]
mov r10, qword [rcx + 0x48]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call r10
test al, al
jne 0x180022675
mov rbx, qword [rbp + 0x18]
lea rax, str.failed_query_for_select_Organization
mov qword [rsp + 0x30], rax
lea r9, str._s:_d__s.
mov edx, 0x7d0
mov dword [rsp + 0x28], 0x496
lea rax, str.COrganizationManagerBase::organizationNameGet
lea rcx, [rsp + 0x160]
mov qword [rsp + 0x20], rax
lea r8d, [rdx - 1]
call fcn.18001f990
mov rax, qword [rbx]
lea r8, [rsp + 0x160]
xor r9d, r9d
mov rcx, rbx
lea edx, [r9 + 3]
call qword [rax + 0x1a8]
mov eax, 0xfffffff9
jmp 0x1800226e3
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
xor edx, edx
mov rcx, rax
mov r8, qword [rax]
call qword [r8 + 0x50]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x60]
movsxd rdx, esi
lea rcx, [rsp + 0x90]
dec rdx
add rdx, rbx
cmp rbx, rdx
jae 0x1800226c4
movzx eax, byte [rcx]
mov byte [rbx], al
test al, al
je 0x1800226e1
inc rbx
inc rcx
cmp rbx, rdx
jb 0x1800226b0
movzx eax, byte [rcx]
lea rcx, [0x18005e2f0]
jmp 0x1800226d8
movzx eax, byte [rbx - 1]
lea rbx, [rbx - 1]
cmp byte [rax + rcx], 0
jl 0x1800226d0
mov byte [rbx], 0
xor eax, eax
mov rsi, qword [rsp + 0x948]
mov rcx, qword [rsp + 0x930]
xor rcx, rsp
call fcn.180026320
add rsp, 0x950
pop rdi
pop rbp
pop rbx
ret
Function at 0x180022af0
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x870
mov rax, qword [0x180065038]
xor rax, rsp
mov qword [rsp + 0x860], rax
mov rbx, rcx
mov rdi, rdx
xor ecx, ecx
test rdx, rdx
jne 0x180022b23
mov eax, ecx
jmp 0x180022c44
mov qword [rsp + 0x80], rcx
mov rax, 0xffffffffffffffff
mov dword [rsp + 0x60], 0x1c4
mov qword [rsp + 0x68], r8
nop
inc rax
cmp byte [r8 + rax], cl
jne 0x180022b40
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], rax
mov rax, qword [rdx]
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x58], rcx
mov rcx, rdi
mov dword [rsp + 0x40], 0x244
mov dword [rsp + 0x50], 8
call qword [rax]
mov dword [rsp + 0x28], 1
lea r8, [rsp + 0x60]
mov r9d, 1
lea rdx, str.SELECT_ID_FROM_ORG_POSITION_WHERE_NAME____
mov rcx, qword [rax]
mov r10, qword [rcx + 0x48]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call r10
test al, al
jne 0x180022c17
mov rbx, qword [rbx + 0x18]
lea rax, str.failed_query_for_get_position_name
mov qword [rsp + 0x30], rax
lea r9, str._s:_d__s.
mov edx, 0x7d0
mov dword [rsp + 0x28], 0x60e
lea rax, str.COrganizationManagerBase::getPositionId
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea r8d, [rdx - 1]
call fcn.18001f990
mov rax, qword [rbx]
lea r8, [rsp + 0x90]
mov r9, rdi
mov edx, 3
mov rcx, rbx
call qword [rax + 0x1a8]
mov rax, 0xfffffffffffffff9
jmp 0x180022c44
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
xor edx, edx
mov rcx, rax
mov r8, qword [rax]
call qword [r8 + 0x50]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x60]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.180026320
mov rbx, qword [rsp + 0x898]
add rsp, 0x870
pop rdi
ret
Function at 0x180022c70
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x3f]
sub rsp, 0xe0
mov rax, qword [0x180065038]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rbx, rdx
mov qword [rbp - 0x41], r9
mov rdx, qword [rbp + 0x7f]
mov rdi, rcx
xor ecx, ecx
mov qword [rbp - 0x29], rdx
mov qword [rbp - 0x51], rcx
mov rax, 0xffffffffffffffff
mov qword [rbp - 0x49], r8
mov dword [rbp - 0x31], 0x1c4
inc rax
cmp byte [rdx + rax], cl
jne 0x180022cb8
mov dword [rbp - 0x21], eax
lea rax, [rbp - 0x49]
mov qword [rbp - 9], rax
lea rax, [rbp - 0x41]
mov qword [rbp + 0x17], rax
lea rax, [rbp - 0x51]
mov qword [rbp - 0x69], rax
mov rax, qword [rbx]
mov qword [rbp - 0x19], rcx
mov qword [rbp + 7], rcx
mov qword [rbp + 0x27], rcx
mov qword [rbp - 0x59], rcx
mov rcx, rbx
mov dword [rbp - 0x11], 0x244
mov dword [rbp - 1], 8
mov dword [rbp + 0xf], 0x244
mov dword [rbp + 0x1f], 8
mov dword [rbp - 0x71], 0x244
mov dword [rbp - 0x61], 8
call qword [rax]
mov dword [rsp + 0x28], 1
lea r8, [rbp - 0x31]
mov r9d, 3
lea rdx, str.SELECT_COUNT___FROM_ORG_POSITION_WHERE_NAME____AND_ID_____AND_ORG_ID_____
mov rcx, qword [rax]
mov r10, qword [rcx + 0x48]
lea rcx, [rbp - 0x71]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call r10
test al, al
jne 0x180022d6c
mov rcx, qword [rdi + 0x18]
lea r8, str.failed_query_for_check_position_exist
mov r9, rbx
mov edx, 1
mov rax, qword [rcx]
call qword [rax + 0x1a8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
xor edx, edx
mov rcx, rax
mov r8, qword [rax]
call qword [r8 + 0x50]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x60]
cmp qword [rbp - 0x51], 0
setg al
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.180026320
add rsp, 0xe0
pop rdi
pop rbx
pop rbp
ret