Function at 0x101c810
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x448
mov qword [rsp + 0x430], 0xfffffffffffffffe
mov rax, qword [0x010657f0]
xor rax, rsp
mov qword [rsp + 0x438], rax
lea rax, [rsp + 0x3e8]
lea rcx, [0x01003350]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x2a
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x3e0], 0
cmp qword [rsp + 0x478], 0
je 0x101c898
mov rax, qword [rsp + 0x470]
mov eax, dword [rax + 0xbf8]
and eax, 1
mov rcx, qword [rsp + 0x478]
mov dword [rcx], eax
cmp qword [rsp + 0x480], 0
je 0x101c8be
mov rax, qword [rsp + 0x470]
mov eax, dword [rax + 0xbf8]
and eax, 2
mov rcx, qword [rsp + 0x480]
mov dword [rcx], eax
cmp qword [rsp + 0x488], 0
je 0x101c8e4
mov rax, qword [rsp + 0x470]
mov eax, dword [rax + 0xbf8]
and eax, 4
mov rcx, qword [rsp + 0x488]
mov dword [rcx], eax
lea r8, [rsp + 0x3e8]
xor edx, edx
mov rcx, qword [rsp + 0x460]
call fcn.01020940
test eax, eax
je 0x101cd11
mov rax, qword [rsp + 0x478]
cmp dword [rax], 0
jne 0x101c92e
mov rax, qword [rsp + 0x480]
cmp dword [rax], 0
jne 0x101c92e
mov rax, qword [rsp + 0x488]
cmp dword [rax], 0
je 0x101cd06
mov rax, qword [rsp + 0x460]
mov rdx, qword [rax + 0x18]
lea rcx, [rsp + 0x420]
call fcn.0101f880
nop
mov rdx, qword [rsp + 0x470]
lea rcx, [rsp + 0x420]
call fcn.0101f990
lea rdx, [0x01003030]
mov rcx, qword [rsp + 0x460]
call qword [sym.imp.SQLSVC.dll_QSQLExecDirect]
cmp eax, 1
jne 0x101ccd5
lea rax, [rsp + 0x418]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 4
mov r8d, 0xfffffff0
mov edx, 1
mov rcx, qword [rsp + 0x460]
call qword [sym.imp.SQLSVC.dll_QSQLBind]
lea rax, [rsp + 0x418]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
mov r9d, 0x108
mov r8d, 0xfffffff8
mov edx, 2
mov rcx, qword [rsp + 0x460]
call qword [sym.imp.SQLSVC.dll_QSQLBind]
lea rax, [rsp + 0x418]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x150]
mov qword [rsp + 0x20], rax
mov r9d, 4
mov r8d, 0xfffffff0
mov edx, 3
mov rcx, qword [rsp + 0x460]
call qword [sym.imp.SQLSVC.dll_QSQLBind]
lea rax, [rsp + 0x418]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x154]
mov qword [rsp + 0x20], rax
mov r9d, 0xd0
mov r8d, 0xfffffff8
mov edx, 4
mov rcx, qword [rsp + 0x460]
call qword [sym.imp.SQLSVC.dll_QSQLBind]
lea rax, [rsp + 0x418]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x224]
mov qword [rsp + 0x20], rax
mov r9d, 0xd0
mov r8d, 0xfffffff8
mov edx, 5
mov rcx, qword [rsp + 0x460]
call qword [sym.imp.SQLSVC.dll_QSQLBind]
lea rax, [rsp + 0x418]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x2f4]
mov qword [rsp + 0x20], rax
mov r9d, 0xd0
mov r8d, 0xfffffff8
mov edx, 6
mov rcx, qword [rsp + 0x460]
call qword [sym.imp.SQLSVC.dll_QSQLBind]
lea rax, [rsp + 0x418]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x3c4]
mov qword [rsp + 0x20], rax
mov r9d, 4
mov r8d, 0xfffffff0
mov edx, 7
mov rcx, qword [rsp + 0x460]
call qword [sym.imp.SQLSVC.dll_QSQLBind]
lea rax, [rsp + 0x418]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x3c8]
mov qword [rsp + 0x20], rax
mov r9d, 4
mov r8d, 0xfffffff0
mov edx, 8
mov rcx, qword [rsp + 0x460]
call qword [sym.imp.SQLSVC.dll_QSQLBind]
lea rax, [rsp + 0x418]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x3cc]
mov qword [rsp + 0x20], rax
mov r9d, 4
mov r8d, 0xfffffff0
mov edx, 9
mov rcx, qword [rsp + 0x460]
call qword [sym.imp.SQLSVC.dll_QSQLBind]
lea rax, [rsp + 0x418]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x3d0]
mov qword [rsp + 0x20], rax
mov r9d, 4
mov r8d, 0xfffffff0
mov edx, 0xa
mov rcx, qword [rsp + 0x460]
call qword [sym.imp.SQLSVC.dll_QSQLBind]
lea rax, [rsp + 0x418]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x3d4]
mov qword [rsp + 0x20], rax
mov r9d, 4
mov r8d, 0xfffffff0
mov edx, VariantTimeToDosDateTime
mov rcx, qword [rsp + 0x460]
call qword [sym.imp.SQLSVC.dll_QSQLBind]
lea rax, [rsp + 0x418]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x3d8]
mov qword [rsp + 0x20], rax
mov r9d, 4
mov r8d, 0xfffffff0
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov rcx, qword [rsp + 0x460]
call qword [sym.imp.SQLSVC.dll_QSQLBind]
lea rax, [rsp + 0x418]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x3dc]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8d, 0xfffffff0
mov edx, SQLFreeStmt
mov rcx, qword [rsp + 0x460]
call qword [sym.imp.SQLSVC.dll_QSQLBind]
mov r8d, 0x3a0
xor edx, edx
lea rcx, [rsp + 0x40]
call sub.MSVCR80.dll_memset
mov rcx, qword [rsp + 0x460]
call qword [sym.imp.SQLSVC.dll_QSQLNextRow]
cmp eax, 0xffffffff
jne 0x101ccb1
mov dword [rsp + 0x14c], 1
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x468]
call qword [sym.imp.SQLSVC.dll_SHRecMemAdd]
mov r8d, 0x3a0
xor edx, edx
lea rcx, [rsp + 0x40]
call sub.MSVCR80.dll_memset
jmp 0x101cc6c
mov rcx, qword [rsp + 0x460]
call qword [sym.imp.SQLSVC.dll_QSQLResults]
cmp eax, 1
je 0x101c97b
mov dword [rsp + 0x3e0], 1
jmp 0x101ccf7
mov rax, qword [rsp + 0x470]
add rax, 4
mov r9, rax
mov r8d, 0xd4
xor edx, edx
mov ecx, 1
call fcn.01033fa0
nop
lea rcx, [rsp + 0x420]
call fcn.0101f8b0
jmp 0x101cd11
mov dword [rsp + 0x3e0], 1
mov eax, dword [rsp + 0x3e0]
mov rcx, qword [rsp + 0x438]
xor rcx, rsp
call fcn.010588f0
add rsp, 0x448
pop rdi
pop rsi
ret