Function at 0x4b8981
Capabilities:
Reference sql statements

Disassembly:
push dword [0x9aba00]
mov edx, 0x6fb198
pop ecx
call fcn.0051f5d0
jne 0x4b89a9
push dword [0x9ae25c]
mov edx, 0x6fb198
pop ecx
call fcn.0051f5d0
jne 0x4b89a9
jmp 0x4b89b0
mov eax, 1
jmp 0x4b89b2
xor eax, eax
and eax, eax
je 0x4b89b7
ret
mov edx, str._html__r_n
lea ecx, [0x9abdc4]
call fcn.0051f008
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str._head__r_n
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, dword [0x9adaf4]
push edx
call fcn.005597c0
mov edx, 0x7369e8
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str._title_CPAC:_view_requests__title__r_n
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str.__head__r_n_r_n
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str._style__r_n
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str.__requests_font_family:arial_border_collapse:collapse_width:100___r_n
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str.__requests_td_border:1px_solid_cccc_padding:3px__r_n
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str.__requests_tr:nth_child_even_background_color:e2e2e2e2__r_n
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str.__requests_th_padding_top:6px_padding_bottom:6px_text_align:center_background_color:blue_color:white__r_n
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str.__style__r_n
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, 0x7369e8
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, str._000000_
lea ecx, [0x9ac12c]
call fcn.0051f008
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str._body_bgcolor_ffffff__text
push edx
call fcn.005597c0
mov edx, dword [0x9ac12c]
push edx
call fcn.005597c0
mov edx, str._link
push edx
call fcn.005597c0
mov edx, dword [0x9ac12c]
push edx
call fcn.005597c0
mov edx, str._alink
push edx
call fcn.005597c0
mov edx, dword [0x9ac12c]
push edx
call fcn.005597c0
mov edx, str._vlink
push edx
call fcn.005597c0
mov edx, dword [0x9ac12c]
push edx
call fcn.005597c0
mov edx, 0x704638
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str._br_
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str._center__r_n
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str._font_face_arial__size5_colorff0000_CPAC_Requests__font__br__r_n
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str._br__r_n
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str._table_border_4__cellpadding_0__cellspacing_0__width_900_
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str._rules_none__bordercolor_blue___r_n
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str._tr__r_n
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str._td_width_100____r_n
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str.__table_id_requests___r_n
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str.___tr__r_n
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str._____th_Date__th_
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str._____th_Item__th_
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str._____th_Title__th_
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str._____th_Request_by__th__r_n
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str._____th_Call_number__th__r_n
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str._____th_Item_type__th__r_n
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str._____th_Status__th__r_n
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str.____tr__r_n
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
push 0x6fb198
push 1
push 0
call fcn.004f09d9
push dword [0x9af5e8]
call fcn.00551aa3
push dword [0x9af5e8]
call fcn.00551ab8
or eax, eax
je 0x4b9339
mov ebp, dword [0x9af5ec]
mov edx, dword [ebp + 8]
push dword [0x9b3e20]
push edx
call fcn.005597c0
lea eax, [0x9ad928]
push eax
call fcn.00559740
push dword [0x9b3e20]
push dword [0x9b3e20]
mov eax, 0x6fbaa2
push eax
push 1
push dword [0x9ad928]
call fcn.00556db0
lea eax, [0x9aca40]
push eax
call fcn.00559740
push dword [0x9b3e20]
push dword [0x9b3e20]
mov eax, 0x6fbaa2
push eax
push 2
push dword [0x9ad928]
call fcn.00556db0
lea eax, [0x9adb5c]
push eax
call fcn.00559740
push dword [0x9b3e20]
push dword [0x9b3e20]
mov eax, 0x6fbaa2
push eax
push 3
push dword [0x9ad928]
call fcn.00556db0
lea eax, [0x9acc5c]
push eax
call fcn.00559740
push dword [0x9b3e20]
push dword [0x9b3e20]
mov eax, 0x6fbaa2
push eax
push 4
push dword [0x9ad928]
call fcn.00556db0
lea eax, [0x9ad7c8]
push eax
call fcn.00559740
push dword [0x9b3e20]
push dword [0x9b3e20]
mov eax, 0x6fbaa2
push eax
push 5
push dword [0x9ad928]
call fcn.00556db0
lea eax, [0x9adf24]
push eax
call fcn.00559740
push dword [0x9b3e20]
push dword [0x9b3e20]
mov eax, 0x6fbaa2
push eax
push 6
push dword [0x9ad928]
call fcn.00556db0
lea eax, [0x9acd94]
push eax
call fcn.00559740
mov dword [0x9ac5b4], 1
push dword [0x9b3e20]
push 1
push dword [0x9b3e20]
mov edx, str.SELECT_STATUS_FROM_Items_WHERE_ITEMNUMBER
push edx
call fcn.005597c0
mov edx, dword [0x9adb5c]
push edx
call fcn.005597c0
mov edx, dword [0x9a36fc]
add dword [esp], edx
call fcn.004f685a
pop dword [0x9b3e20]
and eax, eax
je 0x4b90ea
push 1
call fcn.004f4ac4
and eax, eax
je 0x4b90e0
push 1
push 0
call fcn.004dc9ec
mov dword [0x9ac5b4], eax
push 1
call fcn.004be154
mov edx, 0x702db8
lea ecx, [0x9adad4]
call fcn.0051f008
mov ebx, dword [0x9ac5b4]
cmp ebx, 2
jne 0x4b9115
mov edx, 0x7045c4
lea ecx, [0x9adad4]
call fcn.0051f008
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, 0x70b750
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str._____td_
push edx
call fcn.005597c0
mov edx, dword [0x9aca40]
push edx
call fcn.005597c0
mov edx, str.__td_
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str._____td_
push edx
call fcn.005597c0
mov edx, dword [0x9adb5c]
push edx
call fcn.005597c0
mov edx, str.__td_
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str._____td_
push edx
call fcn.005597c0
mov edx, dword [0x9acc5c]
push edx
call fcn.005597c0
mov edx, str.__td_
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str._____td_
push edx
call fcn.005597c0
mov edx, dword [0x9ad7c8]
push edx
call fcn.005597c0
mov edx, str.__td__r_n
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str._____td_
push edx
call fcn.005597c0
mov edx, dword [0x9adf24]
push edx
call fcn.005597c0
mov edx, str.__td__r_n
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str._____td_
push edx
call fcn.005597c0
mov edx, dword [0x9acd94]
push edx
call fcn.005597c0
mov edx, str.__td__r_n
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str._____td_
push edx
call fcn.005597c0
mov ebx, dword [0x9ac5b4]
mov ebp, dword [0x9aef30]
shl ebx, 2
mov edx, dword [ebp + ebx]
push edx
call fcn.005597c0
mov edx, str.__td__r_n
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str.____tr__r_n
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
jmp 0x4b8f2c
push 1
call fcn.004d3586
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str.__table_
push edx
call fcn.005597c0
mov edx, dword [0x9ae4fc]
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str.__td__r_n
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str.__tr__r_n
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str.__table__r_n
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str._br__br__r_n
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str.__center__r_n
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str.__body__r_n__html__r_n
push edx
call fcn.005597c0
lea eax, [0x9abdc4]
push eax
call fcn.00559740
push 0xffffff
push 0
push 0xc8
push 0x190
push 0
push 0x700314
push 0
mov eax, str.View_before_emailing_
push eax
mov eax, str.Requests
push eax
call fcn.004c8e64
mov dword [0x9ac484], eax
mov ebx, dword [0x9ac484]
cmp ebx, 2
jne 0x4b94be
push dword [0x9ac12c]
call fcn.00545edc
ret
mov ebx, dword [0x9ac484]
cmp ebx, 6
jne 0x4b94f6
mov edx, str.Requests.htm
lea ecx, [0x9add1c]
call fcn.0051f008
push 1
push dword [0x9abdc4]
mov eax, str.Requests
push eax
call fcn.004bd79b
mov ebx, eax
and ebx, ebx
jne 0x4b94f6
ret
push dword [0x9b3e20]
mov edx, str.CPAC_requests_for
push edx
call fcn.005597c0
push dword [0x9b3e20]
call fcn.0051735c
pop eax
lea eax, [0x9ab7d0]
push eax
call fcn.00559740
mov edx, dword [0x9aba00]
push dword [0x9b3e20]
push edx
call fcn.005597c0
lea eax, [0x9ac610]
push eax
call fcn.00559740
push 0
push 0
mov eax, str.Sending_email...
push eax
call fcn.004ee8a9
mov edx, dword [0x9abdc4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
lea eax, [0x9adc50]
push eax
call fcn.00559740
push dword [0x9adc50]
push dword [0x9aba00]
push dword [0x9ac610]
push dword [0x9ab7d0]
call fcn.004e6408
mov dword [0x9adc7c], eax
call fcn.00505b4e
ret