Function at 0x426e73
Capabilities:
Reference sql statements

Disassembly:
call fcn.0042689e
mov dword [0x9abaec], 1
push dword [0x9ad7e0]
mov edx, 0x6fb198
pop ecx
call fcn.0051f5d0
je 0x426ed9
push 0xffffff
push 0
push 0xfa
push 0x1cc
push 0
push 0
push 0x703490
push 0x73fd4c
mov eax, str.Borrower_must_have_a_name_to_be_saved.
push eax
mov eax, str.Save_Borrower
push eax
call fcn.004f6619
mov dword [0x9abaec], 0
ret
mov ebx, dword [0x9ad6ac]
cmp ebx, 1
jl 0x426ef4
mov ebx, dword [0x9ad6ac]
cmp ebx, dword [0x9abc90]
jg 0x426ef4
jmp 0x426efb
mov eax, 1
jmp 0x426efd
xor eax, eax
and eax, eax
je 0x426f45
push 0xffffff
push 0
push 0xfa
push 0x1cc
push 0
push 0
push 0x703490
push 0x73fd4c
mov eax, str.A_borrower_type_must_be_specified.
push eax
mov eax, str.Save_Borrower
push eax
call fcn.004f6619
mov dword [0x9abaec], 0
ret
mov edx, 0x6fb198
lea ecx, [0x9adfd8]
call fcn.0051f008
mov edx, 0x6fb198
lea ecx, [0x9ac7e0]
call fcn.0051f008
mov edx, 0x6fb198
lea ecx, [0x9ac214]
call fcn.0051f008
push 0x6fb198
push 1
push 0
call fcn.004f09d9
push dword [0x9b3e20]
push 1
push dword [0x9b3e20]
mov edx, str.SELECT_SURNAME_GIVENNAME_PREFERREDNAME_FROM_Borrowers_WHERE_BORROWERNUMBER
push edx
call fcn.005597c0
push dword [0x9b3e20]
push dword [0x9b3e20]
mov eax, dword [0x9ac7f8]
cdq
push edx
push eax
call fcn.005565d0
pop eax
mov edx, dword [0x9a36fc]
add dword [esp], edx
call fcn.004f685a
pop dword [0x9b3e20]
and eax, eax
je 0x427052
push 1
call fcn.004f4ac4
and eax, eax
je 0x427048
push dword [0x9b3e20]
push 1
push 0
call fcn.004e0dff
lea eax, [0x9adfd8]
push eax
call fcn.00559740
push dword [0x9b3e20]
push 1
push 1
call fcn.004e0dff
lea eax, [0x9ac7e0]
push eax
call fcn.00559740
push dword [0x9b3e20]
push 1
push 2
call fcn.004e0dff
lea eax, [0x9ac214]
push eax
call fcn.00559740
push 1
call fcn.004be154
push 1
call fcn.004d3586
push dword [0x9b3e20]
push dword [0x9b3e20]
push dword [0x9adfd8]
call fcn.005568e0
add dword [0x9b3e20], 2
push dword [0x9b3e20]
push dword [0x9b3e20]
push dword [0x9ac17c]
call fcn.005568e0
pop edx
pop ecx
mov dword [0x9b3e20], ecx
add ecx, dword [0x9a36fc]
add edx, dword [0x9a36fc]
call fcn.0051f5d0
jne 0x4270b3
mov eax, 1
jmp 0x4270b5
xor eax, eax
mov dword [0x9ac484], eax
cmp dword [0x9ac484], 0
je 0x427551
mov edx, dword [0x9adfd8]
xor ecx, ecx
call fcn.0051f5d0
je 0x4270e7
mov edx, dword [0x9ac7e0]
xor ecx, ecx
call fcn.0051f5d0
je 0x4270e7
jmp 0x4270ee
mov eax, 1
jmp 0x4270f0
xor eax, eax
and eax, eax
jne 0x427105
mov edx, dword [0x9ac214]
xor ecx, ecx
call fcn.0051f5d0
je 0x427105
jmp 0x42710c
mov eax, 1
jmp 0x42710e
xor eax, eax
and eax, eax
je 0x427551
push dword [0x9b3e20]
push dword [0x9ac214]
push dword [0x9ac7e0]
push dword [0x9adfd8]
call fcn.004c30ff
lea eax, [0x9abc10]
push eax
call fcn.00559740
mov edx, str.A_different_borrower_exists_with_this_number._r_n
lea ecx, [0x9ac12c]
call fcn.0051f008
mov edx, dword [0x9ac12c]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, dword [0x9abc10]
push edx
call fcn.005597c0
mov edx, 0x7369e8
push edx
call fcn.005597c0
lea eax, [0x9ac12c]
push eax
call fcn.00559740
mov edx, dword [0x9ac12c]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str.Delete_this_borrowers_data_then_replace_with_the_new_borrower_
push edx
call fcn.005597c0
lea eax, [0x9ac12c]
push eax
call fcn.00559740
push 0xffffff
push 0
push 0xc8
push 0x190
push 0
push 0x700314
push 0
push dword [0x9ac12c]
mov eax, 0x6fb198
push eax
call fcn.004c8e64
mov dword [0x9ac4a0], eax
mov ebx, dword [0x9ac4a0]
cmp ebx, 2
jne 0x4271fc
mov dword [0x9ace6c], 1
ret
mov ebx, dword [0x9ac4a0]
cmp ebx, 6
jne 0x427551
mov dword [0x9ac4ac], 0
push dword [0x9b3e20]
mov edx, str.SELECT_COUNT_ITEMKEY__FROM_Items_WHERE_STATUS2_AND_BORROWERNUMBER
push edx
call fcn.005597c0
push dword [0x9b3e20]
push dword [0x9b3e20]
mov eax, dword [0x9ac7f8]
cdq
push edx
push eax
call fcn.005565d0
pop eax
lea eax, [0x9ac12c]
push eax
call fcn.00559740
push 0x6fb198
push 1
push 0
call fcn.004f09d9
push 1
push dword [0x9ac12c]
call fcn.004f685a
and eax, eax
je 0x427296
push 1
call fcn.004f4ac4
and eax, eax
je 0x427296
push 1
push 0
call fcn.004dc9ec
mov dword [0x9ac4ac], eax
push 1
call fcn.004be154
push 1
call fcn.004d3586
cmp dword [0x9ac4ac], 0
je 0x427551
push 1
push 0
push 0
push 0x1c2
push 0x15e
mov eax, str.Change_status
push eax
push 2
call fcn.004fb9ac
push 2
call fcn.00540e97
mov dword [0x9ac60c], eax
push 2
call fcn.00540f14
mov dword [0x9ac520], eax
push dword [0x9ad314]
call fcn.0051b576
push 0x63
push 0
push 0
push 0
push 0x1e
push 0x12c
push 0xa
push 0x14
mov eax, str.Borrower_has_items_on_loan._Change_status_of_items_
push eax
push 0xdc
call fcn.004f7463
push 0x63
push 0
push 0
push 0
push 0x14
push 0x12c
push 0x32
push 0x14
mov eax, str.Choose_status_to_assign_as_lost
push eax
push 0xc8
call fcn.004f7463
push 0
push 0
mov ebx, dword [0x9ac520]
add ebx, 0xffffff88
push ebx
mov ebx, dword [0x9ac60c]
add ebx, 0xffffffd3
push ebx
push 0x55
push 0x19
push 0xd2
call fcn.004c8df3
mov eax, str.Keep_items_on_loan_to_this_borrower_number
push eax
push 0xd2
call fcn.004f73b5
mov dword [0x9ac534], 1
jmp 0x4273c7
mov eax, dword [0x9acc0c]
cmp eax, dword [0x9ac534]
jl 0x427440
push dword [0x9b3e20]
push dword [0x9b3e20]
push dword [0x9b3e20]
mov eax, dword [0x9ac534]
cdq
push edx
push eax
call fcn.005565d0
mov edx, 0x738458
push edx
call fcn.005597c0
mov ebx, dword [0x9ac534]
mov ebp, dword [0x9aef30]
shl ebx, 2
mov edx, dword [ebp + ebx]
push edx
call fcn.005597c0
add dword [0x9b3e20], 2
push 0xd2
mov edx, dword [0x9a36fc]
add dword [esp + 4], edx
call fcn.004f73b5
pop dword [0x9b3e20]
inc dword [0x9ac534]
jno 0x4273c7
push 0x12b
push 0x12a
push 2
call fcn.004e4a78
mov dword [0x9ac91c], 0
push 0
push 0
push 0
push 2
call fcn.004f1be1
mov dword [0x9ac778], eax
mov ebx, dword [0x9ac778]
cmp ebx, 0xffffffff
je 0x427497
mov ebx, dword [0x9ac778]
cmp ebx, 0x12b
je 0x427497
jmp 0x42749e
mov eax, 1
jmp 0x4274a0
xor eax, eax
and eax, eax
je 0x4274b0
mov dword [0x9adc7c], 0
jmp 0x42751f
mov ebx, dword [0x9ac778]
cmp ebx, 0x12a
je 0x4274e6
mov ebx, dword [0x9ac778]
cmp ebx, 0xd2
jne 0x4274de
mov ebx, dword [0x9ab910]
cmp ebx, 2
jne 0x4274de
mov eax, 1
jmp 0x4274e0
xor eax, eax
and eax, eax
jne 0x4274e6
jmp 0x4274ed
mov eax, 1
jmp 0x4274ef
xor eax, eax
and eax, eax
je 0x42751a
push 0xd2
call fcn.004cf825
mov dword [0x9ac568], eax
mov ebx, dword [0x9ac568]
and ebx, ebx
jl 0x42751a
push dword [0x9ac568]
pop dword [0x9ac91c]
jmp 0x42751f
jmp 0x42745e
push 0
push 0
call fcn.004f1489
push 0x6fb198
push 1
push 1
call fcn.004f09d9
call fcn.00424395
push 1
call fcn.004d3586
push 0x6fb198
push 1
push 1
call fcn.004f09d9
push str.Borrowers
push dword [0x9ac7f8]
call fcn.004bb9ee
push dword [0x9b3e20]
mov edx, str.UPDATE_Items_SET_BORROWERCLASS
push edx
call fcn.005597c0
push dword [0x9b3e20]
push dword [0x9ae2dc]
call fcn.004e98e0
pop eax
mov edx, str._BORROWERYEARLEVEL
push edx
call fcn.005597c0
push dword [0x9b3e20]
push dword [0x9ab75c]
call fcn.004e98e0
pop eax
mov edx, str._WHERE_BORROWERNUMBER
push edx
call fcn.005597c0
push dword [0x9b3e20]
push dword [0x9b3e20]
mov eax, dword [0x9ac7f8]
cdq
push edx
push eax
call fcn.005565d0
pop eax
lea eax, [0x9ac12c]
push eax
call fcn.00559740
push 1
push dword [0x9ac12c]
call fcn.004bc2f7
mov dword [0x9adc7c], 0
push dword [0x9ae2dc]
push dword [0x9af77c]
call fcn.0054436f
mov ebp, eax
mov edx, dword [ebp]
push dword [0x9b3e20]
push edx
call fcn.005597c0
lea eax, [0x9aca40]
push eax
call fcn.00559740
push dword [0x9aca40]
mov edx, 0x6fb198
pop ecx
call fcn.0051f5d0
je 0x427679
mov edx, dword [0x9ae2dc]
push dword [0x9b3e20]
push edx
call fcn.005597c0
push dword [0x9ae2dc]
push dword [0x9af77c]
call fcn.0054436f
mov ebp, eax
lea eax, [ebp]
push eax
call fcn.00559740
mov dword [0x9adc7c], 1
push dword [0x9ab75c]
push dword [0x9af780]
call fcn.0054436f
mov ebp, eax
mov edx, dword [ebp]
push dword [0x9b3e20]
push edx
call fcn.005597c0
lea eax, [0x9acd18]
push eax
call fcn.00559740
mov edx, dword [0x9acd18]
xor ecx, ecx
call fcn.0051f5d0
jne 0x4276ee
mov edx, dword [0x9ab75c]
push dword [0x9b3e20]
push edx
call fcn.005597c0
push dword [0x9ab75c]
push dword [0x9af780]
call fcn.0054436f
mov ebp, eax
lea eax, [ebp]
push eax
call fcn.00559740
mov dword [0x9adc7c], 1
push dword [0x9b3e20]
push dword [0x9ae2dc]
call fcn.004e98e0
lea eax, [0x9ac3e4]
push eax
call fcn.00559740
push dword [0x9b3e20]
push dword [0x9ab75c]
call fcn.004e98e0
lea eax, [0x9ac75c]
push eax
call fcn.00559740
push dword [0x9b3e20]
mov edx, str.UPDATE_Items_SET_BORROWERCLASS
push edx
call fcn.005597c0
mov edx, dword [0x9ac3e4]
push edx
call fcn.005597c0
mov edx, str._WHERE_BORROWERNUMBER
push edx
call fcn.005597c0
push dword [0x9b3e20]
push dword [0x9b3e20]
mov eax, dword [0x9ac7f8]
cdq
push edx
push eax
call fcn.005565d0
pop eax
mov edx, str._AND_BORROWERCLASS__
push edx
call fcn.005597c0
mov edx, dword [0x9ac3e4]
push edx
call fcn.005597c0
lea eax, [0x9ac12c]
push eax
call fcn.00559740
push 1
push dword [0x9ac12c]
call fcn.004bc2f7
push dword [0x9b3e20]
mov edx, str.UPDATE_Items_SET_BORROWERYEARLEVEL
push edx
call fcn.005597c0
mov edx, dword [0x9ac75c]
push edx
call fcn.005597c0
mov edx, str._WHERE_BORROWERNUMBER
push edx
call fcn.005597c0
push dword [0x9b3e20]
push dword [0x9b3e20]
mov eax, dword [0x9ac7f8]
cdq
push edx
push eax
call fcn.005565d0
pop eax
mov edx, str._AND_BORROWERYEARLEVEL__
push edx
call fcn.005597c0
mov edx, dword [0x9ac75c]
push edx
call fcn.005597c0
lea eax, [0x9ac12c]
push eax
call fcn.00559740
push 1
push dword [0x9ac12c]
call fcn.004bc2f7
push dword [0x9b3e20]
push dword [0x9b3e20]
call fcn.00512323
mov edx, dword [0x9a36fc]
add dword [esp], edx
call fcn.004e98e0
lea eax, [0x9ab868]
push eax
call fcn.00559740
push dword [0x9b3e20]
mov edx, str.UPDATE_Items_SET_BORROWERNAME
push edx
call fcn.005597c0
mov edx, dword [0x9ab868]
push edx
call fcn.005597c0
mov edx, str._WHERE_BORROWERNUMBER
push edx
call fcn.005597c0
push dword [0x9b3e20]
push dword [0x9b3e20]
mov eax, dword [0x9ac7f8]
cdq
push edx
push eax
call fcn.005565d0
pop eax
mov edx, str._AND_BORROWERNAME__
push edx
call fcn.005597c0
mov edx, dword [0x9ab868]
push edx
call fcn.005597c0
lea eax, [0x9ac12c]
push eax
call fcn.00559740
push 1
push dword [0x9ac12c]
call fcn.004bc2f7
push dword [0x9b3e20]
mov edx, str.UPDATE_Reservations_SET_RESVNA
push edx
call fcn.005597c0
mov edx, dword [0x9ab868]
push edx
call fcn.005597c0
mov edx, str._RESVRM
push edx
call fcn.005597c0
push dword [0x9b3e20]
push dword [0x9ac3e4]
call fcn.004e98e0
pop eax
mov edx, str._WHERE_RESVBN
push edx
call fcn.005597c0
push dword [0x9b3e20]
push dword [0x9b3e20]
mov eax, dword [0x9ac7f8]
cdq
push edx
push eax
call fcn.005565d0
pop eax
lea eax, [0x9ac12c]
push eax
call fcn.00559740
push 1
push dword [0x9ac12c]
call fcn.004bc2f7
mov dword [0x9adc7c], 0
push dword [0x9ae2dc]
push dword [0x9af77c]
call fcn.0054436f
mov ebp, eax
mov edx, dword [ebp]
push dword [0x9b3e20]
push edx
call fcn.005597c0
lea eax, [0x9aca40]
push eax
call fcn.00559740
push dword [0x9aca40]
mov edx, 0x6fb198
pop ecx
call fcn.0051f5d0
je 0x4279b0
mov edx, dword [0x9ae2dc]
push dword [0x9b3e20]
push edx
call fcn.005597c0
push dword [0x9ae2dc]
push dword [0x9af77c]
call fcn.0054436f
mov ebp, eax
lea eax, [ebp]
push eax
call fcn.00559740
mov dword [0x9adc7c], 1
push dword [0x9ab75c]
push dword [0x9af780]
call fcn.0054436f
mov ebp, eax
mov edx, dword [ebp]
push dword [0x9b3e20]
push edx
call fcn.005597c0
lea eax, [0x9acd18]
push eax
call fcn.00559740
mov edx, dword [0x9acd18]
xor ecx, ecx
call fcn.0051f5d0
jne 0x427a25
mov edx, dword [0x9ab75c]
push dword [0x9b3e20]
push edx
call fcn.005597c0
push dword [0x9ab75c]
push dword [0x9af780]
call fcn.0054436f
mov ebp, eax
lea eax, [ebp]
push eax
call fcn.00559740
mov dword [0x9adc7c], 1
push 1
call fcn.004d3586
cmp dword [0x9adc7c], 0
je 0x427a3d
call fcn.0041c2f8
push 0xffffff
push 0
push 0xfa
push 0x1cc
push 0
push 0
push 0x703490
push 0x73fd4c
mov eax, str.Borrower_data_saved.
push eax
mov eax, str.Save_Borrower
push eax
call fcn.004f6619
ret