Function at 0x451114
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x24
push 0
push 0
dec ecx
jne 0x45111c
push ebx
push esi
push edi
mov dword [ebp - 0x1c], edx
mov esi, eax
xor eax, eax
push ebp
push 0x451c5b
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x80]
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call sub.RtlVcl160.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
cmp dword [ebp - 0x30], 0
je 0x451b80
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax + 0x6c]
test ebx, ebx
jne 0x4511fc
mov eax, dword [sym.imp.RtlVcl160.bpl__Vcl_Forms_Screen]
mov eax, dword [eax]
xor edx, edx
call sub.RtlVcl160.bpl__Vcl_Forms_TScreen_SetCursor_qqr22System_Uitypes_TCursor
lea ecx, [ebp - 0x3c]
mov eax, dword [esi + 0x84]
mov edx, 0x451c78
call sub.PublicPkg160.bpl__Suputransdatamod_TSpCustomTransDataMod_TMsg_qqrx20System_UnicodeString
push dword [ebp - 0x3c]
push 0x451c94
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x40]
push 0x451ca4
lea ecx, [ebp - 0x40]
mov eax, dword [esi + 0x84]
mov edx, 0x451cb4
call sub.PublicPkg160.bpl__Suputransdatamod_TSpCustomTransDataMod_TMsg_qqrx20System_UnicodeString
push dword [ebp - 0x40]
push 0x451cd0
push 0x451ce0
lea ecx, [ebp - 0x44]
mov eax, dword [esi + 0x84]
mov edx, 0x451cf0
call sub.PublicPkg160.bpl__Suputransdatamod_TSpCustomTransDataMod_TMsg_qqrx20System_UnicodeString
push dword [ebp - 0x44]
lea eax, [ebp - 0x38]
mov edx, 8
call sub.RtlVcl160.bpl__System__UStrCatN_qqrv
mov eax, dword [ebp - 0x38]
call fcn.00410198
mov eax, dword [sym.imp.RtlVcl160.bpl__Vcl_Forms_Screen]
mov eax, dword [eax]
xor edx, edx
call sub.RtlVcl160.bpl__Vcl_Forms_TScreen_SetCursor_qqr22System_Uitypes_TCursor
call sub.RtlVcl160.bpl__System_Sysutils_Abort_qqrv
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x70]
call sub.RtlVcl160.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
cmp dword [ebp - 8], 0
je 0x451250
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 8]
call sub.RtlVcl160.bpl__System__UStrLen_qqrx20System_UnicodeString
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 8]
call sub.RtlVcl160.bpl__System__UStrCopy_qqrx20System_UnicodeStringii
mov eax, dword [ebp - 0x48]
mov edx, 0x451d0c
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
je 0x451250
lea eax, [ebp - 8]
mov edx, 0x451d0c
call sub.RtlVcl160.bpl__System__UStrCat_qqrr20System_UnicodeStringx20System_UnicodeString
mov eax, dword [ebx + 8]
mov edx, 0x451d1c
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
je 0x451272
mov eax, dword [ebx + 8]
mov edx, 0x451d38
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
jne 0x4512f8
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x320]
call sub.RtlVcl160.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
cmp dword [ebp - 0x4c], 0
jne 0x4512c7
mov eax, dword [sym.imp.RtlVcl160.bpl__Vcl_Forms_Screen]
mov eax, dword [eax]
xor edx, edx
call sub.RtlVcl160.bpl__Vcl_Forms_TScreen_SetCursor_qqr22System_Uitypes_TCursor
lea ecx, [ebp - 0x50]
mov eax, dword [esi + 0x84]
mov edx, 0x451d54
call sub.PublicPkg160.bpl__Suputransdatamod_TSpCustomTransDataMod_TMsg_qqrx20System_UnicodeString
mov eax, dword [ebp - 0x50]
call fcn.00410198
mov eax, dword [sym.imp.RtlVcl160.bpl__Vcl_Forms_Screen]
mov eax, dword [eax]
xor edx, edx
call sub.RtlVcl160.bpl__Vcl_Forms_TScreen_SetCursor_qqr22System_Uitypes_TCursor
call sub.RtlVcl160.bpl__System_Sysutils_Abort_qqrv
jmp 0x4512f8
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x320]
mov eax, dword [ebp - 0x20]
call sub.PublicPkg160.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x54]
mov ecx, dword [eax]
call dword [ecx + 0x80]
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x18]
call sub.RtlVcl160.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
cmp dword [ebp - 0x18], 0
je 0x451b80
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x74]
call sub.RtlVcl160.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
cmp dword [ebp - 0xc], 0
je 0x451343
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0xc]
call sub.RtlVcl160.bpl__System__UStrLen_qqrx20System_UnicodeString
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 0xc]
call sub.RtlVcl160.bpl__System__UStrCopy_qqrx20System_UnicodeStringii
mov eax, dword [ebp - 0x58]
mov edx, 0x451d0c
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
je 0x451343
lea eax, [ebp - 0xc]
mov edx, 0x451d0c
call sub.RtlVcl160.bpl__System__UStrCat_qqrr20System_UnicodeStringx20System_UnicodeString
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x78]
call sub.RtlVcl160.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x90]
call sub.RtlVcl160.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
test ebx, ebx
je 0x451370
cmp dword [ebp - 0x10], 0
jne 0x451402
mov eax, dword [sym.imp.RtlVcl160.bpl__Vcl_Forms_Screen]
mov eax, dword [eax]
xor edx, edx
call sub.RtlVcl160.bpl__Vcl_Forms_TScreen_SetCursor_qqr22System_Uitypes_TCursor
lea ecx, [ebp - 0x60]
mov eax, dword [esi + 0x84]
mov edx, 0x451c78
call sub.PublicPkg160.bpl__Suputransdatamod_TSpCustomTransDataMod_TMsg_qqrx20System_UnicodeString
push dword [ebp - 0x60]
push 0x451c94
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x40]
push 0x451ca4
lea ecx, [ebp - 0x64]
mov eax, dword [esi + 0x84]
mov edx, 0x451cb4
call sub.PublicPkg160.bpl__Suputransdatamod_TSpCustomTransDataMod_TMsg_qqrx20System_UnicodeString
push dword [ebp - 0x64]
push 0x451cd0
push 0x451ce0
lea ecx, [ebp - 0x68]
mov eax, dword [esi + 0x84]
mov edx, 0x451cf0
call sub.PublicPkg160.bpl__Suputransdatamod_TSpCustomTransDataMod_TMsg_qqrx20System_UnicodeString
push dword [ebp - 0x68]
lea eax, [ebp - 0x5c]
mov edx, 8
call sub.RtlVcl160.bpl__System__UStrCatN_qqrv
mov eax, dword [ebp - 0x5c]
call fcn.00410198
mov eax, dword [sym.imp.RtlVcl160.bpl__Vcl_Forms_Screen]
mov eax, dword [eax]
xor edx, edx
call sub.RtlVcl160.bpl__Vcl_Forms_TScreen_SetCursor_qqr22System_Uitypes_TCursor
call sub.RtlVcl160.bpl__System_Sysutils_Abort_qqrv
lea edx, [ebp - 0x6c]
mov eax, dword [ebx + 8]
call sub.RtlVcl160.bpl__System_Sysutils_UpperCase_qqrx20System_UnicodeString
mov eax, dword [ebp - 0x6c]
mov edx, 0x451d70
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
je 0x45143a
lea edx, [ebp - 0x70]
mov eax, dword [ebx + 8]
call sub.RtlVcl160.bpl__System_Sysutils_UpperCase_qqrx20System_UnicodeString
mov eax, dword [ebp - 0x70]
mov edx, 0x451d8c
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
jne 0x451615
lea eax, [ebp - 0x74]
push eax
mov ecx, 5
mov edx, 1
mov eax, dword [ebp - 0xc]
call sub.RtlVcl160.bpl__System__UStrCopy_qqrx20System_UnicodeStringii
mov eax, dword [ebp - 0x74]
mov edx, 0x451da8
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
jne 0x451615
lea eax, [ebp - 0x78]
push eax
mov ecx, 5
mov edx, 1
mov eax, dword [ebp - 0x10]
call sub.RtlVcl160.bpl__System__UStrCopy_qqrx20System_UnicodeStringii
mov eax, dword [ebp - 0x78]
mov edx, 0x451da8
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
jne 0x451615
xor eax, eax
call fcn.00414c90
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
call sub.PublicPkg160.bpl__Data_Db_TDataSet_Close_qqrv
push 0x451dc0
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x80]
push dword [ebp - 0x84]
push 0x451e18
push 0x451e28
push 0x451e18
call sub.RtlVcl160.bpl__System_Sysutils_Date_qqrv
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x88]
mov eax, 0x451e4c
call sub.RtlVcl160.bpl__System_Sysutils_FormatDateTime_qqrx20System_UnicodeString16System_TDateTime
push dword [ebp - 0x88]
push 0x451e18
push 0x451e6c
push 0x451e18
push 0x451e18
push 0x451ea0
push 0x451e18
push 0x451e18
push 0x451eb4
lea eax, [ebp - 0x80]
mov edx, 0xe
call sub.RtlVcl160.bpl__System__UStrCatN_qqrv
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
call sub.RtlVcl160.bpl__System__WStrFromUStr_qqrr17System_WideStringx20System_UnicodeString
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x328]
mov eax, dword [ebp - 0x2c]
call sub.PublicPkg160.bpl__Data_Db_TDataSet_Open_qqrv
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x188]
test eax, eax
jle 0x45160d
mov eax, dword [ebp - 0x2c]
call sub.PublicPkg160.bpl__Data_Db_TDataSet_Close_qqrv
lea ecx, [ebp - 0x90]
mov eax, dword [esi + 0x84]
mov edx, 0x451ec4
call sub.PublicPkg160.bpl__Suputransdatamod_TSpCustomTransDataMod_TMsg_qqrx20System_UnicodeString
push dword [ebp - 0x90]
push 0x451c94
lea edx, [ebp - 0x94]
mov eax, dword [ebp - 0x1c]
call sub.PublicPkg160.bpl__Data_Db_TField_GetDisplayLabel_qqrv
push dword [ebp - 0x94]
push 0x451ee0
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x80]
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0x98]
call sub.RtlVcl160.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
push dword [ebp - 0x98]
push 0x451ca4
lea ecx, [ebp - 0xa0]
mov eax, dword [esi + 0x84]
mov edx, 0x451ef0
call sub.PublicPkg160.bpl__Suputransdatamod_TSpCustomTransDataMod_TMsg_qqrx20System_UnicodeString
push dword [ebp - 0xa0]
lea eax, [ebp - 0x8c]
mov edx, 7
call sub.RtlVcl160.bpl__System__UStrCatN_qqrv
mov eax, dword [ebp - 0x8c]
call fcn.00410198
mov eax, dword [sym.imp.RtlVcl160.bpl__Vcl_Forms_Screen]
mov eax, dword [eax]
xor edx, edx
call sub.RtlVcl160.bpl__Vcl_Forms_TScreen_SetCursor_qqr22System_Uitypes_TCursor
call sub.RtlVcl160.bpl__System_Sysutils_Abort_qqrv
mov eax, dword [ebp - 0x2c]
call sub.PublicPkg160.bpl__Data_Db_TDataSet_Close_qqrv
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xc], 1
jne 0x4516e3
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x24]
call sub.PublicPkg160.bpl__Data_Db_TDataSet_GetActive_qqrv
mov byte [ebp - 0x25], al
cmp byte [ebp - 0x25], 0
jne 0x45163e
mov eax, dword [ebp - 0x24]
call sub.PublicPkg160.bpl__Data_Db_TDataSet_Open_qqrv
lea edx, [ebp - 0xa4]
mov eax, dword [ebp - 0x14]
call sub.RtlVcl160.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
cmp dword [ebp - 0xa4], 0
je 0x45166f
push 0x451f0c
push dword [ebp - 0x14]
push 0x451f1c
lea eax, [ebp - 0x14]
mov edx, 3
call sub.RtlVcl160.bpl__System__UStrCatN_qqrv
push dword [ebp - 0x14]
push 0x451f0c
push dword [ebp - 0x10]
push 0x451f38
push 0x451e18
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x80]
mov eax, dword [ebp - 0xac]
lea edx, [ebp - 0xa8]
call sub.RtlVcl160.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
push dword [ebp - 0xa8]
push 0x451e18
push 0x451eb4
lea eax, [ebp - 0x14]
mov edx, 8
call sub.RtlVcl160.bpl__System__UStrCatN_qqrv
mov dl, 1
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x1cc]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x1d4]
jmp 0x4517dd
push 0x451f48
lea eax, [ebp - 0xb0]
push eax
mov eax, dword [ebx + 0x310]
mov ecx, 5
mov edx, 1
call sub.RtlVcl160.bpl__System__UStrCopy_qqrx20System_UnicodeStringii
push dword [ebp - 0xb0]
push 0x451f74
push dword [ebp - 0x10]
push 0x451f38
push 0x451e18
lea edx, [ebp - 0xb4]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x80]
push dword [ebp - 0xb4]
push 0x451e18
push 0x451eb4
lea eax, [ebp - 4]
mov edx, 9
call sub.RtlVcl160.bpl__System__UStrCatN_qqrv
mov eax, dword [esi + 0x98]
test eax, eax
je 0x45176a
mov edx, dword [ebp - 0x1c]
push edx
lea edx, [ebp - 0xb8]
push edx
lea edx, [ebp - 0x14]
mov ecx, dword [ebp - 4]
call fcn.0044cd00
cmp dword [ebp - 0x14], 0
je 0x45178d
push dword [ebp - 4]
push 0x451f94
push dword [ebp - 0x14]
push 0x451eb4
lea eax, [ebp - 4]
mov edx, 4
call sub.RtlVcl160.bpl__System__UStrCatN_qqrv
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x31c]
mov eax, dword [eax + 0xc]
call fcn.00414c90
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
call sub.PublicPkg160.bpl__Data_Db_TDataSet_GetActive_qqrv
test al, al
je 0x4517b6
mov eax, dword [ebp - 0x24]
call sub.PublicPkg160.bpl__Data_Db_TDataSet_Close_qqrv
lea eax, [ebp - 0xbc]
mov edx, dword [ebp - 4]
call sub.RtlVcl160.bpl__System__WStrFromUStr_qqrr17System_WideStringx20System_UnicodeString
mov edx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x328]
mov eax, dword [ebp - 0x24]
call sub.PublicPkg160.bpl__Data_Db_TDataSet_Open_qqrv
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x188]
test eax, eax
jne 0x45191a
mov eax, dword [ebx + 8]
mov edx, 0x451d1c
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
je 0x45180e
mov eax, dword [ebx + 8]
mov edx, 0x451d38
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
jne 0x451889
push 0x451fb0
lea eax, [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, 0x451da8
mov eax, 0x451fc8
call fcn.00413b58
lea edx, [ebp - 0xd4]
lea eax, [ebp - 0xc4]
call sub.RtlVcl160.bpl__System_Variants__VarToUStr_qqrr20System_UnicodeStringrx8TVarData
mov eax, dword [ebp - 0xc4]
lea edx, [ebp - 0xc0]
call sub.RtlVcl160.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
mov eax, dword [ebp - 0xc0]
push eax
lea edx, [ebp - 0xdc]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x80]
mov eax, dword [ebp - 0xdc]
lea edx, [ebp - 0xd8]
call sub.RtlVcl160.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
mov edx, dword [ebp - 0xd8]
pop eax
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
je 0x451b45
mov eax, dword [ebp - 0x24]
call sub.PublicPkg160.bpl__Data_Db_TDataSet_Close_qqrv
lea ecx, [ebp - 0xe4]
mov eax, dword [esi + 0x84]
mov edx, 0x451ec4
call sub.PublicPkg160.bpl__Suputransdatamod_TSpCustomTransDataMod_TMsg_qqrx20System_UnicodeString
push dword [ebp - 0xe4]
push 0x451c94
lea edx, [ebp - 0xe8]
mov eax, dword [ebp - 0x1c]
call sub.PublicPkg160.bpl__Data_Db_TField_GetDisplayLabel_qqrv
push dword [ebp - 0xe8]
push 0x451ca4
lea ecx, [ebp - 0xec]
mov eax, dword [esi + 0x84]
mov edx, 0x451fe0
call sub.PublicPkg160.bpl__Suputransdatamod_TSpCustomTransDataMod_TMsg_qqrx20System_UnicodeString
push dword [ebp - 0xec]
lea eax, [ebp - 0xe0]
mov edx, 5
call sub.RtlVcl160.bpl__System__UStrCatN_qqrv
mov eax, dword [ebp - 0xe0]
call fcn.00410198
mov eax, dword [sym.imp.RtlVcl160.bpl__Vcl_Forms_Screen]
mov eax, dword [eax]
xor edx, edx
call sub.RtlVcl160.bpl__Vcl_Forms_TScreen_SetCursor_qqr22System_Uitypes_TCursor
call sub.RtlVcl160.bpl__System_Sysutils_Abort_qqrv
jmp 0x451b45
cmp dword [ebp - 8], 0
je 0x451b45
cmp dword [ebp - 0xc], 0
je 0x451b45
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 0xa5]
add al, 0xfe
sub al, 2
jb 0x451afd
mov eax, dword [ebp - 0x20]
call sub.PublicPkg160.bpl__Data_Db_TDataSet_Edit_qqrv
jmp 0x451afd
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0xf4]
mov edx, dword [ebp - 8]
call sub.RtlVcl160.bpl__System__WStrFromUStr_qqrr17System_WideStringx20System_UnicodeString
mov edx, dword [ebp - 0xf4]
mov eax, 0x451d0c
call fcn.0040fabc
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call sub.RtlVcl160.bpl__System__UStrCopy_qqrx20System_UnicodeStringii
cmp dword [ebp - 0xf0], 0
je 0x451aa3
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0xfc]
mov edx, dword [ebp - 8]
call sub.RtlVcl160.bpl__System__WStrFromUStr_qqrr17System_WideStringx20System_UnicodeString
mov edx, dword [ebp - 0xfc]
mov eax, 0x451d0c
call fcn.0040fabc
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call sub.RtlVcl160.bpl__System__UStrCopy_qqrx20System_UnicodeStringii
mov eax, dword [ebp - 0xf8]
mov edx, dword [ebp - 0x1c]
mov edx, dword [edx + 0x40]
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
je 0x451aa3
xor eax, eax
push ebp
push 0x451a99
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x108]
mov edx, dword [ebp - 0xc]
call sub.RtlVcl160.bpl__System__WStrFromUStr_qqrr17System_WideStringx20System_UnicodeString
mov edx, dword [ebp - 0x108]
mov eax, 0x451d0c
call fcn.0040fabc
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call sub.RtlVcl160.bpl__System__UStrCopy_qqrx20System_UnicodeStringii
mov edx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x24]
call sub.PublicPkg160.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
lea edx, [ebp - 0x100]
mov ecx, dword [eax]
call dword [ecx + 0x80]
mov eax, dword [ebp - 0x100]
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x110]
mov edx, dword [ebp - 8]
call sub.RtlVcl160.bpl__System__WStrFromUStr_qqrr17System_WideStringx20System_UnicodeString
mov edx, dword [ebp - 0x110]
mov eax, 0x451d0c
call fcn.0040fabc
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call sub.RtlVcl160.bpl__System__UStrCopy_qqrx20System_UnicodeStringii
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x20]
call sub.PublicPkg160.bpl__Data_Db_TDataSet_FieldByName_qqrx20System_UnicodeString
pop edx
mov ecx, dword [eax]
call dword [ecx + 0xf0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x451aa3
lea eax, [ebp - 0x114]
mov edx, dword [ebp - 8]
call sub.RtlVcl160.bpl__System__WStrFromUStr_qqrr17System_WideStringx20System_UnicodeString
mov edx, dword [ebp - 0x114]
mov eax, 0x451d0c
call fcn.0040fabc
mov ecx, eax
lea eax, [ebp - 8]
mov edx, 1
call sub.RtlVcl160.bpl__System__UStrDelete_qqrr20System_UnicodeStringii
lea eax, [ebp - 0x118]
mov edx, dword [ebp - 0xc]
call sub.RtlVcl160.bpl__System__WStrFromUStr_qqrr17System_WideStringx20System_UnicodeString
mov edx, dword [ebp - 0x118]
mov eax, 0x451d0c
call fcn.0040fabc
mov ecx, eax
lea eax, [ebp - 0xc]
mov edx, 1
call sub.RtlVcl160.bpl__System__UStrDelete_qqrr20System_UnicodeStringii
lea eax, [ebp - 0x11c]
mov edx, dword [ebp - 8]
call sub.RtlVcl160.bpl__System__WStrFromUStr_qqrr17System_WideStringx20System_UnicodeString
mov edx, dword [ebp - 0x11c]
mov eax, 0x451d0c
call fcn.0040fabc
test eax, eax
jle 0x451b45
lea eax, [ebp - 0x120]
mov edx, dword [ebp - 0xc]
call sub.RtlVcl160.bpl__System__WStrFromUStr_qqrr17System_WideStringx20System_UnicodeString
mov edx, dword [ebp - 0x120]
mov eax, 0x451d0c
call fcn.0040fabc
test eax, eax
jg 0x45194f
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xc], 1
jne 0x451b78
cmp byte [ebp - 0x25], 0
jne 0x451b5c
mov eax, dword [ebp - 0x24]
call sub.PublicPkg160.bpl__Data_Db_TDataSet_Close_qqrv
xor edx, edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x1cc]
xor edx, edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x1d4]
jmp 0x451b80
mov eax, dword [ebp - 0x24]
call sub.PublicPkg160.bpl__Data_Db_TDataSet_Close_qqrv
mov eax, dword [sym.imp.RtlVcl160.bpl__Vcl_Forms_Screen]
mov eax, dword [eax]
xor edx, edx
call sub.RtlVcl160.bpl__Vcl_Forms_TScreen_SetCursor_qqr22System_Uitypes_TCursor
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451c65
lea eax, [ebp - 0x120]
mov edx, 5
call sub.RtlVcl160.bpl__System__WStrArrayClr_qqrpvi
lea eax, [ebp - 0x10c]
call sub.RtlVcl160.bpl__System__UStrClr_qqrpv
lea eax, [ebp - 0x108]
call sub.RtlVcl160.bpl__System__WStrClr_qqrpv
lea eax, [ebp - 0x104]
mov edx, 2
call sub.RtlVcl160.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0xfc]
call sub.RtlVcl160.bpl__System__WStrClr_qqrpv
lea eax, [ebp - 0xf8]
call sub.RtlVcl160.bpl__System__UStrClr_qqrpv
lea eax, [ebp - 0xf4]
call sub.RtlVcl160.bpl__System__WStrClr_qqrpv
lea eax, [ebp - 0xf0]
mov edx, 7
call sub.RtlVcl160.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0xd4]
call sub.RtlVcl160.bpl__System_Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0xc4]
mov edx, 2
call sub.RtlVcl160.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0xbc]
call sub.RtlVcl160.bpl__System__WStrClr_qqrpv
lea eax, [ebp - 0xb8]
mov edx, 0xf
call sub.RtlVcl160.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0x7c]
call sub.RtlVcl160.bpl__System__WStrClr_qqrpv
lea eax, [ebp - 0x78]
mov edx, 0x13
call sub.RtlVcl160.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0x18]
mov edx, 6
call sub.RtlVcl160.bpl__System__UStrArrayClr_qqrpvi
ret