Function at 0x463990
Capabilities:
Access peb ldr_data
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x463c3b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4639ce
mov dword [ebp - 0x14], eax
jmp 0x463c10
lea eax, [ebp - 4]
mov edx, 0x463c58
call sub.rtl170.bpl__System__LStrLAsg_qqrr27System__AnsiStringT_us_i0__x27System__AnsiStringT_us_i0__
mov eax, dword [0x5e3a1c]
mov eax, dword [eax]
call sub.dac170.bpl__Memutils_GetGCHandleTarget_qqrpv
mov ecx, eax
mov dl, 1
mov eax, dword [0x44c538]
call fcn.00465eac
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x26]
call sub.dac170.bpl__Memutils_OrdinalToPtr_qqrrus
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x28]
call sub.dac170.bpl__Memutils_OrdinalToPtr_qqrrus
mov dword [ebp - 0x30], eax
mov edx, 0xfa0
mov eax, dword [sym.imp.dac170.bpl__Clrclasses_Marshal_]
call sub.dac170.bpl__Clrclasses_Marshal_AllocHGlobal_qqri
mov dword [ebp - 0x20], eax
mov edx, 0xfa0
mov eax, dword [sym.imp.dac170.bpl__Clrclasses_Marshal_]
call sub.dac170.bpl__Clrclasses_Marshal_AllocHGlobal_qqri
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x463c09
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
add eax, 0x28
mov edx, dword [ebp - 4]
call sub.rtl170.bpl__System__LStrAsg_qqrr27System__AnsiStringT_us_i0__x27System__AnsiStringT_us_i0__
mov eax, dword [ebp - 0x18]
mov word [eax + 0x30], 8
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x44bd30]
call fcn.0046223c
mov edi, eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x20]
mov edx, edi
call sub.rtl170.bpl__System_Classes_TList_Add_qqrpv
lea eax, [edi + 0xc]
mov edx, 0x463cf4
call sub.rtl170.bpl__System__LStrAsg_qqrr27System__AnsiStringT_us_i0__x27System__AnsiStringT_us_i0__
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x44bd30]
call fcn.0046223c
mov edi, eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x20]
mov edx, edi
call sub.rtl170.bpl__System_Classes_TList_Add_qqrpv
lea eax, [edi + 0xc]
mov edx, 0x463d04
call sub.rtl170.bpl__System__LStrAsg_qqrr27System__AnsiStringT_us_i0__x27System__AnsiStringT_us_i0__
push 1
mov eax, dword [ebp - 0x20]
push eax
push 0xfa0
push 9
push 0
mov eax, dword [ebp - 0x2c]
push eax
push 0
push 0
lea edx, [ebp - 0x1c]
mov ecx, ebx
mov eax, dword [ebp - 0x18]
call fcn.00469b14
xor edx, edx
call fcn.00449470
push 2
mov eax, dword [ebp - 0x24]
push eax
push 0xfa0
push 9
push 0
mov eax, dword [ebp - 0x30]
push eax
push 0
push 0
lea edx, [ebp - 0x1c]
mov ecx, ebx
mov eax, dword [ebp - 0x18]
call fcn.00469b14
xor edx, edx
call fcn.00449470
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x10], esi
push 0
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 0x18]
call fcn.00469b98
xor edx, edx
call fcn.00449470
lea edx, [ebp - 0x26]
mov eax, dword [ebp - 0x2c]
call sub.dac170.bpl__Memutils_PtrToOrdinal_qqrpvrus
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x30]
call sub.dac170.bpl__Memutils_PtrToOrdinal_qqrpvrus
lea eax, [ebp - 8]
push eax
movzx ecx, word [ebp - 0x26]
mov edx, dword [ebp - 0x20]
mov eax, dword [sym.imp.dac170.bpl__Clrclasses_Marshal_]
call sub.dac170.bpl__Clrclasses_Marshal_PtrToStringAnsi_qqrpvi
lea eax, [ebp - 0x10]
push eax
movzx ecx, word [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov eax, dword [sym.imp.dac170.bpl__Clrclasses_Marshal_]
call sub.dac170.bpl__Clrclasses_Marshal_PtrToStringAnsi_qqrpvi
mov edi, 1
lea eax, [ebp - 0xc]
call sub.rtl170.bpl__System__LStrClr_qqrpv
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x463bc7
mov eax, dword [ebp - 0x10]
movzx ebx, byte [eax + edi - 1]
cmp bl, 0x2e
jne 0x463bac
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0xc]
call sub.rtl170.bpl__System__UStrFromLStr_qqrr20System_UnicodeStringx27System__AnsiStringT_us_i0__
mov eax, dword [ebp - 0x34]
call sub.rtl170.bpl__System_Sysutils_StrToInt_qqrx20System_UnicodeString
mov edx, dword [ebp - 0x14]
add edx, edx
lea edx, [edx + edx*4]
add eax, edx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xc]
call sub.rtl170.bpl__System__LStrClr_qqrpv
jmp 0x463bc6
lea eax, [ebp - 0x38]
mov edx, ebx
mov ecx, 0
call sub.rtl170.bpl__System__LStrFromChar_qqrr27System__AnsiStringT_us_i0__cus
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0xc]
call sub.rtl170.bpl__System__LStrCat_qqrr27System__AnsiStringT_us_i0__x27System__AnsiStringT_us_i0__
inc edi
mov eax, dword [ebp - 0x10]
call sub.rtl170.bpl__System__LStrLen_qqrx27System__AnsiStringT_us_i0__
cmp edi, eax
jle 0x463b75
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x3c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463c10
mov edx, dword [ebp - 0x20]
mov eax, dword [sym.imp.dac170.bpl__Clrclasses_Marshal_]
call sub.dac170.bpl__Clrclasses_Marshal_FreeHGlobal_qqrpv
mov edx, dword [ebp - 0x24]
mov eax, dword [sym.imp.dac170.bpl__Clrclasses_Marshal_]
call sub.dac170.bpl__Clrclasses_Marshal_FreeHGlobal_qqrpv
mov eax, dword [ebp - 0x18]
call sub.rtl170.bpl__System_TObject_Free_qqrv
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463c42
lea eax, [ebp - 0x38]
call sub.rtl170.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x34]
call sub.rtl170.bpl__System__UStrClr_qqrpv
lea eax, [ebp - 0x10]
mov edx, 4
call sub.rtl170.bpl__System__LStrArrayClr_qqrpvi
ret