Function at 0x46e10c
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
mov byte [ebp - 0x10], dl
test dl, dl
jle 0x46e11e
call fcn.00591784
mov byte [ebp - 0x32], cl
mov byte [ebp - 0x31], dl
mov dword [ebp - 4], eax
mov eax, 0x5c9a44
call fcn.0057c5c8
mov dword [ebp - 0x14], 3
lea edx, [ebp + 0x14]
lea eax, [ebp + 0x14]
call fcn.0058f864
inc dword [ebp - 0x14]
mov word [ebp - 0x20], 8
lea edx, [ebp + 0x10]
lea eax, [ebp + 0x10]
call fcn.0058f864
inc dword [ebp - 0x14]
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.0058f864
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.004025f4
inc dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004025f4
inc dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add eax, 0x50
call fcn.004025f4
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.0058fb34
lea edx, [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x30]
add eax, 0xd8
call fcn.0058fb34
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], 0x46e558
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], 0x46e51c
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], 0x46e584
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, 0x5c99e5
lea eax, [ebp - 8]
call fcn.0058f82c
inc dword [ebp - 0x14]
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
add eax, 0x34
call fcn.0058fb34
dec dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0058fb04
mov word [ebp - 0x20], 0x2c
mov edx, 0x5c99e6
lea eax, [ebp - 0xc]
call fcn.0058f82c
inc dword [ebp - 0x14]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0058fb34
dec dword [ebp - 0x14]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0058fb04
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], 0x46e5a4
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.0058fb04
dec dword [ebp - 0x14]
lea eax, [ebp + 0x10]
mov edx, 2
call fcn.0058fb04
dec dword [ebp - 0x14]
lea eax, [ebp + 0x14]
mov edx, 2
call fcn.0058fb04
mov ecx, dword [ebp - 0x30]
mov dword fs:[0], ecx
mov eax, dword [ebp - 4]
cmp byte [ebp - 0x31], 0
je 0x46e389
call fcn.00591791
mov esp, ebp
pop ebp
ret 0x10