Function at 0x41e42c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x24
push 0
push 0
dec ecx
jne 0x41e434
push ebx
push esi
push edi
mov dword [ebp - 0x1c], edx
mov esi, eax
xor eax, eax
push ebp
push 0x41ef73
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 0x41ee98
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax + 0x6c]
test ebx, ebx
jne 0x41e514
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, 0x41ef90
call sub.PublicPkg160.bpl__Suputransdatamod_TSpCustomTransDataMod_TMsg_qqrx20System_UnicodeString
push dword [ebp - 0x3c]
push 0x41efac
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x40]
push 0x41efbc
lea ecx, [ebp - 0x40]
mov eax, dword [esi + 0x84]
mov edx, 0x41efcc
call sub.PublicPkg160.bpl__Suputransdatamod_TSpCustomTransDataMod_TMsg_qqrx20System_UnicodeString
push dword [ebp - 0x40]
push 0x41efe8
push 0x41eff8
lea ecx, [ebp - 0x44]
mov eax, dword [esi + 0x84]
mov edx, 0x41f008
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.0040f11c
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 0x41e568
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, 0x41f024
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
je 0x41e568
lea eax, [ebp - 8]
mov edx, 0x41f024
call sub.RtlVcl160.bpl__System__UStrCat_qqrr20System_UnicodeStringx20System_UnicodeString
mov eax, dword [ebx + 8]
mov edx, 0x41f034
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
je 0x41e58a
mov eax, dword [ebx + 8]
mov edx, 0x41f050
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
jne 0x41e610
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 0x41e5df
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, 0x41f06c
call sub.PublicPkg160.bpl__Suputransdatamod_TSpCustomTransDataMod_TMsg_qqrx20System_UnicodeString
mov eax, dword [ebp - 0x50]
call fcn.0040f11c
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 0x41e610
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 0x41ee98
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 0x41e65b
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, 0x41f024
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
je 0x41e65b
lea eax, [ebp - 0xc]
mov edx, 0x41f024
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 0x41e688
cmp dword [ebp - 0x10], 0
jne 0x41e71a
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, 0x41ef90
call sub.PublicPkg160.bpl__Suputransdatamod_TSpCustomTransDataMod_TMsg_qqrx20System_UnicodeString
push dword [ebp - 0x60]
push 0x41efac
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x40]
push 0x41efbc
lea ecx, [ebp - 0x64]
mov eax, dword [esi + 0x84]
mov edx, 0x41efcc
call sub.PublicPkg160.bpl__Suputransdatamod_TSpCustomTransDataMod_TMsg_qqrx20System_UnicodeString
push dword [ebp - 0x64]
push 0x41efe8
push 0x41eff8
lea ecx, [ebp - 0x68]
mov eax, dword [esi + 0x84]
mov edx, 0x41f008
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.0040f11c
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, 0x41f088
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
je 0x41e752
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, 0x41f0a4
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
jne 0x41e92d
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, 0x41f0c0
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
jne 0x41e92d
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, 0x41f0c0
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
jne 0x41e92d
xor eax, eax
call fcn.004132c4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
call sub.PublicPkg160.bpl__Data_Db_TDataSet_Close_qqrv
push 0x41f0d8
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x80]
push dword [ebp - 0x84]
push 0x41f130
push 0x41f140
push 0x41f130
call sub.RtlVcl160.bpl__System_Sysutils_Date_qqrv
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x88]
mov eax, 0x41f164
call sub.RtlVcl160.bpl__System_Sysutils_FormatDateTime_qqrx20System_UnicodeString16System_TDateTime
push dword [ebp - 0x88]
push 0x41f130
push 0x41f184
push 0x41f130
push 0x41f130
push 0x41f1b8
push 0x41f130
push 0x41f130
push 0x41f1cc
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 0x41e925
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, 0x41f1dc
call sub.PublicPkg160.bpl__Suputransdatamod_TSpCustomTransDataMod_TMsg_qqrx20System_UnicodeString
push dword [ebp - 0x90]
push 0x41efac
lea edx, [ebp - 0x94]
mov eax, dword [ebp - 0x1c]
call sub.PublicPkg160.bpl__Data_Db_TField_GetDisplayLabel_qqrv
push dword [ebp - 0x94]
push 0x41f1f8
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 0x41efbc
lea ecx, [ebp - 0xa0]
mov eax, dword [esi + 0x84]
mov edx, 0x41f208
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.0040f11c
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 0x41e9fb
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 0x41e956
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 0x41e987
push 0x41f224
push dword [ebp - 0x14]
push 0x41f234
lea eax, [ebp - 0x14]
mov edx, 3
call sub.RtlVcl160.bpl__System__UStrCatN_qqrv
push dword [ebp - 0x14]
push 0x41f224
push dword [ebp - 0x10]
push 0x41f250
push 0x41f130
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 0x41f130
push 0x41f1cc
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 0x41eaf5
push 0x41f260
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 0x41f28c
push dword [ebp - 0x10]
push 0x41f250
push 0x41f130
lea edx, [ebp - 0xb4]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x80]
push dword [ebp - 0xb4]
push 0x41f130
push 0x41f1cc
lea eax, [ebp - 4]
mov edx, 9
call sub.RtlVcl160.bpl__System__UStrCatN_qqrv
mov eax, dword [esi + 0x98]
test eax, eax
je 0x41ea82
mov edx, dword [ebp - 0x1c]
push edx
lea edx, [ebp - 0xb8]
push edx
lea edx, [ebp - 0x14]
mov ecx, dword [ebp - 4]
call fcn.0045f128
cmp dword [ebp - 0x14], 0
je 0x41eaa5
push dword [ebp - 4]
push 0x41f2ac
push dword [ebp - 0x14]
push 0x41f1cc
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.004132c4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
call sub.PublicPkg160.bpl__Data_Db_TDataSet_GetActive_qqrv
test al, al
je 0x41eace
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 0x41ec32
mov eax, dword [ebx + 8]
mov edx, 0x41f034
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
je 0x41eb26
mov eax, dword [ebx + 8]
mov edx, 0x41f050
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
jne 0x41eba1
push 0x41f2c8
lea eax, [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, 0x41f0c0
mov eax, 0x41f2e0
call fcn.00412300
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 0x41ee5d
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, 0x41f1dc
call sub.PublicPkg160.bpl__Suputransdatamod_TSpCustomTransDataMod_TMsg_qqrx20System_UnicodeString
push dword [ebp - 0xe4]
push 0x41efac
lea edx, [ebp - 0xe8]
mov eax, dword [ebp - 0x1c]
call sub.PublicPkg160.bpl__Data_Db_TField_GetDisplayLabel_qqrv
push dword [ebp - 0xe8]
push 0x41efbc
lea ecx, [ebp - 0xec]
mov eax, dword [esi + 0x84]
mov edx, 0x41f2f8
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.0040f11c
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 0x41ee5d
cmp dword [ebp - 8], 0
je 0x41ee5d
cmp dword [ebp - 0xc], 0
je 0x41ee5d
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 0xa5]
add al, 0xfe
sub al, 2
jb 0x41ee15
mov eax, dword [ebp - 0x20]
call sub.PublicPkg160.bpl__Data_Db_TDataSet_Edit_qqrv
jmp 0x41ee15
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, 0x41f024
call fcn.0040eca4
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 0x41edbb
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, 0x41f024
call fcn.0040eca4
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 0x41edbb
xor eax, eax
push ebp
push 0x41edb1
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, 0x41f024
call fcn.0040eca4
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, 0x41f024
call fcn.0040eca4
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 0x41edbb
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, 0x41f024
call fcn.0040eca4
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, 0x41f024
call fcn.0040eca4
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, 0x41f024
call fcn.0040eca4
test eax, eax
jle 0x41ee5d
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, 0x41f024
call fcn.0040eca4
test eax, eax
jg 0x41ec67
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xc], 1
jne 0x41ee90
cmp byte [ebp - 0x25], 0
jne 0x41ee74
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 0x41ee98
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 0x41ef7d
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