Function at 0x7c80dc
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x140], ebx
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x12d]
mov edx, dword [0x4136d4]
call sub.rtl120.bpl__System__InitializeRecord_qqrpvt1
lea eax, [ebp - 0x90]
mov edx, dword [0x413640]
call sub.rtl120.bpl__System__InitializeRecord_qqrpvt1
xor eax, eax
push ebp
push 0x7c83b5
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004118c0
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [0x807134]
mov eax, dword [eax]
call fcn.0042ad60
mov ecx, dword [ebp - 0x134]
mov dl, 1
mov eax, dword [0x6eb0a0]
call sub.vcl120.bpl__Forms_TCustomForm__bctr_qqrp18Classes_TComponent
mov edx, dword [0x80679c]
mov dword [edx], eax
xor ebx, ebx
push 0
mov eax, dword [0x80679c]
mov eax, dword [eax]
add eax, 0x3e4
mov ecx, 1
mov edx, dword [0x6eaff4]
call sub.rtl120.bpl__System__DynArraySetLength_qqrv
add esp, 4
mov eax, dword [0x806520]
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
mov eax, dword [0x80679c]
mov eax, dword [eax]
add eax, 0x3e4
mov ecx, 1
mov edx, dword [0x6eaff4]
call sub.rtl120.bpl__System__DynArraySetLength_qqrv
add esp, 4
mov eax, dword [0x806520]
mov eax, dword [eax]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x7c8267
inc esi
xor edi, edi
lea eax, [ebp - 0x12d]
mov edx, dword [0x4136d4]
call sub.rtl120.bpl__System__FinalizeRecord_qqrpvt1
mov ecx, eax
mov eax, dword [0x806520]
mov eax, dword [eax]
mov edx, edi
call fcn.0052c084
test al, al
je 0x7c825f
cmp byte [ebp - 0xa0], 0
je 0x7c825f
cmp dword [ebp - 0xa4], 0xffffffff
je 0x7c825f
lea eax, [ebp - 0x90]
mov edx, dword [0x413640]
call sub.rtl120.bpl__System__FinalizeRecord_qqrpvt1
mov ecx, eax
mov eax, dword [0x806654]
mov eax, dword [eax]
mov edx, dword [ebp - 0xa4]
call fcn.0052c040
test al, al
je 0x7c825f
mov eax, dword [ebp - 0x44]
and eax, 0x2000000
cmp eax, 0x2000000
je 0x7c825f
imul eax, ebx, 0x9d
mov edx, dword [0x80679c]
mov edx, dword [edx]
mov edx, dword [edx + 0x3e4]
lea eax, [edx + eax]
lea edx, [ebp - 0x12d]
mov ecx, dword [0x4136d4]
call sub.rtl120.bpl__System__CopyRecord_qqrv
inc ebx
inc edi
dec esi
jne 0x7c81c7
push ebx
mov eax, dword [0x80679c]
mov eax, dword [eax]
add eax, 0x3e4
mov ecx, 1
mov edx, dword [0x6eaff4]
call sub.rtl120.bpl__System__DynArraySetLength_qqrv
add esp, 4
lea eax, [ebp - 0x140]
push eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x158], eax
mov byte [ebp - 0x154], 0
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x150], eax
mov byte [ebp - 0x14c], 0
mov dword [ebp - 0x148], ebx
mov byte [ebp - 0x144], 0
lea edx, [ebp - 0x158]
mov ecx, 2
mov eax, 0x7c83d0
call fcn.00411984
mov eax, dword [ebp - 0x140]
call fcn.007a5960
mov eax, dword [0x80679c]
mov eax, dword [eax]
mov edx, dword [ebp - 0x138]
mov dword [eax + 0x3d8], edx
mov eax, dword [0x80679c]
mov eax, dword [eax]
mov edx, dword [ebp - 0x13c]
mov dword [eax + 0x3dc], edx
mov eax, dword [0x80679c]
mov eax, dword [eax]
mov byte [eax + 0x3e0], 1
mov eax, dword [0x807270]
cmp dword [eax], 0
je 0x7c832b
mov eax, dword [0x807270]
mov eax, dword [eax]
call sub.vcl120.bpl__Forms_TCustomForm_Close_qqrv
mov eax, dword [ebp - 0x134]
mov eax, dword [eax + 0x380]
call fcn.0056819c
push 0x7c8420
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [0x80679c]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + pe_nt_image_headers32]
push 0x7c846c
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [ebp - 0x134]
mov eax, dword [eax + 0x380]
call fcn.0056828c
mov eax, dword [0x80679c]
call sub.rtl120.bpl__Sysutils_FreeAndNil_qqrpv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7c83bc
lea eax, [ebp - 0x140]
call sub.rtl120.bpl__System__UStrClr_qqrpv
lea eax, [ebp - 0x12d]
mov edx, dword [0x4136d4]
call sub.rtl120.bpl__System__FinalizeRecord_qqrpvt1
lea eax, [ebp - 0x90]
mov edx, dword [0x413640]
call sub.rtl120.bpl__System__FinalizeRecord_qqrpvt1
ret