Function at 0x45f024
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
mov byte [ebp - 0x10], dl
test dl, dl
jle 0x45f036
call fcn.00499fdc
mov byte [ebp - 0x32], cl
mov byte [ebp - 0x31], dl
mov dword [ebp - 4], eax
mov eax, 0x4d565c
call fcn.00497a7c
mov dword [ebp - 0x14], 3
lea edx, [ebp + 0x14]
lea eax, [ebp + 0x14]
call fcn.00497c08
inc dword [ebp - 0x14]
mov word [ebp - 0x20], 8
lea edx, [ebp + 0x10]
lea eax, [ebp + 0x10]
call fcn.00497c08
inc dword [ebp - 0x14]
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.00497c08
inc dword [ebp - 0x14]
mov word [ebp - 0x20], 0x14
mov cl, byte [ebp - 0x32]
xor edx, edx
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__Classes_TThread__bctr_qqro
add dword [ebp - 0x14], 2
mov eax, dword [ebp - 4]
add eax, 0x34
call fcn.00402a14
inc dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00402a14
inc dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add eax, 0x50
call fcn.00402a14
inc dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov byte [edx + 0x4c], 0
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x4d], 0
mov eax, dword [sym.imp.vcl60.bpl__Forms_Application]
mov ecx, dword [eax]
mov dl, 1
mov eax, dword [sym.imp.Indy60.bpl__Idftp_TIdFTP_]
call sub.Indy60.bpl__Idftp_TIdFTP__bctr_qqrp18Classes_TComponent
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x30]
mov edx, dword [ebp + 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x88]
lea edx, [ebp + 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
add eax, 0xe0
call fcn.00497e50
lea edx, [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x30]
add eax, 0xd8
call fcn.00497e50
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x30]
mov al, byte [ebp + 8]
mov byte [ecx + 0xf4], al
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x30]
mov dword [ebp - 0x3c], 0x45f470
mov eax, dword [ebp - 4]
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 0x40], edx
mov edx, dword [ebp - 0x38]
mov dword [ecx + 0x44], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x44], 0x45f434
mov edx, dword [ebp - 4]
mov dword [ebp - 0x40], edx
mov ecx, dword [ebp - 0x44]
mov dword [eax + 0x38], ecx
mov ecx, dword [ebp - 0x40]
mov dword [eax + 0x3c], ecx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x30]
mov dword [ebp - 0x4c], 0x45f49c
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp - 0x4c]
mov dword [edx + 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [edx + 0x4c], eax
mov word [ebp - 0x20], 0x20
mov edx, 0x4d55fd
lea eax, [ebp - 8]
call fcn.00497bd0
inc dword [ebp - 0x14]
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
add eax, 0x34
call fcn.00497e50
dec dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00497e20
mov word [ebp - 0x20], 0x2c
mov edx, 0x4d55fe
lea eax, [ebp - 0xc]
call fcn.00497bd0
inc dword [ebp - 0x14]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00497e50
dec dword [ebp - 0x14]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00497e20
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [ecx + 0x3c], eax
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [edx + 0x40], ecx
mov eax, dword [sym.imp.vcl60.bpl__Forms_Application]
mov ecx, dword [eax]
mov dl, 1
mov eax, dword [sym.imp.vcl60.bpl__Extctrls_TTimer_]
call sub.vcl60.bpl__Extctrls_TTimer__bctr_qqrp18Classes_TComponent
mov edx, dword [ebp - 4]
mov dword [edx + 0x48], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x48]
xor edx, edx
call sub.vcl60.bpl__Extctrls_TTimer_SetEnabled_qqro
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x48]
mov edx, 0x3e8
call sub.vcl60.bpl__Extctrls_TTimer_SetInterval_qqrui
mov dword [ebp - 0x54], 0x45f4bc
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x50], ecx
lea eax, [ebp - 0x54]
push dword [eax + 4]
push dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x48]
call sub.vcl60.bpl__Extctrls_TTimer_SetOnTimer_qqrynpqqrp14System_TObject_v
dec dword [ebp - 0x14]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.00497e20
dec dword [ebp - 0x14]
lea eax, [ebp + 0x10]
mov edx, 2
call fcn.00497e20
dec dword [ebp - 0x14]
lea eax, [ebp + 0x14]
mov edx, 2
call fcn.00497e20
mov ecx, dword [ebp - 0x30]
mov dword fs:[0], ecx
mov eax, dword [ebp - 4]
cmp byte [ebp - 0x31], 0
je 0x45f2a1
call fcn.00499fe9
mov esp, ebp
pop ebp
ret 0x10