Function at 0x41fe70
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x24
push 0
push 0
dec ecx
jne 0x41fe78
push ebx
push esi
push edi
mov dword [ebp - 0x1c], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4209b7
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 0x4208dc
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax + 0x6c]
test ebx, ebx
jne 0x41ff58
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, 0x4209d4
call sub.PublicPkg160.bpl__Suputransdatamod_TSpCustomTransDataMod_TMsg_qqrx20System_UnicodeString
push dword [ebp - 0x3c]
push 0x4209f0
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x40]
push 0x420a00
lea ecx, [ebp - 0x40]
mov eax, dword [esi + 0x84]
mov edx, 0x420a10
call sub.PublicPkg160.bpl__Suputransdatamod_TSpCustomTransDataMod_TMsg_qqrx20System_UnicodeString
push dword [ebp - 0x40]
push 0x420a2c
push 0x420a3c
lea ecx, [ebp - 0x44]
mov eax, dword [esi + 0x84]
mov edx, 0x420a4c
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.00410bb4
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 0x41ffac
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, 0x420a68
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
je 0x41ffac
lea eax, [ebp - 8]
mov edx, 0x420a68
call sub.RtlVcl160.bpl__System__UStrCat_qqrr20System_UnicodeStringx20System_UnicodeString
mov eax, dword [ebx + 8]
mov edx, 0x420a78
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
je 0x41ffce
mov eax, dword [ebx + 8]
mov edx, 0x420a94
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
jne 0x420054
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 0x420023
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, 0x420ab0
call sub.PublicPkg160.bpl__Suputransdatamod_TSpCustomTransDataMod_TMsg_qqrx20System_UnicodeString
mov eax, dword [ebp - 0x50]
call fcn.00410bb4
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 0x420054
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 0x4208dc
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 0x42009f
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, 0x420a68
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
je 0x42009f
lea eax, [ebp - 0xc]
mov edx, 0x420a68
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 0x4200cc
cmp dword [ebp - 0x10], 0
jne 0x42015e
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, 0x4209d4
call sub.PublicPkg160.bpl__Suputransdatamod_TSpCustomTransDataMod_TMsg_qqrx20System_UnicodeString
push dword [ebp - 0x60]
push 0x4209f0
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x40]
push 0x420a00
lea ecx, [ebp - 0x64]
mov eax, dword [esi + 0x84]
mov edx, 0x420a10
call sub.PublicPkg160.bpl__Suputransdatamod_TSpCustomTransDataMod_TMsg_qqrx20System_UnicodeString
push dword [ebp - 0x64]
push 0x420a2c
push 0x420a3c
lea ecx, [ebp - 0x68]
mov eax, dword [esi + 0x84]
mov edx, 0x420a4c
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.00410bb4
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, 0x420acc
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
je 0x420196
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, 0x420ae8
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
jne 0x420371
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, 0x420b04
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
jne 0x420371
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, 0x420b04
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
jne 0x420371
xor eax, eax
call fcn.00414f94
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
call sub.PublicPkg160.bpl__Data_Db_TDataSet_Close_qqrv
push 0x420b1c
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x80]
push dword [ebp - 0x84]
push 0x420b74
push 0x420b84
push 0x420b74
call sub.RtlVcl160.bpl__System_Sysutils_Date_qqrv
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x88]
mov eax, 0x420ba8
call sub.RtlVcl160.bpl__System_Sysutils_FormatDateTime_qqrx20System_UnicodeString16System_TDateTime
push dword [ebp - 0x88]
push 0x420b74
push 0x420bc8
push 0x420b74
push 0x420b74
push 0x420bfc
push 0x420b74
push 0x420b74
push 0x420c10
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 0x420369
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, 0x420c20
call sub.PublicPkg160.bpl__Suputransdatamod_TSpCustomTransDataMod_TMsg_qqrx20System_UnicodeString
push dword [ebp - 0x90]
push 0x4209f0
lea edx, [ebp - 0x94]
mov eax, dword [ebp - 0x1c]
call sub.PublicPkg160.bpl__Data_Db_TField_GetDisplayLabel_qqrv
push dword [ebp - 0x94]
push 0x420c3c
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 0x420a00
lea ecx, [ebp - 0xa0]
mov eax, dword [esi + 0x84]
mov edx, 0x420c4c
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.00410bb4
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 0x42043f
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 0x42039a
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 0x4203cb
push 0x420c68
push dword [ebp - 0x14]
push 0x420c78
lea eax, [ebp - 0x14]
mov edx, 3
call sub.RtlVcl160.bpl__System__UStrCatN_qqrv
push dword [ebp - 0x14]
push 0x420c68
push dword [ebp - 0x10]
push 0x420c94
push 0x420b74
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 0x420b74
push 0x420c10
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 0x420539
push 0x420ca4
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 0x420cd0
push dword [ebp - 0x10]
push 0x420c94
push 0x420b74
lea edx, [ebp - 0xb4]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x80]
push dword [ebp - 0xb4]
push 0x420b74
push 0x420c10
lea eax, [ebp - 4]
mov edx, 9
call sub.RtlVcl160.bpl__System__UStrCatN_qqrv
mov eax, dword [esi + 0x98]
test eax, eax
je 0x4204c6
mov edx, dword [ebp - 0x1c]
push edx
lea edx, [ebp - 0xb8]
push edx
lea edx, [ebp - 0x14]
mov ecx, dword [ebp - 4]
call fcn.00460f68
cmp dword [ebp - 0x14], 0
je 0x4204e9
push dword [ebp - 4]
push 0x420cf0
push dword [ebp - 0x14]
push 0x420c10
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.00414f94
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
call sub.PublicPkg160.bpl__Data_Db_TDataSet_GetActive_qqrv
test al, al
je 0x420512
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 0x420676
mov eax, dword [ebx + 8]
mov edx, 0x420a78
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
je 0x42056a
mov eax, dword [ebx + 8]
mov edx, 0x420a94
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
jne 0x4205e5
push 0x420d0c
lea eax, [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, 0x420b04
mov eax, 0x420d24
call fcn.00413fd0
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 0x4208a1
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, 0x420c20
call sub.PublicPkg160.bpl__Suputransdatamod_TSpCustomTransDataMod_TMsg_qqrx20System_UnicodeString
push dword [ebp - 0xe4]
push 0x4209f0
lea edx, [ebp - 0xe8]
mov eax, dword [ebp - 0x1c]
call sub.PublicPkg160.bpl__Data_Db_TField_GetDisplayLabel_qqrv
push dword [ebp - 0xe8]
push 0x420a00
lea ecx, [ebp - 0xec]
mov eax, dword [esi + 0x84]
mov edx, 0x420d3c
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.00410bb4
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 0x4208a1
cmp dword [ebp - 8], 0
je 0x4208a1
cmp dword [ebp - 0xc], 0
je 0x4208a1
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 0xa5]
add al, 0xfe
sub al, 2
jb 0x420859
mov eax, dword [ebp - 0x20]
call sub.PublicPkg160.bpl__Data_Db_TDataSet_Edit_qqrv
jmp 0x420859
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, 0x420a68
call fcn.004104d8
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 0x4207ff
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, 0x420a68
call fcn.004104d8
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 0x4207ff
xor eax, eax
push ebp
push 0x4207f5
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, 0x420a68
call fcn.004104d8
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, 0x420a68
call fcn.004104d8
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 0x4207ff
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, 0x420a68
call fcn.004104d8
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, 0x420a68
call fcn.004104d8
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, 0x420a68
call fcn.004104d8
test eax, eax
jle 0x4208a1
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, 0x420a68
call fcn.004104d8
test eax, eax
jg 0x4206ab
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xc], 1
jne 0x4208d4
cmp byte [ebp - 0x25], 0
jne 0x4208b8
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 0x4208dc
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 0x4209c1
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