Function at 0x104e2f0
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x68d8
call fcn.0105fe80
sub rsp, rax
mov rax, qword [0x010667f0]
xor rax, rsp
mov qword [rsp + 0x68c0], rax
lea rax, [rsp + 0x4948]
lea rcx, [0x0100c000]
mov rdi, rax
mov rsi, rcx
mov ecx, gethostbyname
rep movsb byte [rdi], byte [rsi]
movzx eax, word [0x01001c50]
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 [0x01001c50]
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 [0x01001c50]
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 [0x01001c50]
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 [0x01001c50]
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 [0x01001c50]
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 [0x01001c50]
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, [0x0100bfc0]
call fcn.01053b10
cmp qword [rsp + 0x68f0], 0
je 0x104e533
mov rax, qword [rsp + 0x68f0]
movzx eax, word [rax]
test eax, eax
je 0x104e533
cmp dword [0x01069600], 0
je 0x104e53a
xor eax, eax
jmp 0x104f3c6
lea rdx, [0x0100b370]
lea rcx, [rsp + 0x14c0]
call fcn.01020b50
lea r8, [rsp + 0x4948]
mov edx, 1
lea rcx, [rsp + 0x14c0]
call fcn.01020c30
test eax, eax
jne 0x104e575
xor eax, eax
jmp 0x104f3c6
mov dword [rsp + 0x1474], 1
lea r9, [0x01005a88]
mov r8, qword [rsp + 0x68f0]
lea rdx, [rsp + 0x4980]
lea rcx, [rsp + 0x14c0]
call fcn.01052970
test eax, eax
je 0x104f130
mov r8d, 0xa
mov edx, 0x1c
lea rcx, [rsp + 0x1488]
call qword [sym.imp.SQLSVC.dll_SHRecMemInit]
mov r8d, 0xa
mov edx, 0x528
lea rcx, [rsp + 0x28e0]
call qword [sym.imp.SQLSVC.dll_SHRecMemInit]
cmp dword [0x01069604], 0
jne 0x104e712
cmp dword [0x0106814c], 0
jne 0x104e712
mov r9d, 0x200
lea r8, [rsp + 0x60]
mov edx, 0x18f
mov rcx, qword [0x01069158]
call qword [sym.imp.USER32.dll_LoadStringW]
lea rax, [0x0100bfb0]
mov qword [rsp + 0x20], rax
lea r9, [0x01001bcc]
lea r8, [rsp + 0x60]
mov edx, 0x1001
lea rcx, [rsp + 0x2930]
call fcn.01016110
lea rax, [rsp + 0x2930]
mov qword [rsp + 0x20], rax
lea r9, [0x0100bf98]
lea r8, [0x0100ba90]
mov edx, 0x800
lea rcx, [rsp + 0x470]
call fcn.01016110
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.01021550
mov dword [rsp + 0x28dc], eax
cmp dword [rsp + 0x28dc], 0
je 0x104e6d8
cmp dword [rsp + 0x291c], 0
je 0x104e708
cmp dword [rsp + 0x291c], 0x38cd
je 0x104e6f2
cmp dword [rsp + 0x291c], 0xc350
jne 0x104e6fc
mov dword [0x01069600], 1
jmp 0x104f106
mov dword [0x01069604], 1
xor r8d, r8d
lea rdx, [rsp + 0x6598]
lea rcx, [rsp + 0x2914]
call fcn.01036710
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, [0x0100ba40]
mov edx, pe_nt_image_headers64
lea rcx, [rsp + 0x66a0]
call fcn.01016110
mov edx, 0x80
lea rcx, [rsp + 0x65a0]
call fcn.01052dd0
lea rax, [rsp + 0x65a0]
mov qword [rsp + 0x30], rax
mov eax, dword [0x01068498]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x66a0]
mov qword [rsp + 0x20], rax
lea r9, [0x01069050]
lea r8, [0x0100b930]
mov edx, 0x800
lea rcx, [rsp + 0x470]
call fcn.01016110
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.01021550
mov dword [rsp + 0x28dc], eax
cmp dword [rsp + 0x28dc], 0
je 0x104ea5e
cmp dword [rsp + 0x291c], 0
jne 0x104ea5e
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 0x104e998
jmp 0x104e981
lea rcx, [rsp + 0x4980]
call qword [sym.imp.SQLSVC.dll_QSQLResults]
cmp eax, 1
je 0x104e8d9
lea rcx, [rsp + 0x4980]
call qword [sym.imp.SQLSVC.dll_QSQLPurgeResults]
cmp dword [rsp + 0x2918], 0
jne 0x104e9ce
cmp dword [rsp + 0x50], 0
je 0x104ea48
cmp dword [0x01065e40], 0
je 0x104ea3e
cmp dword [rsp + 0x2918], 0
je 0x104ea07
mov rax, qword [rsp + 0x68f0]
mov qword [rsp + 0x20], rax
lea r9, [0x01069050]
mov r8d, 0x122
xor edx, edx
mov ecx, 1
call fcn.01034b80
cmp dword [rsp + 0x50], 0
je 0x104ea34
mov rax, qword [rsp + 0x68f0]
mov qword [rsp + 0x20], rax
lea r9, [0x01069050]
mov r8d, 0x123
xor edx, edx
mov ecx, 1
call fcn.01034b80
mov dword [0x01065e40], 0
jmp 0x104f106
cmp dword [rsp + 0x2910], 0
jne 0x104ea5c
jmp 0x104f106
jmp 0x104ea76
lea rcx, [rsp + 0x4980]
call qword [sym.imp.SQLSVC.dll_QSQLPurgeResults]
jmp 0x104f106
mov dword [0x01065e40], 1
mov r8d, dword [0x010686c4]
lea rdx, [rsp + 0x1488]
lea rcx, [rsp + 0x4980]
call fcn.01027ef0
mov dword [rsp + 0x4940], eax
cmp dword [rsp + 0x4940], 0
je 0x104efcb
mov dword [rsp + 0x28d4], 0
jmp 0x104eacf
mov eax, dword [rsp + 0x28d4]
add eax, 1
mov dword [rsp + 0x28d4], eax
mov eax, dword [rsp + 0x1494]
cmp dword [rsp + 0x28d4], eax
jge 0x104efcb
xor edx, edx
mov rcx, qword [0x01068930]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x104eafe
jmp 0x104efcb
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 0x104efc6
mov rax, qword [rsp + 0x2920]
mov eax, dword [rax + 8]
mov dword [rsp + 0x68b4], eax
cmp dword [rsp + 0x68b4], 1
je 0x104eba3
cmp dword [rsp + 0x68b4], 2
je 0x104ec33
jmp 0x104ecc1
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.0104f3f0
test eax, eax
jne 0x104ec15
mov dword [rsp + 0x68b8], 1
jmp 0x104ec20
mov dword [rsp + 0x68b8], 0
mov eax, dword [rsp + 0x68b8]
mov dword [rsp + 0x1480], eax
jmp 0x104ecec
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.01050060
test eax, eax
jne 0x104ec8b
mov dword [rsp + 0x68bc], 1
jmp 0x104ec96
mov dword [rsp + 0x68bc], 0
mov eax, dword [rsp + 0x68bc]
mov dword [rsp + 0x1480], eax
cmp dword [rsp + 0x28d8], 0
je 0x104ecbf
mov rax, qword [rsp + 0x2920]
mov eax, dword [rax]
mov dword [rsp + 0x28d0], eax
jmp 0x104ecec
mov r9d, 0x400
lea r8, [rsp + 0x20d0]
mov edx, 0x125
mov rcx, qword [0x01069158]
call qword [sym.imp.USER32.dll_LoadStringW]
mov dword [rsp + 0x1480], 1
cmp dword [rsp + 0x28d8], 0
je 0x104ecfb
jmp 0x104efcb
cmp dword [rsp + 0x1480], 0
jne 0x104ee90
mov rax, qword [rsp + 0x2920]
mov r9d, dword [rax]
lea r8, [0x0100b860]
mov edx, 0x800
lea rcx, [rsp + 0x470]
call fcn.01016110
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.01021550
mov dword [rsp + 0x28dc], eax
cmp dword [rsp + 0x28dc], 0
je 0x104ed99
cmp dword [rsp + 0x291c], 0
je 0x104edb1
mov rax, qword [rsp + 0x2920]
cmp dword [rax + 4], 7
jne 0x104ee25
cmp dword [rsp + 0x291c], 0
jne 0x104ee25
cmp dword [rsp + 0x147c], 0
je 0x104ee12
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, [0x0100b810]
lea rcx, [rsp + 0x14c0]
call fcn.01021550
mov dword [rsp + 0x28dc], eax
mov eax, dword [rsp + 0x659c]
add eax, 1
mov dword [rsp + 0x659c], eax
jmp 0x104ee8b
cmp dword [rsp + 0x147c], 0
je 0x104ee86
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, [0x0100b7b0]
lea rcx, [rsp + 0x14c0]
call fcn.01021550
mov dword [rsp + 0x28dc], eax
jmp 0x104efcb
jmp 0x104efc6
cmp dword [rsp + 0x147c], 0
je 0x104eef1
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, [0x0100b7b0]
lea rcx, [rsp + 0x14c0]
call fcn.01021550
mov dword [rsp + 0x28dc], eax
movzx eax, word [rsp + 0x20d0]
test eax, eax
je 0x104efc4
cmp dword [rsp + 0x1470], 0x21cb
je 0x104efc4
mov dword [rsp + 0x20], 0x2002
lea r9, [rsp + 0x2930]
lea r8, [0x01002218]
lea rdx, [0x01002214]
lea rcx, [rsp + 0x20d0]
call fcn.010531b0
mov rax, qword [rsp + 0x2920]
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x2930]
lea r8, [0x0100b700]
mov edx, 0x800
lea rcx, [rsp + 0x470]
call fcn.01016110
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.01021550
mov dword [rsp + 0x28dc], eax
jmp 0x104efcb
jmp 0x104eabe
cmp dword [rsp + 0x659c], 0
je 0x104f04d
lea r9, [0x01069050]
lea r8, [0x0100b680]
mov edx, 0x800
lea rcx, [rsp + 0x470]
call fcn.01016110
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.01021550
mov dword [rsp + 0x28dc], eax
cmp dword [rsp + 0x1478], 0
je 0x104f0df
lea rax, [0x01069050]
mov qword [rsp + 0x20], rax
mov r9d, dword [0x01068498]
lea r8, [0x0100b5d0]
mov edx, 0x800
lea rcx, [rsp + 0x470]
call fcn.01016110
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.01021550
mov dword [rsp + 0x28dc], eax
cmp dword [rsp + 0x28ec], 0
jle 0x104f106
lea r8, [rsp + 0x28e0]
lea rdx, [rsp + 0x4980]
lea rcx, [rsp + 0x14c0]
call fcn.01053020
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 0x104f390
cmp dword [rsp + 0x460], 0
je 0x104f1f5
xor edx, edx
xor ecx, ecx
call fcn.010527f0
test eax, eax
jne 0x104f1f5
mov r9, qword [rsp + 0x68f0]
lea r8, [0x0100b550]
mov edx, 0x800
lea rcx, [rsp + 0x470]
call fcn.01016110
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.01021550
mov dword [rsp + 0x28dc], eax
cmp dword [rsp + 0x28dc], 0
je 0x104f1f5
cmp dword [rsp + 0x291c], 0
jne 0x104f1f5
mov dword [rsp + 0x460], 0
cmp dword [rsp + 0x28d8], 0
je 0x104f382
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, [0x0100b510]
lea rcx, [rsp + 0x14c0]
call fcn.01021550
mov dword [rsp + 0x28dc], eax
cmp dword [rsp + 0x291c], 0
je 0x104f371
movzx eax, word [rsp + 0x5590]
test eax, eax
je 0x104f371
cmp dword [rsp + 0x28d0], 0
je 0x104f371
lea r9, [0x01005a88]
mov r8, qword [rsp + 0x68f0]
lea rdx, [rsp + 0x4980]
lea rcx, [rsp + 0x14c0]
call fcn.01052970
test eax, eax
je 0x104f36f
mov dword [rsp + 0x20], 0x2002
lea r9, [rsp + 0x2930]
lea r8, [0x01002218]
lea rdx, [0x01002214]
lea rcx, [rsp + 0x5590]
call fcn.010531b0
mov eax, dword [rsp + 0x28d0]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x2930]
lea r8, [0x0100b700]
mov edx, 0x800
lea rcx, [rsp + 0x470]
call fcn.01016110
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.01021550
mov dword [rsp + 0x28dc], eax
lea rcx, [rsp + 0x4980]
call qword [sym.imp.SQLSVC.dll_QSQLLogoff]
jmp 0x104f382
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 0x104f3bf
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.01034b80
mov eax, dword [rsp + 0x659c]
mov rcx, qword [rsp + 0x68c0]
xor rcx, rsp
call fcn.01059ab0
add rsp, 0x68d8
pop rdi
pop rsi
ret