Function at 0x420780
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x24
push 0
push 0
dec ecx
jne 0x420788
push ebx
push esi
push edi
mov dword [ebp - 0x1c], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4212c7
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 0x4211ec
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax + 0x6c]
test ebx, ebx
jne 0x420868
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, 0x4212e4
call sub.PublicPkg160.bpl__Suputransdatamod_TSpCustomTransDataMod_TMsg_qqrx20System_UnicodeString
push dword [ebp - 0x3c]
push 0x421300
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x40]
push 0x421310
lea ecx, [ebp - 0x40]
mov eax, dword [esi + 0x84]
mov edx, 0x421320
call sub.PublicPkg160.bpl__Suputransdatamod_TSpCustomTransDataMod_TMsg_qqrx20System_UnicodeString
push dword [ebp - 0x40]
push 0x42133c
push 0x42134c
lea ecx, [ebp - 0x44]
mov eax, dword [esi + 0x84]
mov edx, 0x42135c
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.00410b20
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 0x4208bc
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, 0x421378
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
je 0x4208bc
lea eax, [ebp - 8]
mov edx, 0x421378
call sub.RtlVcl160.bpl__System__UStrCat_qqrr20System_UnicodeStringx20System_UnicodeString
mov eax, dword [ebx + 8]
mov edx, 0x421388
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
je 0x4208de
mov eax, dword [ebx + 8]
mov edx, 0x4213a4
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
jne 0x420964
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 0x420933
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, 0x4213c0
call sub.PublicPkg160.bpl__Suputransdatamod_TSpCustomTransDataMod_TMsg_qqrx20System_UnicodeString
mov eax, dword [ebp - 0x50]
call fcn.00410b20
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 0x420964
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 0x4211ec
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 0x4209af
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, 0x421378
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
je 0x4209af
lea eax, [ebp - 0xc]
mov edx, 0x421378
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 0x4209dc
cmp dword [ebp - 0x10], 0
jne 0x420a6e
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, 0x4212e4
call sub.PublicPkg160.bpl__Suputransdatamod_TSpCustomTransDataMod_TMsg_qqrx20System_UnicodeString
push dword [ebp - 0x60]
push 0x421300
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x40]
push 0x421310
lea ecx, [ebp - 0x64]
mov eax, dword [esi + 0x84]
mov edx, 0x421320
call sub.PublicPkg160.bpl__Suputransdatamod_TSpCustomTransDataMod_TMsg_qqrx20System_UnicodeString
push dword [ebp - 0x64]
push 0x42133c
push 0x42134c
lea ecx, [ebp - 0x68]
mov eax, dword [esi + 0x84]
mov edx, 0x42135c
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.00410b20
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, 0x4213dc
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
je 0x420aa6
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, 0x4213f8
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
jne 0x420c81
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, 0x421414
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
jne 0x420c81
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, 0x421414
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
jne 0x420c81
xor eax, eax
call fcn.00415204
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
call sub.PublicPkg160.bpl__Data_Db_TDataSet_Close_qqrv
push 0x42142c
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x80]
push dword [ebp - 0x84]
push 0x421484
push 0x421494
push 0x421484
call sub.RtlVcl160.bpl__System_Sysutils_Date_qqrv
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x88]
mov eax, 0x4214b8
call sub.RtlVcl160.bpl__System_Sysutils_FormatDateTime_qqrx20System_UnicodeString16System_TDateTime
push dword [ebp - 0x88]
push 0x421484
push 0x4214d8
push 0x421484
push 0x421484
push 0x42150c
push 0x421484
push 0x421484
push 0x421520
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 0x420c79
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, 0x421530
call sub.PublicPkg160.bpl__Suputransdatamod_TSpCustomTransDataMod_TMsg_qqrx20System_UnicodeString
push dword [ebp - 0x90]
push 0x421300
lea edx, [ebp - 0x94]
mov eax, dword [ebp - 0x1c]
call sub.PublicPkg160.bpl__Data_Db_TField_GetDisplayLabel_qqrv
push dword [ebp - 0x94]
push 0x42154c
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 0x421310
lea ecx, [ebp - 0xa0]
mov eax, dword [esi + 0x84]
mov edx, 0x42155c
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.00410b20
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 0x420d4f
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 0x420caa
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 0x420cdb
push 0x421578
push dword [ebp - 0x14]
push 0x421588
lea eax, [ebp - 0x14]
mov edx, 3
call sub.RtlVcl160.bpl__System__UStrCatN_qqrv
push dword [ebp - 0x14]
push 0x421578
push dword [ebp - 0x10]
push 0x4215a4
push 0x421484
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 0x421484
push 0x421520
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 0x420e49
push 0x4215b4
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 0x4215e0
push dword [ebp - 0x10]
push 0x4215a4
push 0x421484
lea edx, [ebp - 0xb4]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x80]
push dword [ebp - 0xb4]
push 0x421484
push 0x421520
lea eax, [ebp - 4]
mov edx, 9
call sub.RtlVcl160.bpl__System__UStrCatN_qqrv
mov eax, dword [esi + 0x98]
test eax, eax
je 0x420dd6
mov edx, dword [ebp - 0x1c]
push edx
lea edx, [ebp - 0xb8]
push edx
lea edx, [ebp - 0x14]
mov ecx, dword [ebp - 4]
call fcn.0046067c
cmp dword [ebp - 0x14], 0
je 0x420df9
push dword [ebp - 4]
push 0x421600
push dword [ebp - 0x14]
push 0x421520
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.00415204
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
call sub.PublicPkg160.bpl__Data_Db_TDataSet_GetActive_qqrv
test al, al
je 0x420e22
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 0x420f86
mov eax, dword [ebx + 8]
mov edx, 0x421388
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
je 0x420e7a
mov eax, dword [ebx + 8]
mov edx, 0x4213a4
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
jne 0x420ef5
push 0x42161c
lea eax, [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, 0x421414
mov eax, 0x421634
call fcn.0041405c
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 0x4211b1
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, 0x421530
call sub.PublicPkg160.bpl__Suputransdatamod_TSpCustomTransDataMod_TMsg_qqrx20System_UnicodeString
push dword [ebp - 0xe4]
push 0x421300
lea edx, [ebp - 0xe8]
mov eax, dword [ebp - 0x1c]
call sub.PublicPkg160.bpl__Data_Db_TField_GetDisplayLabel_qqrv
push dword [ebp - 0xe8]
push 0x421310
lea ecx, [ebp - 0xec]
mov eax, dword [esi + 0x84]
mov edx, 0x42164c
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.00410b20
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 0x4211b1
cmp dword [ebp - 8], 0
je 0x4211b1
cmp dword [ebp - 0xc], 0
je 0x4211b1
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 0xa5]
add al, 0xfe
sub al, 2
jb 0x421169
mov eax, dword [ebp - 0x20]
call sub.PublicPkg160.bpl__Data_Db_TDataSet_Edit_qqrv
jmp 0x421169
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, 0x421378
call fcn.004104b8
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 0x42110f
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, 0x421378
call fcn.004104b8
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 0x42110f
xor eax, eax
push ebp
push 0x421105
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, 0x421378
call fcn.004104b8
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, 0x421378
call fcn.004104b8
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 0x42110f
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, 0x421378
call fcn.004104b8
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, 0x421378
call fcn.004104b8
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, 0x421378
call fcn.004104b8
test eax, eax
jle 0x4211b1
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, 0x421378
call fcn.004104b8
test eax, eax
jg 0x420fbb
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xc], 1
jne 0x4211e4
cmp byte [ebp - 0x25], 0
jne 0x4211c8
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 0x4211ec
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 0x4212d1
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