Function at 0x104d640
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x68d8
call fcn.0105ee40
sub rsp, rax
mov rax, qword [0x010657f0]
xor rax, rsp
mov qword [rsp + 0x68c0], rax
lea rax, [rsp + 0x4948]
lea rcx, [0x0100bd80]
mov rdi, rax
mov rsi, rcx
mov ecx, gethostbyname
rep movsb byte [rdi], byte [rsi]
movzx eax, word [0x01001c38]
mov word [rsp + 0x60], ax
lea rax, [rsp + 0x62]
mov rdi, rax
xor eax, eax
mov ecx, 0x3fe
rep stosb byte [rdi], al
movzx eax, word [0x01001c38]
mov word [rsp + 0x66a0], ax
lea rax, [rsp + 0x66a2]
mov rdi, rax
xor eax, eax
mov ecx, 0x1fe
rep stosb byte [rdi], al
movzx eax, word [0x01001c38]
mov word [rsp + 0x470], ax
lea rax, [rsp + 0x472]
mov rdi, rax
xor eax, eax
mov ecx, 0xffe
rep stosb byte [rdi], al
movzx eax, word [0x01001c38]
mov word [rsp + 0x5590], ax
lea rax, [rsp + 0x5592]
mov rdi, rax
xor eax, eax
mov ecx, 0xffe
rep stosb byte [rdi], al
movzx eax, word [0x01001c38]
mov word [rsp + 0x20d0], ax
lea rax, [rsp + 0x20d2]
mov rdi, rax
xor eax, eax
mov ecx, 0x7fe
rep stosb byte [rdi], al
movzx eax, word [0x01001c38]
mov word [rsp + 0x2930], ax
lea rax, [rsp + 0x2932]
mov rdi, rax
xor eax, eax
mov ecx, 0x2000
rep stosb byte [rdi], al
movzx eax, word [0x01001c38]
mov word [rsp + 0x65a0], ax
lea rax, [rsp + 0x65a2]
mov rdi, rax
xor eax, eax
mov ecx, 0xfe
rep stosb byte [rdi], al
mov qword [rsp + 0x2920], 0
mov dword [rsp + 0x1480], 0
mov dword [rsp + 0x147c], 0
mov dword [rsp + 0x28dc], 0
mov dword [rsp + 0x1474], 0
mov dword [rsp + 0x1478], 0
mov dword [rsp + 0x28d8], 0
mov dword [rsp + 0x2918], 0
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x2910], 0
mov dword [rsp + 0x4940], 0
mov dword [rsp + 0x659c], 0
mov dword [rsp + 0x460], 0
mov dword [rsp + 0x291c], 0
mov dword [rsp + 0x28d4], 0
mov dword [rsp + 0x2914], 0
mov dword [rsp + 0x6598], 0
mov dword [rsp + 0x28d0], 0
mov dword [rsp + 0x1470], 0
mov qword [rsp + 0x6590], 0
mov rdx, qword [rsp + 0x68f0]
lea rcx, [0x0100bd40]
call fcn.01052e60
cmp qword [rsp + 0x68f0], 0
je 0x104d883
mov rax, qword [rsp + 0x68f0]
movzx eax, word [rax]
test eax, eax
je 0x104d883
cmp dword [0x01068600], 0
je 0x104d88a
xor eax, eax
jmp 0x104e716
lea rdx, [0x0100b0f0]
lea rcx, [rsp + 0x14c0]
call fcn.01020890
lea r8, [rsp + 0x4948]
mov edx, 1
lea rcx, [rsp + 0x14c0]
call fcn.01020940
test eax, eax
jne 0x104d8c5
xor eax, eax
jmp 0x104e716
mov dword [rsp + 0x1474], 1
lea r9, [0x01005848]
mov r8, qword [rsp + 0x68f0]
lea rdx, [rsp + 0x4980]
lea rcx, [rsp + 0x14c0]
call fcn.01051cc0
test eax, eax
je 0x104e480
mov r8d, 0xa
mov edx, 0x1c
lea rcx, [rsp + 0x1488]
call qword [sym.imp.SQLSVC.dll_SHRecMemInit]
cmp dword [0x01068604], 0
jne 0x104da49
cmp dword [0x0106714c], 0
jne 0x104da49
mov r9d, 0x200
lea r8, [rsp + 0x60]
mov edx, 0x18f
mov rcx, qword [0x01068158]
call qword [sym.imp.USER32.dll_LoadStringW]
lea rax, [0x0100bd30]
mov qword [rsp + 0x20], rax
lea r9, [0x01001bbc]
lea r8, [rsp + 0x60]
mov edx, 0x1001
lea rcx, [rsp + 0x2930]
call fcn.01015ef0
lea rax, [rsp + 0x2930]
mov qword [rsp + 0x20], rax
lea r9, [0x0100bd18]
lea r8, [0x0100b810]
mov edx, 0x800
lea rcx, [rsp + 0x470]
call fcn.01015ef0
lea rax, [rsp + 0x4948]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x800
lea rax, [rsp + 0x5590]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x291c]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8d, 1
lea rdx, [rsp + 0x470]
lea rcx, [rsp + 0x4980]
call fcn.01020da0
mov dword [rsp + 0x28dc], eax
cmp dword [rsp + 0x28dc], 0
je 0x104da0f
cmp dword [rsp + 0x291c], 0
je 0x104da3f
cmp dword [rsp + 0x291c], 0x38cd
je 0x104da29
cmp dword [rsp + 0x291c], 0xc350
jne 0x104da33
mov dword [0x01068600], 1
jmp 0x104e456
mov dword [0x01068604], 1
xor r8d, r8d
lea rdx, [rsp + 0x6598]
lea rcx, [rsp + 0x2914]
call fcn.01035c30
mov eax, dword [rsp + 0x6598]
cdq
mov ecx, 0x64
idiv ecx
mov eax, edx
mov dword [rsp + 0x68a0], eax
mov eax, dword [rsp + 0x6598]
cdq
mov ecx, 0x2710
idiv ecx
mov eax, edx
cdq
mov ecx, 0x64
idiv ecx
mov dword [rsp + 0x68a4], eax
mov eax, dword [rsp + 0x6598]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [rsp + 0x68a8], eax
mov eax, dword [rsp + 0x2914]
cdq
mov ecx, 0x64
idiv ecx
mov eax, edx
mov dword [rsp + 0x68ac], eax
mov eax, dword [rsp + 0x2914]
cdq
mov ecx, 0x2710
idiv ecx
mov eax, edx
cdq
mov ecx, 0x64
idiv ecx
mov dword [rsp + 0x68b0], eax
mov eax, dword [rsp + 0x2914]
cdq
mov ecx, 0x2710
idiv ecx
mov ecx, dword [rsp + 0x68a0]
mov dword [rsp + 0x40], ecx
mov ecx, dword [rsp + 0x68a4]
mov dword [rsp + 0x38], ecx
mov ecx, dword [rsp + 0x68a8]
mov dword [rsp + 0x30], ecx
mov ecx, dword [rsp + 0x68ac]
mov dword [rsp + 0x28], ecx
mov ecx, dword [rsp + 0x68b0]
mov dword [rsp + 0x20], ecx
mov r9d, eax
lea r8, [0x0100b7c0]
mov edx, 0x100
lea rcx, [rsp + 0x66a0]
call fcn.01015ef0
mov edx, 0x80
lea rcx, [rsp + 0x65a0]
call fcn.01052120
lea rax, [rsp + 0x65a0]
mov qword [rsp + 0x30], rax
mov eax, dword [0x01067498]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x66a0]
mov qword [rsp + 0x20], rax
lea r9, [0x01068050]
lea r8, [0x0100b6b0]
mov edx, 0x800
lea rcx, [rsp + 0x470]
call fcn.01015ef0
lea rax, [rsp + 0x4948]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x800
lea rax, [rsp + 0x5590]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x291c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 1
lea rdx, [rsp + 0x470]
lea rcx, [rsp + 0x4980]
call fcn.01020da0
mov dword [rsp + 0x28dc], eax
cmp dword [rsp + 0x28dc], 0
je 0x104dd95
cmp dword [rsp + 0x291c], 0
jne 0x104dd95
lea rax, [rsp + 0x6590]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x2918]
mov qword [rsp + 0x20], rax
mov r9d, 4
mov r8d, 0xfffffff0
mov edx, 1
lea rcx, [rsp + 0x4980]
call qword [sym.imp.SQLSVC.dll_QSQLBind]
lea rax, [rsp + 0x6590]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 4
mov r8d, 0xfffffff0
mov edx, 2
lea rcx, [rsp + 0x4980]
call qword [sym.imp.SQLSVC.dll_QSQLBind]
lea rax, [rsp + 0x6590]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x2910]
mov qword [rsp + 0x20], rax
mov r9d, 4
mov r8d, 0xfffffff0
mov edx, 3
lea rcx, [rsp + 0x4980]
call qword [sym.imp.SQLSVC.dll_QSQLBind]
lea rcx, [rsp + 0x4980]
call qword [sym.imp.SQLSVC.dll_QSQLNextRow]
cmp eax, 0xffffffff
jne 0x104dccf
jmp 0x104dcb8
lea rcx, [rsp + 0x4980]
call qword [sym.imp.SQLSVC.dll_QSQLResults]
cmp eax, 1
je 0x104dc10
lea rcx, [rsp + 0x4980]
call qword [sym.imp.SQLSVC.dll_QSQLPurgeResults]
cmp dword [rsp + 0x2918], 0
jne 0x104dd05
cmp dword [rsp + 0x50], 0
je 0x104dd7f
cmp dword [0x01064e40], 0
je 0x104dd75
cmp dword [rsp + 0x2918], 0
je 0x104dd3e
mov rax, qword [rsp + 0x68f0]
mov qword [rsp + 0x20], rax
lea r9, [0x01068050]
mov r8d, 0x122
xor edx, edx
mov ecx, 1
call fcn.01033fa0
cmp dword [rsp + 0x50], 0
je 0x104dd6b
mov rax, qword [rsp + 0x68f0]
mov qword [rsp + 0x20], rax
lea r9, [0x01068050]
mov r8d, 0x123
xor edx, edx
mov ecx, 1
call fcn.01033fa0
mov dword [0x01064e40], 0
jmp 0x104e456
cmp dword [rsp + 0x2910], 0
jne 0x104dd93
jmp 0x104e456
jmp 0x104ddad
lea rcx, [rsp + 0x4980]
call qword [sym.imp.SQLSVC.dll_QSQLPurgeResults]
jmp 0x104e456
mov dword [0x01064e40], 1
mov r8d, dword [0x010676c4]
lea rdx, [rsp + 0x1488]
lea rcx, [rsp + 0x4980]
call fcn.010274f0
mov dword [rsp + 0x4940], eax
cmp dword [rsp + 0x4940], 0
je 0x104e31b
mov r8d, 0xa
mov edx, 0x528
lea rcx, [rsp + 0x28e0]
call qword [sym.imp.SQLSVC.dll_SHRecMemInit]
mov dword [rsp + 0x28d4], 0
jmp 0x104de1f
mov eax, dword [rsp + 0x28d4]
add eax, 1
mov dword [rsp + 0x28d4], eax
mov eax, dword [rsp + 0x1494]
cmp dword [rsp + 0x28d4], eax
jge 0x104e31b
xor edx, edx
mov rcx, qword [0x01067930]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x104de4e
jmp 0x104e31b
mov dword [rsp + 0x28d8], 0
mov eax, dword [rsp + 0x28d8]
mov dword [rsp + 0x147c], eax
mov eax, dword [rsp + 0x147c]
mov dword [rsp + 0x1480], eax
mov word [rsp + 0x20d0], 0
mov dword [rsp + 0x1470], 0
mov eax, dword [rsp + 0x1470]
mov dword [rsp + 0x291c], eax
mov edx, dword [rsp + 0x28d4]
lea rcx, [rsp + 0x1488]
call qword [sym.imp.SQLSVC.dll_SHRecMemLock]
mov qword [rsp + 0x2920], rax
cmp qword [rsp + 0x2920], 0
je 0x104e316
mov rax, qword [rsp + 0x2920]
mov eax, dword [rax + 8]
mov dword [rsp + 0x68b4], eax
cmp dword [rsp + 0x68b4], 1
je 0x104def3
cmp dword [rsp + 0x68b4], 2
je 0x104df83
jmp 0x104e011
lea rax, [rsp + 0x28e0]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x460]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x147c]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x1470]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x20d0]
mov r8, qword [rsp + 0x2920]
lea rdx, [rsp + 0x14c0]
lea rcx, [rsp + 0x4980]
call fcn.0104e740
test eax, eax
jne 0x104df65
mov dword [rsp + 0x68b8], 1
jmp 0x104df70
mov dword [rsp + 0x68b8], 0
mov eax, dword [rsp + 0x68b8]
mov dword [rsp + 0x1480], eax
jmp 0x104e03c
lea rax, [rsp + 0x28d8]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x1478]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x20d0]
mov r8, qword [rsp + 0x2920]
lea rdx, [rsp + 0x14c0]
mov rcx, qword [rsp + 0x68f0]
call fcn.0104f3b0
test eax, eax
jne 0x104dfdb
mov dword [rsp + 0x68bc], 1
jmp 0x104dfe6
mov dword [rsp + 0x68bc], 0
mov eax, dword [rsp + 0x68bc]
mov dword [rsp + 0x1480], eax
cmp dword [rsp + 0x28d8], 0
je 0x104e00f
mov rax, qword [rsp + 0x2920]
mov eax, dword [rax]
mov dword [rsp + 0x28d0], eax
jmp 0x104e03c
mov r9d, 0x400
lea r8, [rsp + 0x20d0]
mov edx, 0x125
mov rcx, qword [0x01068158]
call qword [sym.imp.USER32.dll_LoadStringW]
mov dword [rsp + 0x1480], 1
cmp dword [rsp + 0x28d8], 0
je 0x104e04b
jmp 0x104e31b
cmp dword [rsp + 0x1480], 0
jne 0x104e1e0
mov rax, qword [rsp + 0x2920]
mov r9d, dword [rax]
lea r8, [0x0100b5e0]
mov edx, 0x800
lea rcx, [rsp + 0x470]
call fcn.01015ef0
lea rax, [rsp + 0x4948]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x800
lea rax, [rsp + 0x5590]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x291c]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8d, 1
lea rdx, [rsp + 0x470]
lea rcx, [rsp + 0x4980]
call fcn.01020da0
mov dword [rsp + 0x28dc], eax
cmp dword [rsp + 0x28dc], 0
je 0x104e0e9
cmp dword [rsp + 0x291c], 0
je 0x104e101
mov rax, qword [rsp + 0x2920]
cmp dword [rax + 4], 7
jne 0x104e175
cmp dword [rsp + 0x291c], 0
jne 0x104e175
cmp dword [rsp + 0x147c], 0
je 0x104e162
lea rax, [rsp + 0x4948]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x800
lea rax, [rsp + 0x5590]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x291c]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8d, 1
lea rdx, [0x0100b590]
lea rcx, [rsp + 0x14c0]
call fcn.01020da0
mov dword [rsp + 0x28dc], eax
mov eax, dword [rsp + 0x659c]
add eax, 1
mov dword [rsp + 0x659c], eax
jmp 0x104e1db
cmp dword [rsp + 0x147c], 0
je 0x104e1d6
lea rax, [rsp + 0x4948]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x800
lea rax, [rsp + 0x5590]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x291c]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8d, 1
lea rdx, [0x0100b530]
lea rcx, [rsp + 0x14c0]
call fcn.01020da0
mov dword [rsp + 0x28dc], eax
jmp 0x104e31b
jmp 0x104e316
cmp dword [rsp + 0x147c], 0
je 0x104e241
lea rax, [rsp + 0x4948]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x800
lea rax, [rsp + 0x5590]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x291c]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8d, 1
lea rdx, [0x0100b530]
lea rcx, [rsp + 0x14c0]
call fcn.01020da0
mov dword [rsp + 0x28dc], eax
movzx eax, word [rsp + 0x20d0]
test eax, eax
je 0x104e314
cmp dword [rsp + 0x1470], 0x21cb
je 0x104e314
mov dword [rsp + 0x20], 0x2002
lea r9, [rsp + 0x2930]
lea r8, [0x010021f8]
lea rdx, [0x010021f4]
lea rcx, [rsp + 0x20d0]
call fcn.01052500
mov rax, qword [rsp + 0x2920]
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x2930]
lea r8, [0x0100b480]
mov edx, 0x800
lea rcx, [rsp + 0x470]
call fcn.01015ef0
lea rax, [rsp + 0x4948]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x800
lea rax, [rsp + 0x5590]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x291c]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8d, 1
lea rdx, [rsp + 0x470]
lea rcx, [rsp + 0x4980]
call fcn.01020da0
mov dword [rsp + 0x28dc], eax
jmp 0x104e31b
jmp 0x104de0e
cmp dword [rsp + 0x659c], 0
je 0x104e39d
lea r9, [0x01068050]
lea r8, [0x0100b400]
mov edx, 0x800
lea rcx, [rsp + 0x470]
call fcn.01015ef0
lea rax, [rsp + 0x4948]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x800
lea rax, [rsp + 0x5590]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x291c]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8d, 1
lea rdx, [rsp + 0x470]
lea rcx, [rsp + 0x4980]
call fcn.01020da0
mov dword [rsp + 0x28dc], eax
cmp dword [rsp + 0x1478], 0
je 0x104e42f
lea rax, [0x01068050]
mov qword [rsp + 0x20], rax
mov r9d, dword [0x01067498]
lea r8, [0x0100b350]
mov edx, 0x800
lea rcx, [rsp + 0x470]
call fcn.01015ef0
lea rax, [rsp + 0x4948]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x800
lea rax, [rsp + 0x5590]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x291c]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8d, 1
lea rdx, [rsp + 0x470]
lea rcx, [rsp + 0x4980]
call fcn.01020da0
mov dword [rsp + 0x28dc], eax
cmp dword [rsp + 0x28ec], 0
jle 0x104e456
lea r8, [rsp + 0x28e0]
lea rdx, [rsp + 0x4980]
lea rcx, [rsp + 0x14c0]
call fcn.01052370
lea rcx, [rsp + 0x1488]
call qword [sym.imp.SQLSVC.dll_SHRecMemFree]
lea rcx, [rsp + 0x28e0]
call qword [sym.imp.SQLSVC.dll_SHRecMemFree]
lea rcx, [rsp + 0x4980]
call qword [sym.imp.SQLSVC.dll_QSQLLogoff]
cmp dword [rsp + 0x1474], 0
je 0x104e6e0
cmp dword [rsp + 0x460], 0
je 0x104e545
xor edx, edx
xor ecx, ecx
call fcn.01051b30
test eax, eax
jne 0x104e545
mov r9, qword [rsp + 0x68f0]
lea r8, [0x0100b2d0]
mov edx, 0x800
lea rcx, [rsp + 0x470]
call fcn.01015ef0
lea rax, [rsp + 0x4948]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x800
lea rax, [rsp + 0x5590]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x291c]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8d, 1
lea rdx, [rsp + 0x470]
lea rcx, [rsp + 0x14c0]
call fcn.01020da0
mov dword [rsp + 0x28dc], eax
cmp dword [rsp + 0x28dc], 0
je 0x104e545
cmp dword [rsp + 0x291c], 0
jne 0x104e545
mov dword [rsp + 0x460], 0
cmp dword [rsp + 0x28d8], 0
je 0x104e6d2
lea rax, [rsp + 0x4948]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x800
lea rax, [rsp + 0x5590]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x291c]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8d, 1
lea rdx, [0x0100b290]
lea rcx, [rsp + 0x14c0]
call fcn.01020da0
mov dword [rsp + 0x28dc], eax
cmp dword [rsp + 0x291c], 0
je 0x104e6c1
movzx eax, word [rsp + 0x5590]
test eax, eax
je 0x104e6c1
cmp dword [rsp + 0x28d0], 0
je 0x104e6c1
lea r9, [0x01005848]
mov r8, qword [rsp + 0x68f0]
lea rdx, [rsp + 0x4980]
lea rcx, [rsp + 0x14c0]
call fcn.01051cc0
test eax, eax
je 0x104e6bf
mov dword [rsp + 0x20], 0x2002
lea r9, [rsp + 0x2930]
lea r8, [0x010021f8]
lea rdx, [0x010021f4]
lea rcx, [rsp + 0x5590]
call fcn.01052500
mov eax, dword [rsp + 0x28d0]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x2930]
lea r8, [0x0100b480]
mov edx, 0x800
lea rcx, [rsp + 0x470]
call fcn.01015ef0
lea rax, [rsp + 0x4948]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x800
lea rax, [rsp + 0x5590]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x291c]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8d, 1
lea rdx, [rsp + 0x470]
lea rcx, [rsp + 0x4980]
call fcn.01020da0
mov dword [rsp + 0x28dc], eax
lea rcx, [rsp + 0x4980]
call qword [sym.imp.SQLSVC.dll_QSQLLogoff]
jmp 0x104e6d2
mov eax, dword [rsp + 0x659c]
add eax, 1
mov dword [rsp + 0x659c], eax
lea rcx, [rsp + 0x14c0]
call qword [sym.imp.SQLSVC.dll_QSQLLogoff]
cmp dword [rsp + 0x4940], 0
je 0x104e70f
mov eax, dword [rsp + 0x4940]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x659c]
mov r8d, 0x121
xor edx, edx
mov ecx, 3
call fcn.01033fa0
mov eax, dword [rsp + 0x659c]
mov rcx, qword [rsp + 0x68c0]
xor rcx, rsp
call fcn.010588f0
add rsp, 0x68d8
pop rdi
pop rsi
ret