Function at 0x180020c40
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xca0]
sub rsp, 0xda0
mov rax, qword [0x180065038]
xor rax, rsp
mov qword [rbp + 0xc90], rax
mov r14, r9
mov r15, rdx
mov rbx, rcx
mov qword [rbp - 0x70], r8
test rdx, rdx
jne 0x180020ce0
mov rbx, qword [rcx + 0x18]
lea rax, str.failed
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x79
lea rax, str.COrganizationAPI::getWorkShops
mov qword [rsp + 0x20], rax
lea r9, str._s:_d__s.
mov edx, 0x7d0
lea r8d, [rdx - 1]
lea rcx, [rbp + 0x4c0]
call fcn.18001f990
mov rax, qword [rbx]
xor r9d, r9d
lea r8, [rbp + 0x4c0]
lea edx, [r15 + 3]
mov rcx, rbx
call qword [rax + 0x1a8]
lea eax, [r15 - 8]
jmp 0x18002122e
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x60], xmm0
xor edx, edx
mov r8d, 0x1f4
lea rcx, [rbp - 0x50]
call fcn.180028b30
xor edx, edx
mov r8d, 0x1f4
lea rcx, [rbp + 0x1a4]
call fcn.180028b30
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x398], xmm0
movups xmmword [rbp + 0x3a8], xmm0
movups xmmword [rbp + 0x3b8], xmm0
movups xmmword [rbp + 0x3c8], xmm0
movups xmmword [rbp + 0x3d8], xmm0
movups xmmword [rbp + 0x3e8], xmm0
mov qword [rbp + 0x3f8], rax
mov dword [rsp + 0x70], 0x244
lea rax, [rbp - 0x70]
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x80], 8
xor edi, edi
mov qword [rbp - 0x78], rdi
mov dword [rbp + 0x400], 0x244
lea rax, [rbp - 0x60]
mov qword [rbp + 0x408], rax
mov dword [rbp + 0x410], 8
mov qword [rbp + 0x418], rdi
mov dword [rbp + 0x420], 0x244
lea rax, [rbp - 0x58]
mov qword [rbp + 0x428], rax
mov dword [rbp + 0x430], 8
mov qword [rbp + 0x438], rdi
mov dword [rbp + 0x440], 0x1c4
lea rax, [rbp - 0x50]
mov qword [rbp + 0x448], rax
mov dword [rbp + 0x450], 0x1f4
mov qword [rbp + 0x458], rdi
mov dword [rbp + 0x460], 0x1c4
lea rax, [rbp + 0x1a4]
mov qword [rbp + 0x468], rax
mov dword [rbp + 0x470], 0x1f4
mov qword [rbp + 0x478], rdi
mov dword [rbp + 0x480], 0x1f0
lea rax, [rbp + 0x3fc]
mov qword [rbp + 0x488], rax
mov dword [rbp + 0x490], 4
mov qword [rbp + 0x498], rdi
mov dword [rbp + 0x4a0], 0x1c4
lea rax, [rbp + 0x398]
mov qword [rbp + 0x4a8], rax
mov dword [rbp + 0x4b0], 0x64
mov qword [rbp + 0x4b8], rdi
mov rax, qword [r15]
mov rcx, r15
call qword [rax]
mov rcx, rax
mov rax, qword [rax]
mov dword [rsp + 0x28], 6
lea rdx, [rbp + 0x400]
mov qword [rsp + 0x20], rdx
lea r9d, [rdi + 1]
lea r8, [rsp + 0x70]
lea rdx, str.SELECT_ID__ORG_ID__NAME__ADDRESS__IS_DEFAULT__WS_CODE_FROM_ORG_WORK_SHOP_WHERE_ORG_ID_
call qword [rax + 0x48]
test al, al
jne 0x180020eea
mov rbx, qword [rbx + 0x18]
lea rax, str.failed_query_for_get_ORG_WORK_SHOP
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x8a
lea rax, str.COrganizationAPI::getWorkShops
mov qword [rsp + 0x20], rax
lea r9, str._s:_d__s.
mov edx, 0x7d0
lea r8d, [rdx - 1]
lea rcx, [rbp + 0x4c0]
call fcn.18001f990
mov rax, qword [rbx]
mov r9, r15
lea r8, [rbp + 0x4c0]
lea edx, [rdi + 3]
mov rcx, rbx
call qword [rax + 0x1a8]
mov edi, 0xfffffff9
jmp 0x18002122c
mov rax, qword [r15]
mov rcx, r15
call qword [rax]
mov rcx, rax
mov rax, qword [rax]
xor edx, edx
call qword [rax + 0x50]
test al, al
je 0x18002121b
movabs r12, 0x387f1e0387f1e0
nop
lea rcx, [rbp + 0x4c0]
lea rax, [rbp - 0x60]
mov edx, 8
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rdx, 1
jne 0x180020f20
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
mov rsi, qword [r14]
mov rax, qword [rsi + 8]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], edi
mov rcx, rsi
mov rdx, qword [rbp - 0x60]
cmp byte [rax + 0x19], 0
jne 0x180020fe9
nop dword [rax]
mov qword [rsp + 0x40], rax
cmp qword [rax + 0x20], rdx
jge 0x180020fd5
mov dword [rsp + 0x48], edi
mov rax, qword [rax + 0x10]
jmp 0x180020fe3
mov dword [rsp + 0x48], 1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180020fc0
cmp byte [rcx + 0x19], 0
jne 0x180020ff5
cmp rdx, qword [rcx + 0x20]
jge 0x180021070
cmp qword [r14 + 8], r12
je 0x18002124f
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], rdi
mov ecx, 0x488
call fcn.180026348
mov rbx, rax
mov rax, qword [rbp - 0x60]
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rdi
mov qword [rbx + 0x30], rdi
mov dword [rbx + 0x484], edi
lea rcx, [rbx + 0x38]
xor edx, edx
mov r8d, 0x44c
call fcn.180028b30
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
mov word [rbx + 0x18], 0
mov qword [rsp + 0x68], rdi
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x40], xmm0
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.1800169e0
mov rcx, rax
lea rax, [rcx + 0x28]
lea rcx, [rbp + 0x4c0]
mov edx, 8
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rax - 0x10], xmm1
lea rcx, [rcx + 0x80]
sub rdx, 1
jne 0x180021080
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x4c0], xmm0
mov r8d, 0x1f4
lea rcx, [rbp + 0x4d0]
call fcn.180028b30
xor edx, edx
mov r8d, 0x1f4
lea rcx, [rbp + 0x6c4]
call fcn.180028b30
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x8b8], xmm0
movups xmmword [rbp + 0x8c8], xmm0
movups xmmword [rbp + 0x8d8], xmm0
movups xmmword [rbp + 0x8e8], xmm0
movups xmmword [rbp + 0x8f8], xmm0
movups xmmword [rbp + 0x908], xmm0
mov qword [rbp + 0x918], rax
lea rax, [rbp - 0x60]
lea rcx, [rbp + 0x4c0]
mov edx, 8
nop word [rax + rax]
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rax - 0x10], xmm1
lea rcx, [rcx + 0x80]
sub rdx, 1
jne 0x180021180
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
mov rax, qword [r15]
mov rcx, r15
call qword [rax]
mov rcx, rax
mov rax, qword [rax]
xor edx, edx
call qword [rax + 0x50]
test al, al
jne 0x180020f10
mov rdx, qword [r15]
mov rcx, r15
call qword [rdx]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x60]
mov eax, edi
mov rcx, qword [rbp + 0xc90]
xor rcx, rsp
call fcn.180026320
add rsp, 0xda0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.180018030
int3