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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff2c
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x55aba4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x48]
mov eax, dword [eax + 0x1a0]
call sub.vcl120.bpl__Graphics_TCanvas_GetHandle_qqrv
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0x10], eax
mov dl, 1
mov eax, dword [sym.imp.vcl120.bpl__Graphics_TCanvas_]
call sub.vcl120.bpl__Graphics_TCanvas__bctr_qqrv
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call sub.vcl120.bpl__Graphics_TCanvas_SetHandle_qqrp5HDC__
mov dl, 1
mov eax, dword [sym.imp.vcl120.bpl__Graphics_TBitmap_]
call sub.vcl120.bpl__Graphics_TBitmap__bctr_qqrv
mov dword [ebp - 0x18], eax
mov dl, 1
mov eax, dword [0x42ceb8]
call fcn.00433978
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x8c]
call sub.rtl120.bpl__Classes_TCollection_GetCount_qqrv
dec eax
test eax, eax
jl 0x55ab5f
inc eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x8c]
mov edx, dword [ebp - 0x44]
call fcn.00558c68
mov ebx, eax
test ebx, ebx
je 0x55ab53
cmp byte [ebx + 0x8c], 0
je 0x55ab53
mov eax, dword [ebx + 0xd0]
mov esi, dword [eax + 0xc]
test esi, esi
je 0x55a89f
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
jne 0x55a89f
mov eax, dword [ebx + 0xd0]
mov esi, dword [eax + 0xc]
xor edx, edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 8]
xor edx, edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp byte [ebx + 0x8c], 0
je 0x55ab53
cmp byte [ebx + 0x90], 0
je 0x55a487
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x48]
mov ecx, dword [eax]
call dword [ecx + 0x44]
jmp 0x55a4a4
mov eax, dword [ebx + 0x2c]
add eax, dword [ebx + 0x3c]
push eax
lea eax, [ebp - 0x58]
push eax
mov edi, dword [ebx + 0x24]
mov ecx, edi
add ecx, dword [ebx + 0x34]
mov edx, dword [ebx + 0x2c]
mov eax, edi
call sub.rtl120.bpl__Classes_Rect_qqriiii
lea eax, [ebp - 0x58]
push eax
call sub.user32.dll_IsRectEmpty
test eax, eax
jne 0x55ab53
lea edx, [ebp - 0xb0]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x48]
mov ecx, dword [eax]
call dword [ecx + 0x44]
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x68]
push eax
call sub.user32.dll_IntersectRect
lea eax, [ebp - 0x68]
push eax
call sub.user32.dll_IsRectEmpty
test eax, eax
jne 0x55ab53
cmp byte [ebx + 0x90], 0
jne 0x55a50b
cmp byte [ebx + 0x8e], 0
je 0x55a50b
cmp word [ebx + 0x92], 0
jne 0x55a50b
xor eax, eax
jmp 0x55a50d
mov al, 1
mov byte [ebp - 0x3d], al
movzx eax, word [ebx + 0x92]
test ax, ax
je 0x55a52e
movsx edx, word [ebx + 0x92]
push edx
push edx
lea eax, [ebp - 0x58]
push eax
call sub.user32.dll_InflateRect
cmp byte [ebx + 0x98], 0
jbe 0x55a56c
mov eax, dword [ebx + 0xe8]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
je 0x55a55a
movzx edx, byte [ebx + 0x98]
lea eax, [ebx + 0xe4]
call fcn.004e787c
jmp 0x55a56c
movzx edx, byte [ebx + 0x98]
lea eax, [ebx + 0xe8]
call fcn.004e7914
fld dword [ebx + 0x9c]
fcomp dword [0x55abb4]
wait
fnstsw ax
sahf
je 0x55a86b
mov eax, dword [ebx + 0xe8]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
je 0x55a5a4
mov edx, dword [ebx + 0xe4]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, dword [ebp - 0x18]
jmp 0x55a5b5
mov edx, dword [ebx + 0xe8]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [sym.imp.vcl120.bpl__Graphics_TBitmap_]
call sub.vcl120.bpl__Graphics_TBitmap__bctr_qqrv
mov dword [ebp - 0x20], eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, eax
mov eax, dword [ebp - 0x20]
pop ecx
mov edi, dword [eax]
call dword [edi + 0x6c]
mov edx, esi
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 8]
mov dl, 1
mov eax, dword [sym.imp.vcl120.bpl__Graphics_TBitmap_]
call sub.vcl120.bpl__Graphics_TBitmap__bctr_qqrv
mov dword [ebp - 0x24], eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, eax
mov eax, dword [ebp - 0x24]
pop ecx
mov edi, dword [eax]
call dword [edi + 0x6c]
fld xword [0x55abb8]
fmul dword [ebx + 0x9c]
fdiv dword [0x55abc4]
fstp dword [ebp - 0x28]
wait
fld dword [ebp - 0x28]
add esp, 0xfffffff4
fstp xword [esp]
wait
call sub.rtl120.bpl__System_Sin_qqrxg
fstp dword [ebp - 0x2c]
wait
fld dword [ebp - 0x28]
add esp, 0xfffffff4
fstp xword [esp]
wait
call sub.rtl120.bpl__System_Cos_qqrxg
fstp dword [ebp - 0x30]
wait
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [ebp - 0xb4], eax
fild dword [ebp - 0xb4]
fstp xword [ebp - 0xc0]
wait
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [ebp - 0xc4], eax
fild dword [ebp - 0xc4]
fmul dword [ebp - 0x30]
fld xword [ebp - 0xc0]
fsubrp st(1)
fstp xword [ebp - 0xd0]
wait
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0xd4], eax
fild dword [ebp - 0xd4]
fmul dword [ebp - 0x2c]
fld xword [ebp - 0xd0]
faddp st(1)
fdiv dword [0x55abc8]
fstp dword [ebp - 0x34]
wait
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0xb4], eax
fild dword [ebp - 0xb4]
fstp xword [ebp - 0xc0]
wait
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [ebp - 0xc4], eax
fild dword [ebp - 0xc4]
fmul dword [ebp - 0x2c]
fld xword [ebp - 0xc0]
fsubrp st(1)
fstp xword [ebp - 0xd0]
wait
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0xd4], eax
fild dword [ebp - 0xd4]
fmul dword [ebp - 0x30]
fld xword [ebp - 0xd0]
fsubrp st(1)
fdiv dword [0x55abc8]
fstp dword [ebp - 0x38]
wait
fld dword [ebp - 0x34]
call sub.rtl120.bpl__System__ROUND_qqrv
mov dword [ebp - 0x80], eax
fld dword [ebp - 0x38]
call sub.rtl120.bpl__System__ROUND_qqrv
mov dword [ebp - 0x7c], eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [ebp - 0xb4], eax
fild dword [ebp - 0xb4]
fmul dword [ebp - 0x30]
fadd dword [ebp - 0x34]
call sub.rtl120.bpl__System__ROUND_qqrv
mov dword [ebp - 0x78], eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [ebp - 0xb4], eax
fild dword [ebp - 0xb4]
fmul dword [ebp - 0x2c]
fadd dword [ebp - 0x38]
call sub.rtl120.bpl__System__ROUND_qqrv
mov dword [ebp - 0x74], eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0xb4], eax
fild dword [ebp - 0xb4]
fmul dword [ebp - 0x2c]
fsubr dword [ebp - 0x34]
call sub.rtl120.bpl__System__ROUND_qqrv
mov dword [ebp - 0x70], eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0xb4], eax
fild dword [ebp - 0xb4]
fmul dword [ebp - 0x30]
fadd dword [ebp - 0x38]
call sub.rtl120.bpl__System__ROUND_qqrv
mov dword [ebp - 0x6c], eax
push 0
push 0
push 0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
push 0
push 0
mov eax, dword [ebp - 0x20]
call sub.vcl120.bpl__Graphics_TBitmap_GetCanvas_qqrv
call sub.vcl120.bpl__Graphics_TCanvas_GetHandle_qqrv
push eax
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x24]
call sub.vcl120.bpl__Graphics_TBitmap_GetCanvas_qqrv
call sub.vcl120.bpl__Graphics_TCanvas_GetHandle_qqrv
push eax
call sub.gdi32.dll_PlgBlt
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
jne 0x55a83a
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x128]
xor ecx, ecx
xor edx, edx
call fcn.0043395c
jmp 0x55a85b
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
jne 0x55a85b
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x18]
call sub.vcl120.bpl__Graphics_TBitmap_GetCanvas_qqrv
xor ecx, ecx
xor edx, edx
call sub.vcl120.bpl__Graphics_TCanvas_Draw_qqriip17Graphics_TGraphic
mov eax, dword [ebp - 0x20]
call sub.rtl120.bpl__System_TObject_Free_qqrv
mov eax, dword [ebp - 0x24]
call sub.rtl120.bpl__System_TObject_Free_qqrv
cmp byte [ebp - 0x3d], 0
je 0x55a888
movzx eax, byte [ebx + 0x96]
push eax
lea edx, [ebp - 0x58]
mov ecx, esi
mov eax, dword [ebp - 0x14]
call fcn.0055b114
jmp 0x55a89f
push esi
movzx eax, byte [ebx + 0x96]
push eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x14]
call sub.vcl120.bpl__Graphics_TCanvas_Draw_qqriip17Graphics_TGraphicuc
cmp dword [ebx + 0x44], 0
je 0x55ab53
cmp dword [ebx + 0x70], 0
je 0x55ab53
cmp dword [ebx + 0x78], 0
je 0x55ab53
lea eax, [ebp - 4]
mov edx, dword [ebx + 0x44]
call sub.rtl120.bpl__System__UStrLAsg_qqrr20System_UnicodeStringx20System_UnicodeString
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
mov edx, dword [ebx + 0x84]
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, dword [0x55abcc]
movzx eax, byte [ebx + 0x4c]
sub al, 1
jb 0x55a8ef
je 0x55a8fa
dec al
je 0x55a905
jmp 0x55a90e
mov eax, dword [0x55abd0]
or eax, esi
mov esi, eax
jmp 0x55a90e
mov eax, dword [0x55abd4]
or eax, esi
mov esi, eax
jmp 0x55a90e
mov eax, dword [0x55abd8]
or eax, esi
mov esi, eax
movzx eax, byte [ebx + 0x4e]
sub al, 1
jb 0x55a91e
je 0x55a929
dec al
je 0x55a934
jmp 0x55a93d
mov eax, dword [0x55abdc]
or eax, esi
mov esi, eax
jmp 0x55a93d
mov eax, dword [0x55abe0]
or eax, esi
mov esi, eax
jmp 0x55a93d
mov eax, dword [0x55abe4]
or eax, esi
mov esi, eax
movzx eax, byte [ebx + 0x80]
sub al, 1
jb 0x55a95f
jne 0x55a970
mov eax, dword [0x55abe8]
or eax, esi
mov edx, dword [0x55abec]
not edx
and edx, eax
mov esi, edx
jmp 0x55a970
mov eax, dword [0x55abe8]
not eax
and eax, esi
or eax, dword [0x55abec]
mov esi, eax
movzx eax, byte [ebx + 0x82]
sub al, 1
jb 0x55a987
je 0x55a994
dec al
je 0x55a9aa
dec al
je 0x55a99f
jmp 0x55a9b3
mov eax, dword [0x55abf0]
not eax
and eax, esi
mov esi, eax
jmp 0x55a9b3
mov eax, dword [0x55abf4]
or eax, esi
mov esi, eax
jmp 0x55a9b3
mov eax, dword [0x55abf8]
or eax, esi
mov esi, eax
jmp 0x55a9b3
mov eax, dword [0x55abf8]
or eax, esi
mov esi, eax
mov edi, dword [ebx + 0x70]
mov eax, dword [ebx + 0x78]
mov dword [ebp - 0x3c], eax
test edi, edi
jge 0x55a9cc
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x48]
mov edi, dword [eax + 0x48]
sub edi, dword [ebx + 0x60]
cmp dword [ebp - 0x3c], 0
jge 0x55a9e1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x48]
mov eax, dword [eax + 0x4c]
sub eax, dword [ebx + 0x68]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x90]
push eax
mov ecx, edi
mov edx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x60]
call sub.rtl120.bpl__Classes_Bounds_qqriiii
mov eax, dword [ebx + 0x58]
push eax
mov eax, dword [ebx + 0x50]
push eax
lea eax, [ebp - 0x90]
push eax
call sub.user32.dll_OffsetRect
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
mov dl, 1
call sub.vcl120.bpl__Graphics_TBrush_SetStyle_qqr20Graphics_TBrushStyle
push esi
lea ecx, [ebp - 4]
lea edx, [ebp - 0x90]
mov eax, dword [ebp - 0x14]
call sub.vcl120.bpl__Graphics_TCanvas_TextRect_qqrr11Types_TRectr20System_UnicodeString50System__Set_t21Graphics_TTextFormats_iuc_0
push esi
lea esi, [ebp - 0x90]
lea edi, [ebp - 0xa0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [0x55abfc]
or eax, esi
push eax
lea ecx, [ebp - 4]
lea edx, [ebp - 0xa0]
mov eax, dword [ebp - 0x14]
call sub.vcl120.bpl__Graphics_TCanvas_TextRect_qqrr11Types_TRectr20System_UnicodeString50System__Set_t21Graphics_TTextFormats_iuc_0
mov eax, dword [ebp - 0x8c]
neg eax
push eax
mov eax, dword [ebp - 0x90]
neg eax
push eax
lea eax, [ebp - 0x90]
push eax
call sub.user32.dll_OffsetRect
mov eax, dword [ebp - 0x9c]
neg eax
push eax
mov eax, dword [ebp - 0xa0]
neg eax
push eax
lea eax, [ebp - 0xa0]
push eax
call sub.user32.dll_OffsetRect
movzx eax, byte [ebx + 0x4c]
cmp al, 2
jne 0x55aabf
push 0
mov eax, dword [ebp - 0x88]
sub eax, dword [ebp - 0x98]
sar eax, 1
jns 0x55aab0
adc eax, 0
push eax
lea eax, [ebp - 0xa0]
push eax
call sub.user32.dll_OffsetRect
jmp 0x55aade
cmp al, 1
jne 0x55aade
push 0
mov eax, dword [ebp - 0x88]
sub eax, dword [ebp - 0x98]
push eax
lea eax, [ebp - 0xa0]
push eax
call sub.user32.dll_OffsetRect
movzx eax, byte [ebx + 0x4e]
cmp al, 2
jne 0x55ab0a
mov eax, dword [ebp - 0x84]
sub eax, dword [ebp - 0x94]
sar eax, 1
jns 0x55aaf9
adc eax, 0
push eax
push 0
lea eax, [ebp - 0xa0]
push eax
call sub.user32.dll_OffsetRect
jmp 0x55ab29
cmp al, 1
jne 0x55ab29
mov eax, dword [ebp - 0x84]
sub eax, dword [ebp - 0x94]
push eax
push 0
lea eax, [ebp - 0xa0]
push eax
call sub.user32.dll_OffsetRect
mov eax, dword [ebx + 0x68]
add eax, dword [ebx + 0x58]
push eax
mov eax, dword [ebx + 0x60]
add eax, dword [ebx + 0x50]
push eax
lea eax, [ebp - 0xa0]
push eax
call sub.user32.dll_OffsetRect
lea esi, [ebp - 0xa0]
lea edi, [ebx + 0xf0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
inc dword [ebp - 0x44]
dec dword [ebp - 0x48]
jne 0x55a3fc
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_RestoreDC
xor edx, edx
mov eax, dword [ebp - 0x14]
call sub.vcl120.bpl__Graphics_TCanvas_SetHandle_qqrp5HDC__
mov eax, dword [ebp - 0x14]
call sub.rtl120.bpl__System_TObject_Free_qqrv
mov eax, dword [ebp - 0x18]
call sub.rtl120.bpl__System_TObject_Free_qqrv
mov eax, dword [ebp - 0x1c]
call sub.rtl120.bpl__System_TObject_Free_qqrv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55abab
lea eax, [ebp - 4]
call sub.rtl120.bpl__System__UStrClr_qqrpv
ret