Function at 0x140044e9c
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x1400c1010]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r12, r9
mov rdi, r8
mov ebx, edx
mov r15, rcx
call fcn.1400aba24
mov r14d, eax
sub ebx, 0x4e
je 0x140045c3f
sub ebx, 0xc2
je 0x14004584d
cmp ebx, 1
jne 0x140045d28
movzx ecx, di
sub ecx, ebx
je 0x140045658
sub ecx, ebx
je 0x1400455fb
sub ecx, 0xbc1
je 0x140045538
sub ecx, 2
je 0x1400452a5
sub ecx, ebx
je 0x1400451b3
sub ecx, 4
je 0x140044f45
cmp ecx, 0x14
jne 0x140045d28
call fcn.14006f9f8
jmp 0x14004564d
mov edx, reloc.ODBC32.dll_SQLFreeStmt
mov rcx, r15
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
mov edx, 0xbc3
mov rcx, r15
mov rbx, rax
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, 0xbc2
mov rcx, r15
mov r13, rax
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0x130b
call qword [sym.imp.USER32.dll_SendMessageA]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x188
mov qword [rsp + 0x38], rax
mov rcx, r13
call qword [sym.imp.USER32.dll_SendMessageA]
mov qword [rsp + 0x50], rax
xor r9d, r9d
cdqe
mov edx, 0x199
mov r8, rax
mov qword [rsp + 0x58], rax
mov rcx, r13
call qword [sym.imp.USER32.dll_SendMessageA]
xor esi, esi
mov qword [rsp + 0x48], rax
lea rdi, [rbx + 0xc]
lea rcx, [rax + 1]
lea r14d, [rsi + 1]
cmp rcx, r14
jbe 0x140044ff8
mov rcx, qword [rax]
mov r8d, 0x104
mov rdx, rdi
mov dword [rsp + 0x30], r14d
mov rbx, rdi
call fcn.1400a482c
jmp 0x140045098
cmp dword [rsp + 0x38], esi
jne 0x14004508d
mov rcx, qword [0x1400c7b80]
mov r9d, 0x104
mov r8, rdi
mov dword [rsp + 0x30], esi
mov edx, 0x1500a2
call qword [sym.imp.Mso30Win32Client.dll_Ordinal_474]
mov eax, eax
add rbx, 0xc
add rax, rbx
mov ecx, 0x3000a
mov qword [rsp + 0x40], rax
call fcn.14006fb54
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], sil
jne 0x14004503d
mov r9, qword [rsp + 0x40]
mov edx, 0x189
mov r8, qword [rsp + 0x58]
mov rcx, r13
call qword [sym.imp.USER32.dll_SendMessageA]
mov r8d, 0xff
lea rdx, [rbp + 0xd0]
sub eax, ebx
movsxd rcx, eax
mov rax, qword [rsp + 0x40]
mov word [rcx + rax], si
mov rcx, rax
call fcn.140068f9c
neg eax
sbb rbx, rbx
and rbx, qword [rsp + 0x40]
jmp 0x140045098
mov eax, dword [rsp + 0x30]
mov rbx, rsi
mov dword [rsp + 0x30], eax
test rbx, rbx
je 0x140045297
mov r9d, reloc.ODBC32.dll_SQLSpecialColumns
xor r8d, r8d
mov rdx, rbx
mov ecx, 0x9004d
call fcn.14000e620
cmp eax, 6
jne 0x140045297
mov ebx, dword [rsp + 0x30]
test ebx, ebx
je 0x1400450d3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x1400450f1
mov rax, qword [0x1400c78b8]
lea r8, [rbp + 0xd0]
mov r9, rdi
mov edx, 3
xor ecx, ecx
call qword [0x1400b1958]
test eax, eax
je 0x140045199
test ebx, ebx
je 0x140045109
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call fcn.1400a1e40
mov r8, qword [rsp + 0x58]
xor r9d, r9d
mov edx, 0x182
mov rcx, r13
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, qword [rsp + 0x50]
mov edx, 0x186
cmp ecx, eax
lea edi, [rcx - 1]
cmovl edi, ecx
xor r9d, r9d
movsxd r8, edi
mov rcx, r13
call qword [sym.imp.USER32.dll_SendMessageA]
mov ebx, edi
mov edx, r14d
not ebx
mov rcx, r15
shr ebx, 0x1f
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.USER32.dll_EnableWindow]
cmp dword [rsp + 0x38], r14d
je 0x140045187
test edi, edi
jle 0x140045189
xor r9d, r9d
movsxd r8, edi
mov edx, 0x199
mov rcx, r13
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x140045189
mov esi, r14d
jmp 0x140045189
mov esi, ebx
mov edx, esi
mov rcx, r12
call qword [sym.imp.USER32.dll_EnableWindow]
jmp 0x140045297
mov r9d, SQLSetConnectOption
xor r8d, r8d
xor edx, edx
mov ecx, 0x90024
call fcn.14000e620
jmp 0x140045297
mov edx, reloc.ODBC32.dll_SQLFreeStmt
mov rcx, r15
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
mov rcx, qword [0x1400c7b80]
lea r8, str.DATASOURCEOPTIONS
mov qword [rsp + 0x28], rax
mov r13, rax
lea rax, [0x1400444c0]
mov r9, r15
mov rdx, rcx
mov qword [rsp + 0x20], rax
call fcn.1400a7efc
mov r14d, 1
cmp eax, r14d
jne 0x14004528c
mov edx, 0xbc2
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0x130b
call qword [sym.imp.USER32.dll_SendMessageA]
mov edx, 0xbc3
mov rcx, r15
mov rdi, rax
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r8d, dword [r13 + 0x114]
mov edx, edi
mov rcx, rax
call fcn.14004362c
xor esi, esi
mov dword [rsp + 0x30], eax
test eax, eax
mov ebx, esi
mov edx, r14d
mov rcx, r15
setne bl
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.USER32.dll_EnableWindow]
cmp edi, r14d
jne 0x140045273
cmp dword [rsp + 0x30], esi
je 0x140045273
mov esi, r14d
mov edx, 0xbca
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, esi
call qword [sym.imp.USER32.dll_EnableWindow]
mov rax, qword [0x1400c49b0]
mov qword [r13], rax
mov rcx, r12
call qword [sym.imp.USER32.dll_SetFocus]
jmp 0x140045d28
mov ebx, 0x98
lea rcx, [rbp + 0xd0]
mov r8d, ebx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x90]
mov dword [rbp + 0xd0], ebx
mov qword [rbp + 0xd8], r15
call fcn.140042c4c
mov qword [rbp + 0xe8], rax
mov ecx, 0x1500ee
lea rax, [rsp + 0x60]
mov dword [rbp + 0x108], 0x104
mov qword [rbp + 0x100], rax
call fcn.14006fb54
cmp dword [0x1400c7b78], 0x400
lea rcx, [rbp + 0xd0]
mov qword [rbp + 0x128], rax
sbb eax, eax
xor esi, esi
and eax, 0x180000
mov byte [rsp + 0x60], sil
add eax, 0x81025
mov dword [rbp + 0x130], eax
lea rax, [0x140044bd0]
mov qword [rbp + 0x148], rax
call qword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
lea r14d, [rsi + 1]
test eax, eax
je 0x140045d28
mov edx, 0xbc2
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 0x15009f
mov rbx, rax
call fcn.14006fb54
movzx ecx, word [rbp + 0x136]
lea rdx, [rax + 2]
lea rax, [rsp + 0x60]
add rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x140045388
mov edi, esi
jmp 0x1400453f7
mov ecx, 0x15009c
call fcn.14006fb54
movzx ecx, word [rbp + 0x136]
lea rdx, [rax + 2]
lea rax, [rsp + 0x60]
add rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1400453b4
mov edi, r14d
jmp 0x1400453f7
mov ecx, 0x1500fe
call fcn.14006fb54
movzx ecx, word [rbp + 0x136]
lea rdx, [rax + 2]
lea rax, [rsp + 0x60]
add rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1400453e0
lea edi, [rax + 2]
jmp 0x1400453f7
xor r9d, r9d
xor r8d, r8d
mov edx, 0x130b
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
mov rdi, rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x130b
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
cmp edi, eax
je 0x1400454a9
movsxd r8, edi
xor r9d, r9d
mov edx, 0x130c
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
mov edx, reloc.ODBC32.dll_SQLFreeStmt
mov rcx, r15
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
mov edx, 0xbc3
mov rcx, r15
mov rbx, rax
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r8d, dword [rbx + 0x114]
mov edx, edi
mov rcx, rax
call fcn.14004362c
mov eax, edi
sub eax, r14d
neg eax
sbb ecx, ecx
add ecx, 0x1500ed
call fcn.14006fb54
mov edx, r14d
mov rcx, r15
mov rbx, rax
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.USER32.dll_SetWindowTextA]
lea eax, [rdi - 2]
mov edx, 0xbc4
neg eax
mov rcx, r15
sbb ebx, ebx
and ebx, 5
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, 0xbc3
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r9d, edi
lea rdx, [rsp + 0x60]
mov rcx, rax
xor r8d, r8d
mov rbx, rax
call fcn.1400430e0
movsxd r8, eax
xor r9d, r9d
mov edx, 0x186
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x18b
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.USER32.dll_SendMessageA]
mov edx, r14d
mov rcx, r15
test eax, eax
setne sil
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, esi
call qword [sym.imp.USER32.dll_EnableWindow]
not edi
mov edx, 0xbca
shr edi, 0x1f
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, edi
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
jmp 0x140045d28
shr rdi, 0x10
movzx eax, di
sub eax, 1
je 0x140045577
cmp eax, 1
jne 0x140045d28
mov r14d, eax
mov rcx, r15
mov edx, r14d
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r8d, r14d
mov edx, 0x111
mov r9, rax
mov rcx, r15
call fcn.140044e9c
mov r14d, eax
jmp 0x140045d28
mov edx, 0xbc2
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0x130b
call qword [sym.imp.USER32.dll_SendMessageA]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x188
mov rcx, r12
mov rbx, rax
call qword [sym.imp.USER32.dll_SendMessageA]
mov r14d, 1
cmp ebx, r14d
je 0x1400455df
xor esi, esi
test eax, eax
jle 0x1400455e6
movsxd r8, eax
xor r9d, r9d
mov edx, 0x199
mov rcx, r12
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x1400455e6
mov esi, r14d
jmp 0x1400455e6
not eax
shr eax, 0x1f
mov esi, eax
mov edx, 0xbca
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, esi
jmp 0x14004552a
mov edx, 0xbc3
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call fcn.140043494
mov edx, 0xbc4
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageA]
mov edx, eax
lea rcx, str.UseWizard
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_1362]
xor edx, edx
mov rcx, r15
call qword [sym.imp.USER32.dll_EndDialog]
mov r14d, 1
jmp 0x140045d28
mov edx, reloc.ODBC32.dll_SQLFreeStmt
mov rcx, r15
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
mov edx, 0xbc3
mov rcx, r15
mov r13, rax
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, 0xbc2
mov rcx, r15
mov rdi, rax
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0x130b
call qword [sym.imp.USER32.dll_SendMessageA]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x188
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.USER32.dll_SendMessageA]
xor esi, esi
lea r14d, [rsi + 1]
cmp ebx, r14d
je 0x140045752
test eax, eax
jne 0x140045752
mov rcx, qword [0x1400c7b80]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r8, str.CREATENEWDATASOURCE
lea rax, [0x1400439b0]
mov dword [rsp + 0x68], ebx
mov r9, r15
mov qword [rsp + 0x20], rax
mov rdx, rcx
call fcn.1400a7efc
cmp eax, r14d
jne 0x14004574a
mov r9d, ebx
lea rdx, [rsp + 0x70]
xor r8d, r8d
mov rcx, rdi
call fcn.1400430e0
movsxd r8, eax
xor r9d, r9d
mov edx, 0x186
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageA]
mov edx, 0xbca
mov rcx, r15
mov rbx, rax
not ebx
shr ebx, 0x1f
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, rdi
jmp 0x14004529a
cdqe
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x50], rax
mov edx, 0x199
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageA]
mov edx, 0xbc4
mov rcx, r15
mov r12, rax
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageA]
mov dword [r13 + 8], ebx
mov qword [rsp + 0x38], rax
cmp ebx, 2
je 0x1400457a7
mov ecx, r14d
test eax, eax
jne 0x1400457a9
mov ecx, esi
mov dword [r13 + 0x110], ecx
lea rax, [r12 + 1]
mov ecx, esi
cmp rax, r14
setbe cl
mov dword [r13 + 0x114], ecx
test ecx, ecx
je 0x140045802
mov ecx, 0x3000a
call fcn.14006fb54
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], sil
jne 0x1400457d6
mov r8, qword [rsp + 0x50]
lea r9, [r13 + 0xc]
mov edx, 0x189
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageA]
sub rax, rbx
mov eax, eax
mov byte [rax + r13 + 0xc], sil
jmp 0x140045815
mov rcx, qword [r12]
lea rdx, [r13 + 0xc]
mov r8d, 0x104
call fcn.1400a482c
mov edx, 0xbc3
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call fcn.140043494
mov edx, dword [rsp + 0x38]
lea rcx, str.UseWizard
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_1362]
mov rdx, r14
mov rcx, r15
call qword [sym.imp.USER32.dll_EndDialog]
jmp 0x140045d28
mov rax, qword [0x1400c49b0]
lea rcx, str.p_v_
mov qword [r12], rax
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_601]
lea rcx, str.UseWizard
mov dword [r12 + 0x114], eax
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_601]
mov edx, 0xbc4
mov rcx, r15
movsxd rbx, eax
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
mov r8, rbx
mov rcx, rax
mov edx, 0xf1
call qword [sym.imp.USER32.dll_SendMessageA]
mov edx, 0xbc2
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r14d, 1
mov ecx, 0x1500e9
mov rbx, rax
mov dword [rbp + 0x90], r14d
call fcn.14006fb54
mov edi, 0x1307
mov qword [rbp + 0xa0], rax
mov edx, edi
lea r9, [rbp + 0x90]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
xor esi, esi
mov r13d, 0xbde
cmp dword [r12 + 8], esi
jne 0x14004592b
mov edx, r13d
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
lea edx, [r13 - 0x1a]
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1400459de
mov ecx, 0x1500ea
call fcn.14006fb54
lea r9, [rbp + 0x90]
mov qword [rbp + 0xa0], rax
mov r8, r14
mov edx, edi
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
cmp dword [r12 + 8], 2
jne 0x140045982
mov ecx, 0x1500eb
call fcn.14006fb54
lea r9, [rbp + 0x90]
mov qword [rbp + 0xa0], rax
mov r8d, 2
mov edx, edi
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
cmp dword [0x1400c7b78], 0x400
jb 0x1400459de
mov edx, r13d
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edi, 0xfffffff0
mov rcx, rax
mov edx, edi
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov edx, edi
mov rcx, rbx
bts eax, 7
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov r9, qword [0x1400c7be8]
xor r8d, r8d
mov edx, 0xf7
mov rcx, rbx
mov r9, qword [r9 + 0x837]
call qword [sym.imp.USER32.dll_SendMessageA]
mov edx, 0xbc2
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0x130b
call qword [sym.imp.USER32.dll_SendMessageA]
mov edx, 0xbc3
mov rcx, r15
mov rdi, rax
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r8d, dword [r12 + 0x114]
mov edx, edi
mov rcx, rax
call fcn.14004362c
mov edx, r14d
mov rcx, r15
mov r13d, eax
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, edi
mov rbx, rax
sub ecx, r14d
neg ecx
sbb ecx, ecx
add ecx, 0x1500ed
call fcn.14006fb54
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, esi
test r13d, r13d
mov rcx, rbx
setne dl
call qword [sym.imp.USER32.dll_EnableWindow]
cmp edi, r14d
jne 0x140045a73
test r13d, r13d
je 0x140045a73
mov esi, r14d
mov edx, 0xbca
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, esi
call qword [sym.imp.USER32.dll_EnableWindow]
mov edx, 0xbc3
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDlgItem]
mov esi, 0xfffffffc
mov rcx, rax
mov edx, esi
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
lea r8, [0x140044e40]
mov edx, esi
mov rcx, rbx
mov qword [0x1400c6678], rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov edx, r14d
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, esi
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
lea rdi, [0x140044e60]
mov edx, esi
mov r8, rdi
mov qword [0x1400c6680], rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
lea edx, [rsi + 6]
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, esi
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
mov r8, rdi
mov edx, esi
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov edx, 0xbc5
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, esi
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
mov r8, rdi
mov edx, esi
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov edx, 0xbc6
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, esi
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
mov r8, rdi
mov edx, esi
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov edx, 0xbca
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, esi
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
mov r8, rdi
mov edx, esi
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov edx, 0xbde
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rbx, rax
mov edx, esi
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
mov r8, rdi
mov edx, esi
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov edx, 0xbc4
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, esi
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
mov r8, rdi
mov edx, esi
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov edx, 0xbc2
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, esi
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
lea r8, [0x140044e80]
mov edx, esi
mov rcx, rbx
mov qword [0x1400c6688], rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov r8, r12
lea edx, [rsi + 0x14]
mov rcx, r15
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
jmp 0x140045d28
cmp dword [r12 + 0x10], 0xfffffdd9
jne 0x140045d28
mov edx, reloc.ODBC32.dll_SQLFreeStmt
mov rcx, r15
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
mov rcx, qword [r12]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x130b
mov rbx, rax
call qword [sym.imp.USER32.dll_SendMessageA]
mov edx, 0xbc3
mov rcx, r15
mov rdi, rax
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r8d, dword [rbx + 0x114]
mov edx, edi
mov rcx, rax
call fcn.14004362c
mov r14d, 1
mov rcx, r15
mov edx, r14d
mov r12d, eax
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, edi
mov rbx, rax
sub ecx, r14d
neg ecx
sbb ecx, ecx
add ecx, 0x1500ed
call fcn.14006fb54
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowTextA]
xor esi, esi
mov rcx, rbx
mov edx, esi
test r12d, r12d
setne dl
call fcn.14003b070
cmp edi, r14d
jne 0x140045ced
test r12d, r12d
je 0x140045ced
mov esi, r14d
mov edx, 0xbca
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, esi
call fcn.14003b070
sub edi, 2
mov edx, 0xbc4
neg edi
mov rcx, r15
sbb ebx, ebx
and ebx, 5
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.USER32.dll_ShowWindow]
mov eax, r14d
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400af450
mov rbx, qword [rsp + 0x328]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret