Function at 0x4da44c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x19
push 0
push 0
dec ecx
jne 0x4da455
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call sub.rtl70.bpl__System__LStrAddRef_qqrpv
mov eax, dword [ebp - 8]
call sub.rtl70.bpl__System__LStrAddRef_qqrpv
mov eax, dword [ebp + 0xc]
call sub.rtl70.bpl__System__LStrAddRef_qqrpv
xor eax, eax
push ebp
push 0x4daab6
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp + 0xc]
mov edx, 0x4daad4
call sub.rtl70.bpl__System__LStrCmp_qqrv
jne 0x4da4b4
lea eax, [ebp + 0xc]
mov edx, 0x4daae0
call sub.rtl70.bpl__System__LStrLAsg_qqrpvpxv
mov eax, dword [ebp + 0xc]
mov edx, 0x4daaec
call sub.rtl70.bpl__System__LStrCmp_qqrv
jne 0x4da4d0
lea eax, [ebp + 0xc]
mov edx, 0x4daaf8
call sub.rtl70.bpl__System__LStrLAsg_qqrpvpxv
mov eax, dword [ebp + 0xc]
mov edx, 0x4dab04
call sub.rtl70.bpl__System__LStrCmp_qqrv
jne 0x4da4ec
lea eax, [ebp + 0xc]
mov edx, 0x4dab10
call sub.rtl70.bpl__System__LStrLAsg_qqrpvpxv
push 0x4dab1c
push dword [ebp + 0xc]
push 0x4dabb0
push dword [ebp - 4]
push 0x4dabcc
push dword [ebp - 8]
push 0x4dabe8
push 0x4dabf4
push 0x4dac08
push dword [ebp + 0xc]
push 0x4dabb0
push dword [ebp - 4]
push 0x4dabcc
push dword [ebp - 8]
push 0x4dabe8
lea eax, [ebp - 0x64]
mov edx, 0xf
call sub.rtl70.bpl__System__LStrCatN_qqrv
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x60]
call sub.rtl70.bpl__System_AnsiToUtf8_qqrx17System_AnsiString
mov edx, dword [ebp - 0x60]
mov eax, dword [ebx + 0x1c]
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteDatabase_GetTable_qqrx17System_AnsiString
mov ebx, eax
mov esi, dword [ebx + 8]
test esi, esi
je 0x4daa6e
push esi
mov eax, edi
mov ecx, 1
mov edx, dword [sym.P_Interface.bpl___xp_20Skpubdata_TitemArray]
call sub.rtl70.bpl__System__DynArraySetLength_qqrv
add esp, 4
mov eax, ebx
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_MoveFirst_qqrv
mov eax, dword [ebx + 8]
dec eax
test eax, eax
jl 0x4daa6a
inc eax
mov dword [ebp - 0x5c], eax
xor esi, esi
lea ecx, [ebp - 0x68]
mov edx, 0x4dacb4
mov eax, ebx
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x68]
mov edx, esi
shl edx, 4
add edx, esi
mov ecx, dword [edi]
lea edx, [ecx + edx*8]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x7c]
mov edx, 0x4dacc4
mov eax, ebx
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x78]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
mov eax, dword [ebp - 0x78]
call sub.rtl70.bpl__Sysutils_StrToInt_qqrx17System_AnsiString
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], 0
lea edx, [ebp - 0x74]
xor ecx, ecx
mov eax, 0x4dacd4
call sub.rtl70.bpl__Sysutils_Format_qqrx17System_AnsiStringpx14System_TVarRecxi
mov edx, dword [ebp - 0x6c]
mov eax, esi
shl eax, 4
add eax, esi
mov ecx, dword [edi]
lea eax, [ecx + eax*8 + 4]
call sub.rtl70.bpl__System__LStrAsg_qqrpvpxv
lea ecx, [ebp - 0x80]
mov edx, 0x4dace4
mov eax, ebx
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x80]
mov edx, esi
shl edx, 4
add edx, esi
mov ecx, dword [edi]
lea edx, [ecx + edx*8 + 8]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0x84]
mov edx, 0x4dacf4
mov eax, ebx
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x84]
mov edx, esi
shl edx, 4
add edx, esi
mov ecx, dword [edi]
lea edx, [ecx + edx*8 + 0xc]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0x88]
mov edx, 0x4dad04
mov eax, ebx
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x88]
mov edx, esi
shl edx, 4
add edx, esi
mov ecx, dword [edi]
lea edx, [ecx + edx*8 + 0x10]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0x8c]
mov edx, 0x4dad14
mov eax, ebx
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x8c]
mov edx, esi
shl edx, 4
add edx, esi
mov ecx, dword [edi]
lea edx, [ecx + edx*8 + 0x14]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0x90]
mov edx, 0x4dad24
mov eax, ebx
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x90]
mov edx, esi
shl edx, 4
add edx, esi
mov ecx, dword [edi]
lea edx, [ecx + edx*8 + 0x84]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0x94]
mov edx, 0x4dad30
mov eax, ebx
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x94]
mov edx, esi
shl edx, 4
add edx, esi
mov ecx, dword [edi]
lea edx, [ecx + edx*8 + 0x80]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0x98]
mov edx, 0x4dad40
mov eax, ebx
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x98]
mov edx, esi
shl edx, 4
add edx, esi
mov ecx, dword [edi]
lea edx, [ecx + edx*8 + 0x74]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0x9c]
mov edx, 0x4dad50
mov eax, ebx
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0x9c]
mov edx, esi
shl edx, 4
add edx, esi
mov ecx, dword [edi]
lea edx, [ecx + edx*8 + 0x78]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
lea ecx, [ebp - 0xa0]
mov edx, 0x4dad60
mov eax, ebx
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0xa0]
mov edx, esi
shl edx, 4
add edx, esi
mov ecx, dword [edi]
lea edx, [ecx + edx*8 + 0x7c]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
push 0
push 0
push 0
lea ecx, [ebp - 0xa8]
mov edx, 0x4dad70
mov eax, ebx
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0xa4]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
mov eax, dword [ebp - 0xa4]
call sub.rtl70.bpl__Sysutils_StrToFloatDef_qqrx17System_AnsiStringxg
fstp xword [ebp - 0x18]
wait
push 0
push 0
push 0
lea ecx, [ebp - 0xb0]
mov edx, 0x4dad80
mov eax, ebx
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0xb0]
lea edx, [ebp - 0xac]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
mov eax, dword [ebp - 0xac]
call sub.rtl70.bpl__Sysutils_StrToFloatDef_qqrx17System_AnsiStringxg
fstp xword [ebp - 0x28]
wait
push 0
push 0
push 0
lea ecx, [ebp - 0xb8]
mov edx, 0x4dad90
mov eax, ebx
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0xb8]
lea edx, [ebp - 0xb4]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
mov eax, dword [ebp - 0xb4]
call sub.rtl70.bpl__Sysutils_StrToFloatDef_qqrx17System_AnsiStringxg
fstp xword [ebp - 0x38]
wait
push 0
push 0
push 0
lea ecx, [ebp - 0xc0]
mov edx, 0x4dad9c
mov eax, ebx
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0xbc]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
mov eax, dword [ebp - 0xbc]
call sub.rtl70.bpl__Sysutils_StrToFloatDef_qqrx17System_AnsiStringxg
fstp xword [ebp - 0x48]
wait
push 0
push 0
push 0
lea ecx, [ebp - 0xc8]
mov edx, 0x4dada8
mov eax, ebx
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0xc8]
lea edx, [ebp - 0xc4]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
mov eax, dword [ebp - 0xc4]
call sub.rtl70.bpl__Sysutils_StrToFloatDef_qqrx17System_AnsiStringxg
fstp xword [ebp - 0x58]
wait
lea ecx, [ebp - 0xd0]
mov edx, 0x4dadb4
mov eax, ebx
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_GetFieldByName_qqr17System_AnsiString
mov eax, dword [ebp - 0xd0]
lea edx, [ebp - 0xcc]
call sub.rtl70.bpl__System_Utf8ToAnsi_qqrx17System_AnsiString
mov eax, dword [ebp - 0xcc]
mov edx, 0x4dadc4
call sub.rtl70.bpl__System__LStrCmp_qqrv
jne 0x4da951
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [edi]
xor ecx, ecx
mov dword [edx + eax*8 + 0x28], ecx
mov dword [edx + eax*8 + 0x2c], ecx
mov word [edx + eax*8 + 0x30], cx
mov ax, word [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, 8
call sub.PCommonUtil.bpl__Ncutil_round2_qqrxgi
fabs
fld xword [0x4dadc8]
fcompp
fnstsw ax
sahf
jae 0x4da92c
fld xword [ebp - 0x38]
fld xword [ebp - 0x18]
fdivp st(1)
add esp, 0xfffffff4
fstp xword [esp]
wait
mov eax, 8
call sub.PCommonUtil.bpl__Ncutil_round2_qqrxgi
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [edi]
fstp xword [edx + eax*8 + 0x28]
wait
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [edi]
mov ecx, dword [ebp - 0x28]
mov dword [edx + eax*8 + 0x38], ecx
mov ecx, dword [ebp - 0x24]
mov dword [edx + eax*8 + 0x3c], ecx
mov cx, word [ebp - 0x20]
mov word [edx + eax*8 + 0x40], cx
jmp 0x4da9d9
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [edi]
xor ecx, ecx
mov dword [edx + eax*8 + 0x38], ecx
mov dword [edx + eax*8 + 0x3c], ecx
mov word [edx + eax*8 + 0x40], cx
mov ax, word [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, 8
call sub.PCommonUtil.bpl__Ncutil_round2_qqrxgi
fabs
fld xword [0x4dadc8]
fcompp
fnstsw ax
sahf
jae 0x4da9b9
fld xword [ebp - 0x38]
fld xword [ebp - 0x48]
faddp st(1)
fld xword [ebp - 0x18]
fdivp st(1)
add esp, 0xfffffff4
fstp xword [esp]
wait
mov eax, 8
call sub.PCommonUtil.bpl__Ncutil_round2_qqrxgi
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [edi]
fstp xword [edx + eax*8 + 0x38]
wait
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [edi]
mov ecx, dword [ebp - 0x28]
mov dword [edx + eax*8 + 0x28], ecx
mov ecx, dword [ebp - 0x24]
mov dword [edx + eax*8 + 0x2c], ecx
mov cx, word [ebp - 0x20]
mov word [edx + eax*8 + 0x30], cx
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [edi]
mov ecx, dword [ebp - 0x18]
mov dword [edx + eax*8 + 0x18], ecx
mov ecx, dword [ebp - 0x14]
mov dword [edx + eax*8 + 0x1c], ecx
mov cx, word [ebp - 0x10]
mov word [edx + eax*8 + 0x20], cx
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [edi]
mov ecx, dword [ebp - 0x38]
mov dword [edx + eax*8 + 0x48], ecx
mov ecx, dword [ebp - 0x34]
mov dword [edx + eax*8 + 0x4c], ecx
mov cx, word [ebp - 0x30]
mov word [edx + eax*8 + 0x50], cx
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [edi]
mov ecx, dword [ebp - 0x48]
mov dword [edx + eax*8 + 0x58], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + eax*8 + 0x5c], ecx
mov cx, word [ebp - 0x40]
mov word [edx + eax*8 + 0x60], cx
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [edi]
mov ecx, dword [ebp - 0x58]
mov dword [edx + eax*8 + 0x68], ecx
mov ecx, dword [ebp - 0x54]
mov dword [edx + eax*8 + 0x6c], ecx
mov cx, word [ebp - 0x50]
mov word [edx + eax*8 + 0x70], cx
mov eax, ebx
call sym.P_Interface.bpl__Sqlitetable3_TSQLiteTable_Next_qqrv
inc esi
dec dword [ebp - 0x5c]
jne 0x4da58a
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4daabd
lea eax, [ebp - 0xd0]
mov edx, 0x17
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x6c]
mov edx, 3
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x60]
call sub.rtl70.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 8]
mov edx, 2
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp + 0xc]
call sub.rtl70.bpl__System__LStrClr_qqrpv
ret