Function at 0x180009de0
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rbx
push rsi
push r14
lea rbp, [rsp - 0xab8]
sub rsp, 0xbb8
mov rax, qword [0x180065038]
xor rax, rsp
mov qword [rbp + 0xaa0], rax
mov qword [rsp + 0x60], r9
mov rsi, r8
mov rbx, rdx
mov r14, rcx
test rdx, rdx
jne 0x180009e7d
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], 0x408
lea rax, str.COrganizationManagerBase::getOrganization
lea rcx, [rbp + 0x2d0]
mov qword [rsp + 0x20], rax
lea r8d, [rdx - 1]
call fcn.18001f990
mov rax, qword [rbx]
lea r8, [rbp + 0x2d0]
xor r9d, r9d
mov rcx, rbx
lea edx, [r9 + 3]
call qword [rax + 0x1a8]
mov eax, 0xfffffff8
jmp 0x18000a35a
lea rax, [rsp + 0x60]
mov qword [rsp + 0xbb0], rdi
mov qword [rsp + 0x48], rax
xor edi, edi
lea rax, [r8 + 8]
mov dword [rsp + 0x40], 0x244
mov qword [rsp + 0x78], rax
lea rax, [r8 + 0x200]
mov qword [rbp - 0x68], rax
lea rax, [r8 + 0x550]
mov qword [rbp - 0x48], rax
lea rax, [r8 + 0x208]
mov qword [rbp - 0x28], rax
lea rax, [r8 + 0x21c]
mov qword [rbp - 8], rax
lea rax, [r8 + 0x424]
mov qword [rbp + 0x18], rax
lea rax, [r8 + 0x230]
mov qword [rbp + 0x38], rax
lea rax, [r8 + 0x488]
mov qword [rbp + 0x58], rax
lea rax, [r8 + 0x590]
mov qword [rbp + 0x78], rax
lea rax, [r8 + 0x578]
mov qword [rbp + 0x98], rax
lea rax, [r8 + 0x580]
mov qword [rbp + 0xb8], rax
lea rax, [r8 + 0x658]
mov qword [rbp + 0xd8], rax
lea rax, [r8 + 0x68a]
mov qword [rbp + 0xf8], rax
lea rax, [r8 + 0xaea]
mov qword [rbp + 0x118], rax
lea rax, [r8 + 0xb4e]
mov qword [rbp + 0x138], rax
mov dword [rsp + 0x50], 8
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x70], 0x1c4
mov dword [rbp - 0x80], 0x1f4
mov qword [rbp - 0x78], rdi
mov dword [rbp - 0x70], 0x244
mov dword [rbp - 0x60], 8
mov qword [rbp - 0x58], rdi
mov dword [rbp - 0x50], 0x244
mov dword [rbp - 0x40], 8
mov qword [rbp - 0x38], rdi
mov dword [rbp - 0x30], 0x1c4
mov dword [rbp - 0x20], 0x14
mov qword [rbp - 0x18], rdi
mov dword [rbp - 0x10], 0x1c4
mov dword [rbp], 0x14
mov qword [rbp + 8], rdi
mov dword [rbp + 0x10], 0x1c4
mov dword [rbp + 0x20], 0x64
mov qword [rbp + 0x28], rdi
mov dword [rbp + 0x30], 0x1c4
mov dword [rbp + 0x40], 0x1f4
mov qword [rbp + 0x48], rdi
mov dword [rbp + 0x50], 0x1c4
mov dword [rbp + 0x60], 0xc8
mov qword [rbp + 0x68], rdi
mov dword [rbp + 0x70], 0x1c4
mov dword [rbp + 0x80], 0xc8
mov qword [rbp + 0x88], rdi
mov dword [rbp + 0x90], 0x244
mov dword [rbp + 0xa0], 8
mov qword [rbp + 0xa8], rdi
mov dword [rbp + 0xb0], 0x244
mov dword [rbp + 0xc0], 8
mov qword [rbp + 0xc8], rdi
mov dword [rbp + 0xd0], 0x1c4
mov dword [rbp + 0xe0], 0x32
mov qword [rbp + 0xe8], rdi
mov dword [rbp + 0xf0], 0x1c4
mov dword [rbp + 0x100], 0x32
mov qword [rbp + 0x108], rdi
mov dword [rbp + 0x110], 0x1c4
mov dword [rbp + 0x120], 0x64
mov qword [rbp + 0x128], rdi
mov dword [rbp + 0x130], 0x1c4
mov dword [rbp + 0x140], 0x64
lea rax, [r8 + 0x6bc]
mov qword [rbp + 0x148], rdi
mov qword [rbp + 0x158], rax
mov rcx, rbx
lea rax, [r8 + 0x6ee]
mov dword [rbp + 0x150], 0x1c4
mov qword [rbp + 0x178], rax
lea rax, [r8 + 0x702]
mov qword [rbp + 0x198], rax
lea rax, [r8 + 0x588]
mov qword [rbp + 0x1b8], rax
lea rax, [r8 + 0xbb2]
mov qword [rbp + 0x1d8], rax
lea rax, [r8 + 0xc7a]
mov qword [rbp + 0x1f8], rax
lea rax, [r8 + 0xd48]
mov qword [rbp + 0x238], rax
lea rax, [r8 + 0xd50]
mov qword [rbp + 0x258], rax
lea rax, [r8 + 0xd58]
mov qword [rbp + 0x278], rax
lea rax, [r8 + 0xd5c]
mov qword [rbp + 0x298], rax
lea rax, [r8 + 0xd60]
mov qword [rbp + 0x2b8], rax
mov rax, qword [rdx]
mov dword [rbp + 0x160], 0x32
mov qword [rbp + 0x168], rdi
mov dword [rbp + 0x170], 0x1c4
mov dword [rbp + 0x180], 0x14
mov qword [rbp + 0x188], rdi
mov dword [rbp + 0x190], 0x1c4
mov dword [rbp + 0x1a0], 0x1f4
mov qword [rbp + 0x1a8], rdi
mov dword [rbp + 0x1b0], 0x244
mov dword [rbp + 0x1c0], 8
mov qword [rbp + 0x1c8], rdi
mov dword [rbp + 0x1d0], 0x1c4
mov dword [rbp + 0x1e0], 0xc8
mov qword [rbp + 0x1e8], rdi
mov dword [rbp + 0x1f0], 0x1c4
mov dword [rbp + 0x200], 0xc8
mov qword [rbp + 0x208], rdi
mov dword [rbp + 0x210], 0x244
mov qword [rbp + 0x218], rsi
mov dword [rbp + 0x220], 8
mov qword [rbp + 0x228], rdi
mov dword [rbp + 0x230], 0x244
mov dword [rbp + 0x240], 8
mov qword [rbp + 0x248], rdi
mov dword [rbp + 0x250], 0x244
mov dword [rbp + 0x260], 8
mov qword [rbp + 0x268], rdi
mov dword [rbp + 0x270], 0x1f0
mov dword [rbp + 0x280], 4
mov qword [rbp + 0x288], rdi
mov dword [rbp + 0x290], 0x1f0
mov dword [rbp + 0x2a0], 4
mov qword [rbp + 0x2a8], rdi
mov dword [rbp + 0x2b0], 0x1f0
mov dword [rbp + 0x2c0], 4
mov qword [rbp + 0x2c8], rdi
call qword [rax]
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x28], 0x1b
mov rcx, rax
mov qword [rsp + 0x20], rdx
lea r9d, [rdi + 1]
mov rax, qword [rax]
lea r8, [rsp + 0x40]
lea rdx, str.SELECT_NAME__MANAGER_id__DATE_REGISTER__PHONE__FAX__EMAIL__ADDRESS__ACTIVITY_SUBJECT_REGISTER_NUMBER__HAS_CHILD__PARENT_ID__REGISTER_ID__CODE__WS_CODE__TFN__LICENSE__POST__DETAIL__LOGO_ID__STATE__CITY__ID__INSURANCE_ACC__TAX_ACC__INSURANCE_D1__INSURANCE_D2__WORK_PLACE_STATUS_FROM_ORG_INFO_WHERE_ID____
call qword [rax + 0x48]
test al, al
jne 0x18000a320
mov rbx, qword [r14 + 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], 0x430
lea rax, str.COrganizationManagerBase::getOrganization
lea rcx, [rbp + 0x2d0]
mov qword [rsp + 0x20], rax
lea r8d, [rdx - 1]
call fcn.18001f990
mov rax, qword [rbx]
lea r8, [rbp + 0x2d0]
xor r9d, r9d
lea edx, [rdi + 3]
mov rcx, rbx
call qword [rax + 0x1a8]
lea eax, [rdi - 7]
jmp 0x18000a352
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 rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x60]
cmp qword [rsi], rdi
mov eax, 0xfffffffd
cmovle edi, eax
mov eax, edi
mov rdi, qword [rsp + 0xbb0]
mov rcx, qword [rbp + 0xaa0]
xor rcx, rsp
call fcn.180026320
add rsp, 0xbb8
pop r14
pop rsi
pop rbx
pop rbp
ret