Function at 0x7c24c4
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x7c28a1
push dword fs:[eax]
mov dword fs:[eax], esp
cmp esi, 0xffffffff
jne 0x7c25f5
mov eax, dword [0x8067b4]
cmp dword [eax], 0
je 0x7c251c
mov eax, dword [0x8067b4]
mov eax, dword [eax]
or edx, 0xffffffff
call fcn.00557514
push 0
mov eax, dword [0x8067b4]
mov eax, dword [eax]
call fcn.0055778c
mov eax, dword [0x806ad8]
cmp dword [eax], 0
je 0x7c2535
mov eax, dword [0x806ad8]
mov eax, dword [eax]
or edx, 0xffffffff
call fcn.00557514
xor edx, edx
mov eax, dword [ebx + 0x3c0]
call fcn.005590d0
xor edx, edx
mov eax, dword [ebx + 0x3c0]
call fcn.00559024
mov eax, dword [0x8073e0]
cmp dword [eax], 0
je 0x7c2567
mov eax, dword [0x8073e0]
mov eax, dword [eax]
xor edx, edx
call fcn.00557514
mov eax, dword [0x807200]
cmp dword [eax], 0
je 0x7c257f
mov eax, dword [0x807200]
mov eax, dword [eax]
xor edx, edx
call fcn.00557514
mov edx, dword [ebx + 0x4b4]
mov eax, dword [ebx + 0x3bc]
call fcn.00559024
mov eax, dword [0x807180]
cmp dword [eax], 0
je 0x7c25a8
mov eax, dword [0x807180]
mov eax, dword [eax]
xor edx, edx
call fcn.005575e8
xor edx, edx
mov eax, dword [ebx + 0x4b8]
call sub.vcl120.bpl__Controls_TControl_SetText_qqrx20System_UnicodeString
mov eax, dword [sym.imp.rtl120.bpl__Sysutils_Win32MajorVersion]
cmp dword [eax], 6
jl 0x7c25e2
cmp dword [ebx + 0x66c], 0
je 0x7c25e2
xor edx, edx
mov eax, dword [ebx + 0x66c]
call fcn.0052d23c
xor edx, edx
mov eax, dword [ebx + 0x66c]
call fcn.0052d1e8
mov eax, dword [ebx + 0x4b4]
mov edx, dword [eax]
call dword [edx + 0x8c]
jmp 0x7c287e
mov eax, dword [0x8067b4]
cmp dword [eax], 0
je 0x7c260d
mov eax, dword [0x8067b4]
mov eax, dword [eax]
xor edx, edx
call fcn.00557514
mov eax, dword [0x806868]
cmp dword [eax], 0
je 0x7c2625
mov eax, dword [0x806868]
mov eax, dword [eax]
xor edx, edx
call fcn.00557514
mov eax, dword [0x806ad8]
cmp dword [eax], 0
je 0x7c263d
mov eax, dword [0x806ad8]
mov eax, dword [eax]
xor edx, edx
call fcn.00557514
test esi, esi
jne 0x7c272d
push 0x7c28b0
call sub.kernel32.dll_OutputDebugStringW
lea ecx, [ebp - 0x10]
mov eax, dword [0x806a24]
mov eax, dword [eax]
mov edx, 0x7c28cc
call fcn.00584a64
mov edx, dword [ebp - 0x10]
mov eax, dword [0x8068a4]
mov eax, dword [eax]
call fcn.005575e8
mov eax, dword [0x806ad8]
cmp dword [eax], 0
je 0x7c268a
push 0
mov eax, dword [0x806ad8]
mov eax, dword [eax]
call fcn.005577fc
mov eax, dword [0x806acc]
cmp dword [eax], 0
je 0x7c26b0
push 0
mov eax, dword [0x806acc]
mov eax, dword [eax]
call fcn.0055778c
mov eax, dword [0x806acc]
mov eax, dword [eax]
xor edx, edx
call fcn.00557514
mov eax, dword [0x807180]
cmp dword [eax], 0
je 0x7c26c8
mov eax, dword [0x807180]
mov eax, dword [eax]
xor edx, edx
call fcn.005575e8
lea ecx, [ebp - 0x14]
mov eax, dword [0x806a24]
mov eax, dword [eax]
mov edx, 0x7c28e8
call fcn.00584a64
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x600]
call sub.vcl120.bpl__Controls_TControl_SetText_qqrx20System_UnicodeString
mov eax, dword [sym.imp.rtl120.bpl__Sysutils_Win32MajorVersion]
cmp dword [eax], 6
jl 0x7c271a
cmp dword [ebx + 0x66c], 0
je 0x7c271a
mov edx, 1
mov eax, dword [ebx + 0x66c]
call fcn.0052d23c
mov dl, 1
mov eax, dword [ebx + 0x66c]
call fcn.0052d1e8
mov eax, dword [ebx + 0x4b4]
mov edx, dword [eax]
call dword [edx + 0x8c]
jmp 0x7c287e
cmp esi, 1
jge 0x7c2737
mov esi, 1
cmp esi, 0x64
jle 0x7c2741
mov esi, 0x64
mov eax, dword [ebx + 0x4b4]
mov dword [eax + 0xc], esi
mov edx, edi
mov eax, dword [ebx + 0x4b8]
call sub.vcl120.bpl__Controls_TControl_SetText_qqrx20System_UnicodeString
mov dword [ebp - 0x18], esi
fild dword [ebp - 0x18]
fdiv dword [0x7c290c]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [0x8067d8]
mov cl, 1
mov edx, 3
call fcn.00555080
fstp dword [ebp - 4]
wait
fld dword [ebp - 4]
fmul dword [0x7c2910]
fstp dword [ebp - 8]
wait
mov eax, dword [0x806ad8]
cmp dword [eax], 0
je 0x7c27f7
fld dword [ebp - 8]
mov eax, dword [0x806ad8]
mov eax, dword [eax]
fsub dword [eax + 0xac]
fstp dword [ebp - 0xc]
wait
fld xword [0x7c2914]
fdivr dword [ebp - 0xc]
call sub.rtl120.bpl__System__TRUNC_qqrv
mov edi, eax
dec edi
test edi, edi
jl 0x7c27f7
inc edi
fld xword [0x7c2914]
mov eax, dword [0x806ad8]
mov eax, dword [eax]
fadd dword [eax + 0xac]
add esp, 0xfffffffc
fstp dword [esp]
wait
mov eax, dword [0x806ad8]
mov eax, dword [eax]
call fcn.005577fc
mov eax, dword [ebx + 0x4b4]
mov edx, dword [eax]
call dword [edx + 0x8c]
dec edi
jne 0x7c27c0
mov eax, dword [0x807180]
cmp dword [eax], 0
je 0x7c2841
lea eax, [ebp - 0x1c]
push eax
fld dword [ebp - 4]
fmul dword [0x7c290c]
call sub.rtl120.bpl__System__ROUND_qqrv
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x10
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x7c292c
call fcn.00411984
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x807180]
mov eax, dword [eax]
call fcn.005575e8
mov eax, dword [sym.imp.rtl120.bpl__Sysutils_Win32MajorVersion]
cmp dword [eax], 6
jl 0x7c2872
cmp dword [ebx + 0x66c], 0
je 0x7c2872
test esi, esi
jle 0x7c2872
mov dl, 1
mov eax, dword [ebx + 0x66c]
call fcn.0052d1e8
mov edx, esi
mov eax, dword [ebx + 0x66c]
call fcn.0052d23c
mov eax, dword [sym.imp.vcl120.bpl__Forms_Application]
mov eax, dword [eax]
call sub.vcl120.bpl__Forms_TApplication_ProcessMessages_qqrv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7c28a8
lea eax, [ebp - 0x1c]
call sub.rtl120.bpl__System__UStrClr_qqrpv
lea eax, [ebp - 0x14]
mov edx, 2
call sub.rtl120.bpl__System__UStrArrayClr_qqrpvi
ret